Get the Last Argument of the Last Run Command in Your Shell
URL:
https://youtu.be/vt-IvdFP5ZAChannel/Host:
nick-janetakisPublish Date:
2021.12.07Reviewed Date:
2021.12.07
$_
will give you the last argument of the last run command:
mkdir testDir
echo "$_"
#> testDir
${_}
runs the last run command
Backlinks