Linux basic commands

Source: Internet
Author: User
Tags locale

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.