27
11/2016
Linux handbook of Kangry
Uninstall program
list all program you have installed: dpkg --list
uninstall the program you want to remove, it is a command to remove both program and config files: sudo apt-get --purge remove <programname>
if you do not expect to delete config files, you can use this command: sudo apt-get remove <programname>
Change Time Zone
First, sudo dpkg-reconfigure tzdata
Then, select your location
Reboot Linux
sudo reboot
sudo shutdown -t now
Compress or uncompress
.tar: tar -xvf FileName.tar (unpackage), tar -cvf FileName.tar DirName (package)
.tar.gz and .tgz: tar -zxvf FileName.tar.gz (uncompress), tar -zcvf FileName.tar.gz DirName(compress)
Change the password
passwd (username)
转载请注明:康瑞部落 » Linux handbook of Kangry
0 条评论