Pages

Monday, November 29, 2010

Linux Commands Reference

How to view simple text files in Linux ?

Command: Cat file_name (This is a nice way to view short files that fit on your screen.)

Command: less file_name (If the files are so long that they don't fit on your screen, less automatically paginates the file, you can use Page Up and Page Down keys to moves through the file and type "q" to quit the file.

How to clear the screen in Linux ?

Command: clear

No comments:

Post a Comment