The Linux tar Command – How to Use It Like a Pro
The tar command is a handy tool used by system administrators to create and manage archive files. It takes files and directories and compresses them to tar.
The tar command is a handy tool used by system administrators to create and manage archive files. It takes files and directories and compresses them to tar.
Most Linux and UNIX users run the ls command to view the contents of a directory. But did you know you can use the dir command to achieve this? Take a look!
The gzip command is a command-line utility that reduces the file sizes by applying the DEFLATE compression algorithm. The goal is to reduce the size of files.
The Linux tee command works similarly to the cat command, with the exception that, on top of writing the stdin to the stdout, it also writes it to a file.
The Linux chown command helps change a file’s ownership in Linux and UNIX-like systems. Here are examples to get you started.
The less command allows you to view a file’s contents page by page. This post shares more insights on how to maximize on the less command.
The head command displays the first 10 lines of a given file. This post discusses the head command in detail giving examples.
The tail command displays the last 10 lines in a file. This post discusses the command in detail, giving examples of how to use it.
The Linux rmdir command helps with deleting empty directories. Learn how to use the command, including how to delete non-empty directories.
The Linux rm command helps with deleting files and directories. You can use the command with different options and this post has discussed some examples.
The mkdir command is used to create directories. You can create a directory or multiple directories with a single command and even set their permissions.
The mv command is used to rename and move files and directories in Linux. Let’s dig in on how to use it through examples.
The cp command is utilized to copy files and directories. This post gives different ways of copying files and directories.
The df command in Linux stands for ‘disk filesystem.’ It summarizes the disk space available on a file system and you can use it with different options.
The cat command is mainly used for concatenating files. You can also use it for creating files and displaying their contents.
The “du” command helps with analyzing the disk space occupied by files or directories. Let’s dig in to understand the dig command using examples.
The ln command in Linux creates soft and hard links. This post discusses the “ln” command giving practical examples of using it.
The grep command in Linux helps with quickly searching for a pattern within files. You can use it with different options to customize your search.
Linux touch command has two purposes. It can be used to create files or update a file’s timestamps. Here are examples to get you started.
The Linux tree command lets users view the hierarchical structure of a directory. It recursively lists the contents of the directory in all the levels.
You can use two commands in Linux to locate/find files. You can use the find or the locate command. The choice will depend on your search intent.
The Linux pwd command lets users print the current working directory. That way, you can quickly know your position in the Linux file system.
This posts guides you into mastering the find command in Linux to efficiently streamline your file search process. Let’s dig in!
The ls command in Linux allows a user to list the contents of a directory to view the available files
The cd Linux command has different functionalities. This post discusses the cd command in Linux and gives different examples of how to use it.