19.03.2015 Views

Unix Tutorial

test

test

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Command<br />

CTRL+d<br />

CTRL+d<br />

CTRL+f<br />

CTRL+u<br />

CTRL+b<br />

CTRL+e<br />

CTRL+y<br />

CTRL+u<br />

CTRL+d<br />

CTRL+b<br />

CTRL+f<br />

Description<br />

Move forward 1/2 screen<br />

Move forward 1/2 screen<br />

Move forward one full screen<br />

Move backward 1/2 screen<br />

Move backward one full screen<br />

Moves screen up one line<br />

Moves screen down one line<br />

Moves screen up 1/2 page<br />

Moves screen down 1/2 page<br />

Moves screen up one page<br />

Moves screen down one page<br />

CTRL+I<br />

Editing Files:<br />

Redraws screen<br />

To edit the file, you need to be in the insert mode. There are many ways to enter insert mode from the command<br />

mode:<br />

Command<br />

i<br />

I<br />

a<br />

A<br />

o<br />

Description<br />

Inserts text before current cursor location.<br />

Inserts text at beginning of current line.<br />

Inserts text after current cursor location.<br />

Inserts text at end of current line.<br />

Creates a new line for text entry below cursor location.<br />

O<br />

Creates a new line for text entry above cursor location.<br />

Deleting Characters:<br />

Here is the list of important commands which can be used to delete characters and lines in an opened file:<br />

Command<br />

x<br />

X<br />

dw<br />

d^<br />

Description<br />

Deletes the character under the cursor location.<br />

Deletes the character before the cursor location.<br />

Deletes from the current cursor location to the next word.<br />

Deletes from current cursor position to the beginning of the line.<br />

d$ Deletes from current cursor position to the end of the line.<br />

D<br />

Deletes from the cursor position to the end of the current line.<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!