1
① command line switch graphical interface: StartX &
② display text conversion command line input: Localectl list-locales
Localectl Set-locale Lang=zh_cn.utf8 (Vice-en-us) View language locale
③ View the shell type used:
"#echo $SHELL
2
①SSH Protocol Secure Shell:
"[Email protected]~" #ss-TNL
(see if the system is listening on port 22 of the TCP protocol)
View IP (ifconfig)
3
① Ensure that the firewall is turned off:
~ "#iptables-L-N
CentOS 7: (execution)
~ "#systemctl Disable Firewalld.service (first disable next stop)
#systemctl Stop Firewalld.service
CentOS 6:
] #service iptables Stop
] #chkconfig iptables off
4
①, Basic command:
Shutdown command:
CentOS 7:
"#systemctl Poweroff (shut down)
] #systemctl reboot (restart)
② Common Command syntax format:/bin,/usr/bin,/usrlocal/bin
Administrative command syntax format:/sbin,/usr/sbin,/usr/local/sbin
Shared libraries:/lib,/lib64,/usr/bin,/usr/local64,/usr/local/lib,/usr/local/lib64
Library of 32tits:/lib,/usr/lib,/usr/local/lib
Library of 64bits:/lib64,/usr/lib64,/usr/local/lib64
Linux basic commands