DEV Community

Discussion on: Stop pressing the up (arrow) to find a previous command

Collapse
 
freesoftwareservers profile image
FreeSoftwareServers

I recently found out about using ! (exclamation) and them previous beginning of command. Eg: "!ssh" will run last command in your history that started with ssh. And I love the tip below about "cd -".

Collapse
 
wulymammoth profile image
David

I've certainly forgotten about this one! Thanks!!