The UNIX tail command is very useful for viewing the last number of lines of a logfile. As in this example. Showing the last 10 lines in the file /var/log/syslog. |{~}-{Thu Feb 16 21:36:44} [email protected] } $ tail -n 10 /var/log/syslog Feb 16 21:31:01 deep-thought cron[1480]: (*system*anacron) WRONG FILE OWNER (/etc/cron.d/anacron) Feb 16 21:31:29 deep-thought …

Time a UNIX command. the time(1) command will tell you how long it took for a command to execute. [email protected] cgi $ time ls total 28K drwxrwxr-x. 3 thx thx 4.0K 26-12-11 09:43 pm . drwxrwxr-x. 6 thx thx 4.0K 26-12-11 09:41 pm .. -rw-r–r–. 1 thx thx 1.5K 23-12-11 10:58 am fortunes2 drwxr-xr-x. 2 …

There are many useful Linux commands that are fun to use and can do some very cool things. cat mysongpart2.mp3 >> mysongpart1.mp3cat mysongpart2.mp3 >> mysongpart1.mp3 Using /bin/cat to append the second part of a MP3 file onto the first part, making one large file that will play seamlessly from part one to part 2. vmstat …