Switch user command (su) has the following forms: su Switch to , without loading environment variables. If is omitted (only "su"), it equals to "su root"; su - Switch to , and loading environment variables. "-" is the abbrevi…
[screen command of linux] 常用键: 补充: Ctrl-a S # split terminal horizon Ctrl-a TAB # switch to another splitted part then use step 3 to select a screen Ctrl-a | #split termianl vertical ctrl +a X // 关掉当前分屏 Ctrl-a: quit #结束并退出当前session command命令…
The mailx or mail command in Linux is still providing service for guys like me, especially when we need to send email automatically by script. gmail is great. Now, how to use gmail’s smtp in mailx/mail? gmail is a little special since gmail’s smtp se…
Cisco IOS Basic CLI Configuration : Switch Port Command 1. Basic Switch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface vlan 1 Switch(config-if)#ip address 192.168.1.200 255.255.255.0 Switch(co…
Using Android Phone to recover SD card formatted with DD command under linux 1. Formatted a sd card with dd command under linux 2.insert the sd card into an android phone,certainly the card is not find and used.. 3 reset the android phone with format…
Linux command ls basically use the file /etc/DIR_COLORS or /etc/DIR_COLORS.xterm to define the colors used, in terms of different types of terminal windows. You can change the definitions directly in these files to alter the colors to meet your expec…
The dd command stands for "data duplicator" and used for copying and converting data. It is very powerful low level utility of Linux which can do much more like; Backup and restore the entire hard disk or partition. Backup of MBR (Master Boot Re…
Yesterday I was asked to upload a file in Linux to the corresponding server. I said "oops" because I never used that in Linux shell, we used Filezilla in Windows for such purpose of task. Therefore there is a quite good tutorial on nixCraft: htt…