Daily Notes: Ubuntu Commands
Ubuntu Commands
-
uninstall a package and remove its dependencies completely
$ sudo apt-get purge --auto-remove packagename -
check out the packages installed
$ dpkg --list -
switch user
$ su username -
search file
$ locate file_name -
list all files including hidden ones
$ ls <file_dir> -la -
check system timezone
$ cat /etc/timezone Europe/Moscow - ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
- ###
Don Lee's Portfolio