Category Archives: Uncategorized

Episode 032 – cat

The cat command concatenates files or standard input to standard out by default. What this means is that the cat command will display the contents of a file to standard out so you can read it. The cat command is … Continue reading

Posted in Uncategorized | 4 Comments

Episode 031 – who

The who command allows you to see who is currently logged on to the Linux system you run the command on. If you are running a desktop system the who command may not seem that important. But if you are … Continue reading

Posted in Uncategorized | Leave a comment

Episode 030 – vmstat

The vmstat program is a tool for displaying information about virtual memory usage and is part of the procps suite of utilities. The procps package provides tools for browsing the /proc file system. The /proc filesystem is “psuedo” file system … Continue reading

Posted in Uncategorized | Leave a comment

Episode 029 – ab – Apache BenchMark

The Apache BenchMark tool is a handy application to have in your toolbox that can perform a number of helpful tasks. First, the primary use for the tool is to simulate how your server may react under maximum load. Because … Continue reading

Posted in Uncategorized | Leave a comment

Episode 028 – Extended Attributes – lsattr and chattr

Back in episode 7 the chown command and UNIX file permissions were discussed. This episode is going to extend that and talk about file system attributes, or more appropriately named extended attributes. Recall that Linux file systems support three permission … Continue reading

Posted in Uncategorized | Leave a comment

Episode 27 – factor, primes, seq, and arithmetic

The last two episodes of Linux in the Shell discussed the use of bc as a command line scientific calculator and units for converting between different units. This episode will continue along the lines of mathematics by highlighting some other … Continue reading

Posted in Uncategorized | Leave a comment

Episode 26 – units

Last episode of Linux in the Shell discussed the use of the bc command to perform math on the command line. This episode continues in suit with a mathematical theme picking up from the last examples of converting between different … Continue reading

Posted in Uncategorized | Leave a comment

Episode 025 – bc

Math from the Linux command line is one of those tasks that is not as¬†straight¬†forward as you may think. There are many tools that will allow you to perform mathematical functions accessible to you, but to perform simple arithmetic is … Continue reading

Posted in Uncategorized | 1 Comment

Episode 024 – time and /usr/bin/time

The time program is a handy tool to not only guage how much time in seconds it takes a program to run, but will also display how much user CPU time and system CPU time was used to execute the … Continue reading

Posted in Uncategorized | Leave a comment

Episode 023 – date

The date command will not only display or let you change the current date and time but is the go to utility for getting date and time information into scripts. Evoked by itself the date command will output the current … Continue reading

Posted in Uncategorized | Leave a comment