Skip to content

Instantly share code, notes, and snippets.

@GoodGuyGregory
Last active May 20, 2021 03:43
Show Gist options
  • Save GoodGuyGregory/44c52db19e9a3adccfe24d4ce2b80d0a to your computer and use it in GitHub Desktop.
Save GoodGuyGregory/44c52db19e9a3adccfe24d4ce2b80d0a to your computer and use it in GitHub Desktop.

Command Line Hot Keys

Previous Directory Hop

cd -

Command Search History

ctrl + r <type command>

Remove Programs from Linux

list all programs

dpkg --list

after confirming it exists delete it

copying a whole directory:

`How about copying a directory?

$ cp -vr dir_A dir_A_copy` Linux Command Hints

sudo apt-get remove "<itemname>"

completely remove it with

sudo apt-get purge "<itemname>

clean after the mess $ sudo apt-get autoremove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment