TIL - Accessing arguments from the last command in Shell
The last command’s last argument can be accessed with the following command -
# Example for dropping and creating a PostgreSQL db.
dropdb test_database
createdb $_
The last command’s last argument can be accessed with the following command -
# Example for dropping and creating a PostgreSQL db.
dropdb test_database
createdb $_