The du command, short for disk usage reports the estimated amount of disk space used by given files or directories. It is practically useful for finding files and directories taking up large amounts of disk space.
Bash uses brace expansion to generate a sequence of strings from the terminal or by using any bash script. A sequence of expressions or comma-separated list of data with curly brackets is used to define brace expansion. How the user can create different types of random strings using bash brace expansion is explained in this tutorial by using various examples.
The most common signal of bash is SIGINT (Signal Interrupt). When the user presses CTRL+C to interrupt any process from the terminal then this signal is sent to notify the system. How you can use trap command to handle different types of signals is explained in this tutorial.
The image resolution capability of today’s photo capturing devices like smartphones and digital cameras is increasing day by day. The real deal comes when we have to share these images, upload them on a cloud facility, or even save them
Use case: You just started a process (i.e. compile, copy, etc). You noticed it will take much longer than expected to finish. You cannot abort or risk the process to get aborted due to the current shell session finishing. It would be ideal to have this process on 'screen' to have it running on backgroud.…
The dmesg command is nothing fancy. It simply accesses a location in memory that is known as the kernel ring buffer. That's just a fancy way of saying that it's a buffer, a location in memory used for storing streams of data that operates in a ring-like or cyclical fashion.