Start the Xwindow interface
#startx
Start the second Xwindow interface
#startx--: 1 #启动第三个界面使用: 2 and so on!
View and disconnect a terminal
#w
#skill-9 PTS/2 (this is the terminal name)
Kill all processes for a user
#skill [-9] User name
#pkill [-9]-u user name
View all process numbers for a command/program
#pgrep command name
Tips
Modify the default color for the folder name and file name displayed by the LS command in Linux:
#修改/etc/dir_colors File
650) this.width=650; "Style=" background-image:none; border-right-0px; margin:0px; padding-left:0px; padding-right:0px; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px "title=" image "border=" 0 "alt=" image "src=" http://img1.51cto.com/attachment/201407/21/7628670_ 140591002282gg.png "width=" 244 "height=" "/>"
Control of any machine at the remote end in a graphical interface
2#xinit;xhost+
1#export display= "x.x.x.x:x" (ip:port-----The ip,port of the host 2 is the Xwindow number, referring to the first Xwindow)
1#startkde or Launch Gnome
command to turn off system power
#halt-PF
Let the modified Inittab file take effect immediately without rebooting the system
#init Q
HDD to copy
#dd IF=/DEV/SDA of=/dev/sdb bs=1024 [count=xxx]
Automatic loading module
#grep Modprobe/etc/rc.d/rc.sysinit
#modprobe-C automatically reads the/etc/modprobe.conf and loads the modules in it.
Pam mechanism
Xwindow
A variety of tips under Linux