#tail -n 100 /var/log/dmesg | more
The above example would list the last 100 lines in the file /var/log/dmesg
#head -n 100 /var/log/dmesg | more
The above example would list the first 100 lines in the file /var/log/dmesg
Monday, October 31, 2011
Tail command & Head command in Linux
12:04 PM
No comments
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment