Category Linux

How tar works in Linux

The tar command in Linux is used to bundle up multiple files and/or directories. It’s similar to the zip command. However, zip files are compressed by definition; tar files can be compressed, but don’t have to be. How tar Works…

3 Ways to find largest files in Linux

Running low on disk space? Knowing how to find the largest files on a Linux system is a handy trick for freeing space fast. In this post we’ll use three tools—find, du, and ls—to track down the biggest files, with real command…

Linux Find exec Command Cheat Sheet

find is a Linux/Unix command used to search for files and directories in a specified location based on certain criteria such as name, size, modified time, and ownership, among others. The exec option in find is used to execute a…

Remove users in Linux using userdel Command

The userdel command is a Linux utility that can be used to delete user accounts and their associated files. Open the terminal and type userdel username. It performs this function by removing the user’s entry from the /etc/passwd file, and…

10 useful Linux useradd command Examples

The Linux operating system offers a plethora of powerful commands, each designed to perform specific tasks efficiently. One such command is ‘useradd,’ which plays a crucial role in managing user accounts on a Linux system. Whether you are a system…

5 commands to manage Users in Linux

Managing user accounts and groups is an essential responsibility for Linux administrators. In this tutorial, we will explore a range of Linux commands that enable us to perform fundamental user management tasks. We’ll cover creating new users, creating groups, deleting…