Linux centos commonly used commands

 Linux centos download command: wget

 Linux centos access the command: vi

 Linux centos insert commands: i

 Linux centos save and exit:: wq

 Linux centos download command: cd ..

Check whether the installation MYSQL

rpm -qa |grep mysql

Linux graphical interface and a command line interface switching
https://blog.csdn.net/ab52262879/article/details/89354804

vim /etc/inittab 

 

With administrator privileges to edit / etc / inittab
to
id: 5: initdefault:
change
id: 3: initdefault:

 

 Linux centos restart command:
  . 1, reboot normal restart
  2, shutdown -r now immediately restart (root user)
  . 3, 10 minutes and 10 the shutdown -R & lt automatically restart (root user)
  . 4, at the time of the shutdown -R & lt 20:35 20:35 time to restart (root user)
  if it is set to restart the shutdown command, you can cancel the restart with a shutdown -c command
 Linux centos shutdown command:
  1, immediately shut down the HALT
  2, poweroff immediately shut down
  3, shutdown -h now immediately shut down (root user)
  . 4, shutdown -H 10 10 minutes after the automatic shutdown
  if the shutdown is set, then the shutdown command, shutdown can be canceled with the restart command -C

Guess you like

Origin www.cnblogs.com/delphixe/p/11221679.html