Mastering the Linux namei Command: A Beginner’s Guide with 5 Practical Examples

On the Linux command line, you work with several types of files, for example, directories, symbolic links, and stuff like that. Sometimes, the requirement is to know more about individual elements in a path – what type of file it is, who is its owner, and more. Thankfully, there’s an inbuilt Linux command line utility – dubbed namei – that lets you fetch this information.

Mastering the Linux Cut Command: A Beginner’s Guide with Examples

In Linux, if you want to print a file’s content on stdout, the first command that comes to mind is cat. However, there may be times when the requirement is to remove certain part of the file and print only the rest of the content. You’ll be glad to know there exists a tool – dubbed cut – that lets you do this.

Mastering the Linux zcat Command: A Beginner’s Guide with 5 Practical Examples

While compression is helpful in general as it allows you to save space on your system, command line users need to uncompress the file for several small tasks, like viewing what all the file contains. However, there exists a command line utility – dubbed zcat – that lets you take a peek inside compressed files without any additional effort.

A Beginner’s Guide to the Linux ‘strings’ Command with Five Practical Examples

Looking inside a binary/executable file to grab human-readable strings isn’t the kind of work that everybody does, but what if you are asked to do this? Opening the file in an editor, and manually looking for stuff isn’t an elegant solution. So, what to do? Yes, you guessed it right – there exists a command line utility that does this for you.