Skip to content

Instantly share code, notes, and snippets.

@javagrails
Last active April 1, 2020 15:55
Show Gist options
  • Save javagrails/ec9e28c4de6c5371f667840b67f66abc to your computer and use it in GitHub Desktop.
Save javagrails/ec9e28c4de6c5371f667840b67f66abc to your computer and use it in GitHub Desktop.
Necessary bash commands

Necessary Bash Commands

Uninstall any package with Bash command from terminal here example with [ nginx ].
$ sudo apt-get remove nginx
$ sudo apt-get autoremove
$ sudo apt-get autoclean
$ sudo apt-get remove --purge nginx 

#check the just removed package [nginx] and [apt update] with below commands
$ whereis nginx
$ sudo apt-get update -y
terminal line copy
Gnome-terminal - How to Copy selection to clipboard automatically?
Command :: sudo apt-get install parcellite
Config :: In the settings check "use primary" and "synchronize clipboards". it works.

Create zip/tar file in linux

Extract zip/tar file in linux

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