Linux Common commands
1, view current yum source Yum list2, view information about your computer and the operating system uname-a3, view current version information Cat/proc/version4, view release information Cat/etc/Issue5, and view the currently running processes. PS [options] See documentation6, hostname temporary entry into force hostname Hadoop-dn-017, Bash command now the Shell interface, reload the system configuration. 8, install RAR command Yum install-y rar9, extract rar file rar e aa.rar aa.rar compressed files to the current directory, AA files contain all the directories are not. RAR x Aa.rar will extract the Aa.rar compressed files into the AA directory and keep the directory organization structure of the AA files before compressing them. 10three ways to boot up the first way: LN-S establishes a start-up soft connection in Linux with 7 levels of runlevel (available in/etc/inittab file Settings), each operating level corresponds to the/etc/rc.d/rc[0~6].D These 7 directories the second way: chkconfig If you need to start some services, just use the Chkconfig service name on it, if you want to close, change on to off the third way: NTSYSV pseudo-graphics ntsysv and chkconfig are actually the same , just a graphic .11, easy installation MySQL service yum-Y Install mysql-Server12, boot does not start the firewall chkconfig iptables off13, close SELINUXVI/etc/selinux/Configselinux=disabled
Linux Learning Notes: Commands (iii)