1,
rpm -q [name of app] query whether install or not already
rpm -ivh [full name of app] show the process line
rpm -e to uninstall the app
2,
yum
before install :
yum clean all clean old cache
yum makecache get cache from server
yum install [package_name ]
yum remove [package_name ]
yum list installed already installed app
yum list available can be installed from the resource
if the output too much ,so can use
yum list installed | less this a pipe command can page down and up
enter 'q' to break the pipe
yum check-update
yum update
3,ps aux to check the process statues
4,wget in unix-like systems ,can download files by url ,support https ,http ,ftp protocols.
5,check network available or not
ip addr
nslookup ip (the local and the destination ip )
netstat (bunches of net arguments)
curl -s https://ipinfo.io/ip (show the public ip of the netcard )
ifconfig
7, :wq [filename ] save and quit
:wq ![filename ] quit and override a file (a new file )
:q! quit without save
8,return back to the parent directory
cd -
cd~ to /home/user (the real user )
pwd (which directory you are in )
cd /[directory which in the other dir ]
cd [directory in the dir ] or ./[directory in the dir ]
9, to delete a directory
rmdir [directory_name ] (when the directory is empty)
rm - r [directory_name ] (when the directory is not empty )