Tree-a
Proc virtual file system, the system started there, a close there is no.
Ctrl + Shift Change font size
Tree-a
%s/globalmem/leddev/g Full-text replacement (the last-G means that a few of the rows appear replaced)
Cat/etc/issue See the Ubuntu version.
How to view the contents of a file under Linux command line
VI file name #编辑方式查看, you can modify the cat file name #显示全部文件内容 more file name #分页显示文件内容 tail file name #仅查看尾部, you can also specify the number of rows head file name #仅查看头部, you can also specify the number of rows sed ' 1,$ ' p file name #这个 You can specify the starting line and the end line, and you can change 1 and $ to V
8
Vim Ctrl+shitl v such as copy (some of the machine is CTRL alt v)
Be careful here, you have to copy the time must be thrown back this ctrl+shitl v command is selected, can not be selected with Shitl V, and pay attention to copy and paste the time to pay attention to the front of the space there is no, register copy, I think more, press the Y key, you directly to the specified position by P on the line, Note the last cross that unsigned int do not add a carriage return to the rear. (Don't have a carriage return behind every line.)
The register is copied from the outside place, press O this way to enter, and then paste, the first line will not have a loss.
*******************************************************
Shift v Y is still p, the current line enters P directly to the next line, at that time} does not work.
*******************************************************
Tree and TFTP
Tree-v
Dpkg ******.deb
Download and place in Var/cache/apt
Here's a summary.
0 beginning of line (0 not O)
$ (shift+6) End of line
GG First
G (shift+g) text tail
A (shift+a) footer, and edit
*********************************
Vim's Column editing operations
Delete Column
1. Position the cursor where you want to operate.
2.ctrl+v into "visual block" mode, select how many rows this column operates.
3.d deleted.
Insert Column
Knowledge is slightly different when inserting operations. For example, we insert "()" before each line:
1. Position the cursor where you want to operate.
2.ctrl+v into "visual block" mode, select how many rows this column operates.
3.shift+i (i) Enter what you want to insert.
4.ESC presses two times and the inserted content appears in the selected area of each row.
**********************
Vim Alignment operation
First Shift v selected, then CTRL shift < (20 for 20 tab)
************************
To change the permissions for a read-only file,
sudo chmod u-x common/s3c2440.h (root user best)
***************************************
vs R Read.
CTRL WW Toggle.
*****************************************
Su Root
Su-root the root directory into root
*******************
0 indicates replacement.
*****************************
Save directly. Vim operation
******************************************
RmDir cannot delete empty files that have something, even +-r. Must be used Rm-r
8
Su defaults directly to root. Su-root means go to root in the more directory.
*********************************************************
Login, Reboot,password
*************************************************
Locate Ch341.ko
*************************************************
Open the broken shortcut,
CTRL + Alt T or R
CTRL + Shift T or R
******************************************************
Echo
*************************
Tar cvf Linux.tar Linux
****************************************
Vim operation when you press the uppercase key, the ESC is the mode instead of the command mode.
*******************************************************************
Shift 4, to the cross-end.
***************************************************************
Shortcut key for the same interrupt hop.
****************************************************************
4yy indicates an assignment of 4 horizontal.
8dd
*********************************************************
: sh This belongs to vim operation.
***********************************************************
Netstat-nap | grep 8080
View the client connection status.
Vi/etc/sysconfig/network-scripts/ifconfig-eth0
View the configuration of the network.
******************************************************
PCB Process
TCB thread
************************************************************
23,46s/1111/222/g 23-46 the replacement of the transverse.
******************************************************************
Vim/etc/vim/vimrc/ab us using namespace std;
When you enter us, press the space.
*******************************************************************
Diff PASSWD/ETC/PASSWD Comparison
**********************************************************************
Modify the owner and the genus Group.
Chown Linux:linux Qt-sdk-linux-x86-opensource-2009.04.1.bin
[Email protected]:~$ ll Qtcreator.desktop
-rwxr--r--1 Linux linux 226 2014-11-03 09:50 qtcreator.desktop*
**********************************************************************
h*****************************************************
Shift+3 jumped over and jumped back.
******************************
VSP, SP
**********************
DW Deletes a word, and DD deletes one line.
Basic Linux Operations