Today is the second day of classes. It rained heavily yesterday, a little cold.
Ethernet (Ethernet) internet Internet.
init command:
Post-add run level. 0--6 seven levels. 0 downtime, 1 single user, 2 multiuser, no NFS (Network File system), 3 standard mode, 4 undefined, 5xwindow;6 restart. Do not set the default of Inittab init to 0 and 6.
CHVT 123456 switch terminals.
Under CENTOS6 and the following version, under the graphical interface, alt+f2 then enter free the fish.
Halt power off continuously
Modify the/etc/gdm/custom.conf, under "Daemon",
Automaticloginenable=true
Automaticlogin=root set to GUI default login as root, do not need to select User and enter password
Gedit as a command under the graphical interface
Change hostname:
CENTOS6:/etc/sysconfig/network
Centos7:/etc/hostname
LSCPU,LSBLK command
GNome (c, graphics library GTK), KDE (c + +, graphics library qt); XFCE (lightweight desktop)
GUI graphical interface gli command line interface
The "user" bash type for the calling system process is Nologin
Variable PS1 defines the prompt, the current shell process is valid
Hash command: Look at the cached commands;
-R Clears all commands
-D Delete the specified command
Clear a named hit count of 0 with the command directly
Enable-n built-in commands disable built-in commands
Enable built-in commands directly with built-in commands
A command can be divided into multiple lines, and multiple commands can be used; separate execution
Under Windows CMD, set path can also view path variable paths, which are echo $PATH in Linux
To change the command prompt for the start-up interface:/etc/issue
Restart Network command in CENTOS7: systemctl restart
Restart Network command in CENTOS6: Service network restart
This article from "11808130" blog, declined reprint!
Linux Operations Learning Blog