The ps command in Linux can tell us all sorts of information about the running processes on our system. The command also reports memory usage for each running process. In this tutorial, you’ll see how to list processes on Linux, sorted by their memory consumption.
We can use the mount command in Linux to attach file systems and removable devices such as USB flash drives. The default file system for most Linux distributions is ext4. We can also dismount file systems with the unmount command.
Linux considers anything stored on a file system as files, even block devices. This means commands such as the dd command in Linux can be very handy in many situations, as it can be used to convert and copy files in the terminal, backup disks, or wipe data. The dd command is just as fundamental as it is useful, as it’s ready to use even on the most basic installations of Linux distros.
On any operating system, the files on your hard disk take up a certain amount of space. In Linux specifically, you can view how much space that these files take up in the command line terminal by using the du command. The du command (the name is shortened from “disk usage”), as the name implies, will simply display, in its output, the amount of disk space being used by a specified file or directory.
In Linux, we can employ many different methods for making text file management more convenient and fluid. The csplit command in Linux is a perfect example of how we can make text files a lot easier to maintain.
In Linux, you can automate many processes using various commands. You can even automate the process of running those commands. You can use the at command to run commands at a specified point in the future or it will only run these commands once. You can specify the time using key words like “tomorrow,” next week,” etc.