Linux dmesg Command Tutorial

Linux operating system provides the dmesg command in order to display kernel-related messages. The dmesg command provides a lot of different messages as the kernel is the heart of Linux. The dmesg command provides message-related storage, modules, interrupts, etc. As a low-level tool to provide information, the dmesg command requires root privileges. The sudo command … Read more

How To Add Directory To PATH Variable In Linux?

Linux provides different environment variables which $PATH is one of them. The $PATH environment variable is used to store multiple paths or directories that contain commands, and executables. These commands and executables can be called via the command line interface or terminal just using their name without fully providing a complete path. We can add … Read more

Linux Reboot Command

Linux systems generally require very few reboots for reliability and availability. Generally, kernel updates or critical library updates require a reboot. Linux provides the reboot command in order to restart the system. We can use reboot , shutdown and systemctl commands in order to reboot a Linux system or server. Reboot Linux Most Linux distributions … Read more

Change Hostname In Linux

The hostname is used to identify and name a Linux system. The hostname is generally set during the operating system installation process. But the hostname is just a configuration that can be changed or set later In this tutorial we examine different ways and methods to change the hostname in Linux like Debian, Ubuntu, CentOS, … Read more

How To Print Range Of Columns Using awk Command?

The awk command is used to edit the command output or text files in a streaming way. The awk command provides a lot of features and commands to print content of the provided text. We can use the awk command in order to print range of columns. Print Range of Columns The print command can … Read more

How To Unzip File In Linux?

How To Unzip File In Linux?

Zip is one of the most popular archives or compression formats and algorithms. The zip is used to compress data into a single file. Multiple files or folders can be zipped into a single zip file. In this tutorial, we examine different cases to unzip files in Linux. Install unzip Command In most of the … Read more

How To Find Large Files In Linux?

Linux is a file-based operating system that contains a lot of files of different sizes. During daily usage, a lot of files are created or downloaded by systems or users. This consumes a lot of disk space which results in storage errors and warnings. We can search and find big or large files using different … Read more

How To Change Linux File and Directory Permissions?

How To Change Linux File and Directory Permissions?

Linux is a secure operating system that uses file and directory permissions to allow and deny different access types. In general, a file or directory has 3 operations named read , write and execute . These operations permissions can be set according to the different users or user groups. The chmod command is used to … Read more

Where Is cron or crontab Log?

Where Is cron or crontab Log?

The cron or crontab are a command and service used to run scheduled commands and scripts in Linux operating systems. The cron is used to set scheduled commands and execute them at specified times or intervals. This operation is error prone where we may need to check if the specified cron job is executed properly. … Read more