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 $_
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 $_