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...
View ArticleEpisode 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...
View ArticleEpisode 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...
View ArticleEpisode 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....
View ArticleEpisode 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...
View ArticleEpisode 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...
View ArticleEpisode 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 process....
View ArticleEpisode 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,...
View ArticleEpisode 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...
View ArticleEpisode 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...
View Article