Linux Tutorials on the topic “shell”
-
Linux whereis Command Explained for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1
Sometimes, while working on the command line, we just need to quickly find out the location of the binary file for a command. Yes, the find command is an option in this case, but it's a bit time consuming and will likely produce some non-desired results as well. There's a specific command that's designed for this purpose: whereis.
-
Linux mkdir Command Explained for Beginners (with examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
At any given time on the command line, you are in a directory. So it speaks for itself how integral directories are to the command line. In Linux, while the rm command lets you delete directories, it's the mkdir command that allows you create them in the first place.
-
Linux rm Command Explained for Beginners (8 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2
Deleting files is a fundamental operation, just like copying files or renaming/moving them. In Linux, there's a dedicated command - dubbed rm - that lets you perform all deletion-related operations.
-
-
Linux tee Command Explained for Beginners (6 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1
There are times when you want to manually track output of a command and also simultaneously make sure the output is being written to a file so that you can refer to it later. If you are looking for a Linux tool which can do this for you, you'll be glad to know there exists a command tee that's built for this purpose.
-
Linux yes Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
Most of the Linux commands you encounter do not depend on other operations for users to unlock their full potential, but there exists a small subset of command line tool which you can say are useless when used independently, but become a must-have or must-know when used with other command line operations. One such tool is yes, and in this tutorial, we will discuss this command with some easy to understand examples.
-
How to trigger commands on File/Directory changes with Incron on Debian
Author: Till Brehm • Tags: linux, programming, shell • Comments: 5
This guide shows how you can install and use incron on a Debian 9 (Stretch) system. Incron is similar to cron, but instead of running commands based on time, it can trigger commands when file or directory events occur (e.g. a file modification, changes of permissions, etc.).
-
Linux size Command Tutorial for Beginners (6 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
As some of you might already know, an object or executable file in Linux consists of several sections (like txt and data). In case you want to know the size of each section, there exists a command line utility - dubbed size - that provides you this information.
-
Linux paste Command Explained For Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2
Sometimes, while working on the command line in Linux, there may arise a situation wherein you have to merge lines of multiple files to create more meaningful/useful data. Well, you'll be glad to know there exists a command line utility paste that does this for you.
-
Linux wc Command Explained for Beginners (6 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1
While working on the command line, sometimes you may want to access the number of words, byte counts, or even newlines in a file. If you are looking for a tool to do this, you'll be glad to know that in Linux, there exists a command line utility - dubbed wc.
-
Linux Free Command Explained for Beginners (6 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 3
Sometimes, while working on the command line in Linux, you might want to quickly take a look at the total available as well as used memory in the system. If you're a Linux newbie, you'll be glad to know there exists a built-in command - dubbed free - that displays this kind of information. In this tutorial, we will discuss the basics of the free command as well as some of the important features it provides.