Get in touch

Send an email to: lammers@gmail.com.
Or find me online at: Github, X

Last argument of the previous command

The $_ variable can be used to refer to the last argument of the previously executed command.

For example: Go to the same directory that was used for the ls command

$ ls /home/user/path/to/directory
$ cd $_