Live Chat!

Top Ten Processes Watcher

          0 votos

July 13th, 2008 mysurface

top command provides a dynamic real-time view of a running system. It can display system summary information as well as a list of tasks currently being managed by the Linux kernel. But if you want get something more specific, you must play some tricks on it. For example, I want a clean view of top [...]

Posted in head, tail, top, watch | Hits: 11903 | No Comments »

what is your 10 common linux commands?

* * * * * 2 votos

October 27th, 2007 mysurface

Dear command line ninjas, Mr CLI and keyboard pianist:
What is your regular command you use? I am sure you must thinking of ls and cd. Yeah, they are common for every users, but how about the rest of them? I have construct a combos of commands to help you identify your top ten linux command. [...]

Posted in Common, awk, column, grep, head, history, nl, sort | Hits: 21236 | 21 Comments »

head and tail

          0 votos

November 1st, 2006 toydi

Given a list of text lines in a file, to display the first 10 lines:
head foo.txt
To display the last 10 lines:
tail foo.txt
Try -n option to specify the number of lines to display:
tail -n3 foo.txt # the last 3 lines
head -n4 foo.txt # the first 4 lines
And don’t forget, the ‘+’ in tail [...]

Posted in Text Manipulation, head, tail | Hits: 5107 | 1 Comment »