5 Easy To Use Linux Distros

Ubuntu
Linux is a popular operating system that is widely used by developers, system administrators, and even everyday users. One of the advantages of Linux is its open-source nature, which allows users to customize and modify the software to fit their specific needs.  However, Linux can have a learning curve for new users who may not be familiar with its command-line interface. Fortunately, there are...

Quickly Fix GCC Fatal Error In Linux Mint/Ubuntu

Ubuntu/Linux Mint like most other Linux distributions by default comes with GCC pre-installed (The GNU Compiler Collection). So, you can directly write code in C/C++ and compile it from the Terminal. However, when using GCC, you may see errors during the compilation of C/C++ programs that look something like this. There is an easy fix for this. Install the build-essential package that has the required...

Quickly Generate Dummy Files Of Different Sizes From Linux Command Line

It can be useful to create sample blank or dummy files of various sizes for testing and other purposes. In Linux, there are different ways to do this from the command line but an easy one for this is to use the fallocate command. This command simply allocates disk space for files based on the size specified. The common syntax for this is : fallocate -l filesize filename The -l parameter is the input...

How To View Average System Load Graphically In Linux Mint From Command Line

Linux Mint has some pretty useful graphical system tools for optimizing performance. The Linux shell too  can be used to run a graphical window based tool that is available in most of the distros. That is xload . It gives a histogram view of average system load. It can be used for monitoring/diagnosing performance if needed. Running it is simple, type in the following from Terminal: xload This...

How To View Kernel Messages In Linux In Real Time

How To View Kernel Messages In Linux In Real Time
Here’s how to view kernel messages in Linux in real time: 1. Issue the following command at the terminal – sudo watch “dmesg | tail -20” 2. Enter the user password when prompted. The above command will display the latest 20 lines of the kernel messages in real time. This is very useful in troubleshooting hardware issues.

Quickly View Directory Structure Through Terminal In Linux Mint/Ubuntu

Listing file permissions and user id when using Tree
Having a lot of folders and subfolders within them can make it somewhat messy to manage them. Tree is a useful Linux tool that shows the entire directory/folder  structure in an easy to read tree like form using a nicely colored output all through the Linux Terminal. To install it : Open Terminal in Linux Mint / Ubuntu and type : sudo apt-get install tree After it is installed, type either “tree”...