Skip to content

Instantly share code, notes, and snippets.

@htxuankhoa
Last active September 6, 2019 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save htxuankhoa/03af8cbf9310642848fc6877809c81d1 to your computer and use it in GitHub Desktop.
Save htxuankhoa/03af8cbf9310642848fc6877809c81d1 to your computer and use it in GitHub Desktop.
Linux

List of Linux commands often use

Change owner & group

$ sudo chown -R user:group /path/to/directory/or/file

Tar

c : create
x : extract
v : verbose output
z : –gzip, –gunzip, –ungzip filter the archive through gzip
f : use the following file for archive
$ cd /path/to/directory/contains/files
$ tar cvzf file_name.tar.gz *
$ tar xvzf file_name.tar.gz

Restart unity ubuntu time clock top bar

$ sudo killall unity-panel-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment