Episode 017 – split
The split command is used to split up a file into smaller files. For example, if you need to transfer a 3GB file but are restricted in storage space of the transfer to 500 MB you can split the 3GB file...
View ArticleEpisode 018 – ln command
The ln command is used to create a link between an existing file and a destination, typically newley created, file. Some operating systems may all this creating a shortcut. Recall that Linux treats...
View ArticleEpisode 019 – Kill the worms!
The kill command is used in the shell to terminate a process. Kill works by sending a signal to the process and typically this signal is either the SIGTERM or SIGKILL signal, but there are others that...
View ArticleEpisode 020 – pgrep and pkill
This episode the focus will be on two commands that go hand-in-hand: pgrep and pkill. Like the kill command, pkill is used to send a signal to a process usually with the intent to terminate or stop the...
View ArticleEpisode 021 – killall
The previous two shows have discussed different ways to kill a process using kill and pkill. This episode will cover a third command, killall. The killall command is used to send a signal to every...
View ArticleEpisode 022 – sort
The sort command does just that, it sorts input. Input can be a list of files, standard in, or files with standard in. The first example presents this simple file, shopping.txt, containing a list of...
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 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 021 - killall
The previous two shows have discussed different ways to kill a process using kill and pkill. This episode will cover a third command, killall. The killall command is used to send a signal to every...
View ArticleEpisode 022 - sort
The sort command does just that, it sorts input. Input can be a list of files, standard in, or files with standard in. The first example presents this simple file, shopping.txt, containing a list of...
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 Article