Sunday, August 29, 2010

Some Basic things and commends In Linux

loopback (lo): when two or more programs want to communicate each other, then loopback is used. It use inet address: 127.0.0.1

ctrl+d : When a string or a file is reading, to show the end of the file ctrl+d is used

Ctrl+c: Te terminate a process or to kill a process.

ctrl+z: It i used to temporarily suspend a process. To continue the process fg <no. of the process> is used. fg stands for foreground the suspended process.

Create a file in the terminal(vim must be installed) using vim <filename.extension>. To change the settings of vim editor,
To set the column no. esc :set nu
To delete the first n lines esc :1,nd
To undo esc :u
To copy the first n lines:esc :1,ny
          

No comments:

Post a Comment