User Tools

Site Tools


blog:bash_use_alt-._to_copy_last_argument

bash use ALT-. to copy last argument

Richard Stallman - founder of the GNU Project

“I recently learned about the M-. command in Bash (use Escape followed by a full stop if you don’t have a Meta key), which copies the last argument from the previous command.”

Note: Meta key is ALT on my Ubuntu machine.

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
 __  __   __  ___   __ __   ____   __ __
 \ \/ /  /  |/  /  / // /  / __/  / // /
  \  /  / /|_/ /  / _  /  / _/   / _  / 
  /_/  /_/  /_/  /_//_/  /_/    /_//_/
 
blog/bash_use_alt-._to_copy_last_argument.txt · Last modified: 2009-11-02 07:15 by brb