Host Keith Shaw and his expert guests discuss the latest technology news and trends happening in the industry. Watch new episodes twice each week here or listen to the podcast.
In this Linux tip, we’re going to look at the diff3 command. It’s similar to the diff command, but allows you to compare the contents of three text files instead of just two. In addition, the formatting of the output makes it easy to understand h...
In this Linux tip, we’re going to look at the colordiff command. It displays the differences between two files like the diff command, but adds color whenever the content is different. This first command has no output because the files are the same....
In this Linux tip, we’re going to look at the cmp command. It’s a command that allows you to compare the content of two text files. If the files that you are comparing are identical, there will be no output. Here’s an example: $ cmp file1 file2...
In this Linux tip, we’ll take a look at how you can test whether a string or variable includes some regular expression or substring you want to test for.
In this Linux tip, we’ll look at how you can use the grep command to look for more than one value in a single command. This can be useful when you want to select lines of two forms, but ensure they will appear in the same order as they do in the fi...
In this Linux tip, we’re going to look at a command that allows you see how many days have passed since the beginning of the Linux epoch – Jan 1, 1970. To begin, we use the command below to display the number of seconds since the epoch began on J...
In this Linux tip, we’re going to take a look at the pv (pipe viewer) command that can provide some reassuring visual feedback when some process you will be running might take a long time to complete. In this simple example, everything will run ver...
In this Linux tip, we look at the stat command. Like the ls command, stat displays important details about a file – like permissions and ownership, but in a much different and surprisingly useful way.
In this Linux tip, we’re going to look at what happens on many Linux systems when someone mistypes “ls” – typing “sl” instead. What you can anticipating seeing (provided the sl command has been installed with one of the commands shown bel...
In this Linux tip, we're going to take a look at the shuf command.
In this Linux tip, we’ll take a look at the chmod command for changing permissions on a Linux file.
In this Linux tip, we’ll take a look at the apropos command and how it can help you identify commands that you want to use. The meaning of the word apropos is “fitting and to the point”. When you use this command on the Linux command line, you ...
In this Linux tip, we’re going to examine the shred command – a command that allows you to overwrite the content of a file with randomized data so that it is no longer readable and basically impossible to recover.
In this Linux tip, we’re going to look at directories on Linux – basically folders that are set up to house related files. Whenever you use a command like “ls dirname” for a directory, you will see a list of the files it contains.
In this Linux tip, we’re going to examine some commands for generating reports on who is logging into a Linux server. The data for login activity is stored in the /var/log/wtmp file.
In this Linux tip, we’re going to look at the cal (calendar) command. This command allows you to display a calendar for a month or even for a year. Using a command like this, you display a calendar for the current month with the today highlighted.
In this Linux tip, we’re going to take a quick look at the /etc/shadow file on Linux systems. It contains a lot of useful information pertaining to user accounts – and is a file that can only be viewed or changed with root or sudo access.
In this Linux tip, we’ll look at how you can “source” files on the Linux command line. “Sourcing” means reading the file and running the commands that it contains – even if the file isn’t set up with execute permissions. There are two w...
In this Linux tip, we’re going to look at timestamps used on Linux systems. There are actually three of them and they represent the date and time that the file was last accessed, the time it was last modified and the time it was last changed. Modif...
In this Linux tip, we take a look at the who command – a command that tells you who is logged into the system. If you’re working on a Linux server, you might see that a number of people are logged in. The who command also tells you where the user...
Sponsored Links