linux usage instruction basis _ 2

1.cat instruction

  Function: View the contents of the file, is read-only manner open.

  Syntax: cat [] file to view

  

  Options:

    -n: display the line number

  

    End add | more: Paging

  

 

   Details:

    cat can only browse files, but can not modify files, browse for convenience, usually take command pipeline | more

 2.more instruction

  Function: more instruction-based VI editor is a text filter that displays the contents of a text file by page in full-screen mode.

 more instructions built several shortcuts, see instructions:

operating Features
space bar On behalf of a downward turn
Enter On behalf of his party turned down
q Representatives immediately leave more, no longer displays the contents of the file
Ctrl+F Scroll down a screen
Ctrl+B Back up one screen
= Output current line number
f Display the current file name and line number

Guess you like

Origin www.cnblogs.com/wangdianchao/p/11469345.html