Today I Learned

hashrocket A Hashrocket project

Access last argument in a shell

You can access the last command's last argument with $_

Example:

> echo '🍟 I Eat Food'
🍟 I Eat Food

> echo $_
🍟 I Eat Food

Example Two:

> dropdb my_database
> createdb $_
See More #command-line TILs