Question: When running commands, sometimes maybe you need to run a command with the argument from the last command. How can you do this?

Of course, excepting the use of the arrow keys and `Del` keys: `↑``←``←``←`...`←``→``→``Del``Del``Del`...`Del``<new_command>`.

Answer: 
There are a few shortcuts if you want all of the arguments from the previous command, or just the last argument.

* For all of the arguments: `<command> !*`
* For just the last argument:
`<command> !$`

Examples:

```
ls foo/ bar/
ls !* # Gives the results of ls foo/ bar/

ls foo/ bar/
ls !$ # Gives the results of ls bar/

```

If you want a single argument from a list of arguments from the previous command, you can use `<command> !!:<argNumber>`

Example:

```
ls foo/ bar/ baz/
ls !!:2 # Gives the results of ls bar/
ls foo/ bar/ baz/
ls !!:1 # Gives the results of ls foo/

```
Mentioned `!*` and `!$` is a good thing, but when you need to do a little editing readline shortcuts come to help!

For instance, instead of the countless `↑``←``←``←`...`←``→``→``Del``Del``Del`...`Del` you can just press `↑`
`Ctrl-a`(jump to the start of the line)
`Alt+d`(delete to the end of the word)

For more info `man readline` and search for `Default key bindings`.