ubuntu command

ubuntu command


sudo -i to obtain the highest authority, like to be updated, we must have root privileges.
apt-get update kit is not used to compare the version number followed by the network drop
apt-get upgrade is used to update the
apt-get dist-upgrade  Version of the suite upgrade system has been installed, together with the upgrade version dependencies suite. 
sudo apt-get install   Mounting kit. 
sudo apt-get remove   Remove the kit, but keep the kit configuration file. 
sudo apt-get autoremove   Removal kit, and having removed the dependency of Kits Kits. 
sudo apt-get --purge remove   Remove the kit, the kit also remove the configuration file. 
sudo apt-get clean to remove the original installation file suite. 
sudo apt-get autoclean removed can no longer download the installation package of the original file. 
Whether sudo apt-get check check your package has dependencies problem. 
apt-cache search   Through this command, we can use keywords to search for the package full name, name query key for a suite. 
apt-cache showpkg   Discover all the information in a suite. 
apt-cache pkgnames   All available package name query system. 
apt-cache depends   Query all packages have dependencies to a suite, and show whether there is a conflict kits and proposed to replace kit.

Download file
wget url

rm - remove the document 
mv - move a document (document name change)
cp - copy the document 
mkdir - create a directory

desktop enter text mode ==> Ctrl + Alt + T
text full screen ==> Ctrl + Alt + F2
cut back ==> Ctrl + Alt + F7

nano text editor
nano filename ==> Go to Edit
Ctrl + X, leave and some change, then will ask you to not archived.

And power shut off
the shutdown -H now
the shutdown -H 0
the shutdown -H +3 (shutdown. 3 minutes)
the shutdown -H 18:45 "Down for Maintenance Server IS going"
the poweroff

Reboot
reboot
the shutdown -r 0

Original: big column  of ubuntu command


Guess you like

Origin www.cnblogs.com/petewell/p/11496004.html