|
|
| Linux Command Line - nothing it's impossible by command line! |
|
|
|
|
|
|
Download offline copy |
|
|
|
|
| |
|
|
| |
| |
| |
| |
| Follow us on... |
|
|
 |
|
 |
|
| |
| News Letter |
|
|
 |
Sign-up me to receive the news about this document |
|
|
|
|
|
| |
Version
Linux Command Line version 1.4
Last modified date: 2009-07-03
Created Date: 2008-01-06
|
|
| |
|
|
|
|
|
|
|
|
|
Linux Command Line:
View file content |
|
|
|
|
|
View the commands list divided into arguments |
|
|
|
|
|
|
|
|
|
|
| Command |
Description |
|
# cat file1 |
view the contents of a file starting from the first row [man] |
|
# head -2 file1 |
view first two lines of a file [man] |
|
# less file1 |
similar to 'more' command but which allows backward movement in the file as well as forward movement [man] |
|
# more file1 |
view content of a file along [man] |
|
# tac file1 |
view the contents of a file starting from the last line [man] |
|
# tail -2 file1 |
view last two lines of a file [man] |
|
# tail -f /var/log/messages |
view in real time what is added to a file [man] |
|
|
|
|
|
|
|
|
|
Translated by:
LinuxGuide.it team
| become translator! |
|
|
| |
|
|
|
|
| |
|
| Except where otherwise specified, the contents of LinuxGuide.it are licensed under License Creative Commons 2.5 Attribution |
| Free Distribution if provided Authors and, Not Commercial purposes and, Not Derivated Works 2.5 |
|
|
|
| Logos and trademarks used for the link are owned by their legitimate owners |
|