Console Linux Console Linux

Linux command line navigation tips: the basics of pushd and popd commands
In this article, we will be discussing how you can have a faster navigation experience on the Linux command line using the pushd and popd commands.

Linux command line navigation tips/tricks 3 - the CDPATH environment variable
Continuing with our discussion on the command line navigation aspects, in this tutorial, we'll discuss the CDPATH environment variable through easy to understand examples. We'll also discuss some advance details related to this variable.

8 Linux Locate Command Examples for Beginners

locate-in-action1.png

While find is no doubt one of the most popular as well as powerful command line utilities for file searching in Linux, it not fast enough for situations where-in you need instantaneous results. If you want to search a file on your system through the command line, and speed is the top most priority, then there's another command that you can use: Locate.

Linux clear command tutorial for beginners (3 examples)
Sometimes, while working on the command line, you arrive at a point where there's too much text on the terminal screen, and none of that is relevant to you. So, in order to avoid distraction, you'd want to clear the terminal screen. Those new to the Linux command line may not know that there exists a dedicated command line utility that does this work for you.

Linux exit Command Explained for Beginners (With Examples)

exit.png

If you are a Linux newbie, and your work involves doing stuff through the command line, then it goes without saying that you must be spending a lot of time on the terminal window. As you'd likely agree, there are some commands that we tend to use very frequently, like ls, cp, and rm. However, there are some others that are comparatively less used. In this tutorial, we will discuss one such, less frequently used command: Exit.

Linux fold command tutorial for beginners (with examples)

fold-cat-output.png

While working on the command line in Linux, one thing that you'd have probably missed is how the output gets displayed in terminal. I mean, the way it fits the available area. Have you ever found yourself stuck in a situation where-in the requirement was to make sure the output of a command fits a particular width?

Linux paste Command Explained For Beginners (5 Examples)

paste-3-files.png

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 ln Command Tutorial for Beginners (5 Examples)

ln-hard-link.png

Sometimes, while working on the command line, you need to create links between files. This can be achieved using a dedicated command, dubbed ln. In this tutorial, we will discuss the basics of this tool using some easy to understand examples.

Linux cmp command tutorial for beginners (7 examples)

cmp-comparingfilesbasic.png

Pretty much regardless of your role, if your regular work involves doing stuff on the command line in Linux, you may find yourself in a situation where-in you'd want to compare two files using a command line utility. There are several command line tools that let you do this, and one among them is the 'cmp' command.

Linux touch command tutorial for beginners (6 examples)

touch-exist-file1.png

Sometimes, while working on the command line in Linux, you might want to create a new file. Or, there may be times when the requirement is to change the timestamps of a file. Well, there exists a utility that can you can use in both these scenarios. The tool in question is touch.

Linux uptime Command Explained for Beginners with Examples

uptime-basic-usage1.png

If you are a Linux newbie, and have interest in system administration, or you want to become a power user, then you need to have a solid knowledge of the command line. In this article, we will discuss the basics of the uptime command using some easy to understand examples.

Linux mv Command Explained for Beginners (8 Examples)

mv-rename-ex.png

Just like cp for copying and rm for deleting, Linux also offers an in-built command for moving and renaming files. It's called mv. In this article, we will discuss the basics of this command line tool using easy to understand examples

Linux mkdir Command Explained for Beginners (with examples)

mkdir-p.png

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 tee Command Explained for Beginners (6 Examples)

ping-example.png

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 rm Command Explained for Beginners (8 Examples)

rm-basic-usage.png

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 kill Command Tutorial for Beginners (5 Examples)

kill-default.png

Sometimes, while working on a Linux machine, you'll see that an application or a command line process gets stuck (becomes unresponsive). Then in those cases, terminating it is the only way out. Linux command line offers a utility that you can use in these scenarios. It's called kill.