Selling cookie info to third-parties is a classic example of you can make money without doing evil.
RSS

Alt + .

2005/01/26 filed under /linux

I'll just drop this little info here, so I don't have to figure it out everytime I'm on a new machine again.

Joffie put this little snippet of info on his hints page. To use "alt + ." in a xterm, add this to .Xdefaults

xterm*eightBitInput: false

And / or put the following in /etc/inputrc:

set convert-meta on
Posted by: B10m | permanent link | comments (2)

Comments

B10m wrote at 2005-01-28 13:35:

It's more a note-to-self type of entry. But ok, in an xterm, when pressing Alt+., the last argument is returned. So, for example, when your previous command was


less /var/log/somelog

and your next command will be:


sed -e 's/some/thing/i' /var/log/somelog

You could just type: sed -e 's/some/thing/i' [ALT]+.

BOK wrote at 2005-01-27 23:29:

Call me stupid, but I don't think a lot of (l)users will know what teh EXACT USE of alt + . will do...

Please share it.

Comments are closed for this story.
Trackbacks are closed for this story.
return-member