A tar archive is a file that stores a collection of other files, including information about them, such as the ownership, permissions, and timestamp. In Linux operating systems, you can use the tar command to create tar archives. The command can also compress archives using a vast range of compression programs with gzip is the
terminal - Page 10 of 13 - DesignLinux
How to Rename Directories in Linux
Renaming directories is one of the most basic operations you often need to perform on a Linux system. You can rename directories from the GUI file manager with a couple of clicks or using the command-line terminal. This article explains how to rename directories using the command-line. Renaming Directories # In Linux and Unix-like operating
How to Delete Lines in Vim / Vi
Vim or its precursor Vi comes preinstalled on most Linux distributions and macOS. Knowing the basics of Vim is important if you are a system administrator or just a regular Linux user. Quite often, when working with text files, you’ll need to delete one or more lines. This article shows how to delete lines in
How to Check Memory Usage in Linux
When troubleshooting system or application slowdown or misbehavior, one of the first things to check is the system memory usage. This article explains how to check RAM usage in Linux using several different commands. free Command # free is the most commonly used command for checking the memory usage of a Linux system. It displays
How to Count Files in Directory in Linux
Although not very often, there are times when you need to find out how many files are in a given directory. For example, if you run out of inodes on your Linux system, you’ll need to find which directory contains thousands or millions of files. In this article, we will show you several different ways
How to Check for Listening Ports in Linux (Ports in use)
While you facing network connectivity issues, the first thing is to check what ports are actually in use on your system and which application is listening on a specific port. In this tutorial described how to use netstat, ss and lsof commands to find out which services are listening on which ports. Listening Port# Port
Sysctl Command in Linux
As a Linux system administrator, sometimes you may need to modify the default kernel’s behavior. For example, you may need to enable the magic SysRq key or to increase the number of connections that Kernel will accept. The kernel parameters can be set when building the kernel, on system boot, or at runtime. This article
How to Install and Use Curl on Ubuntu 20.04
curl is a command-line utility for transferring data from or to a remote server. With curl, you can download or upload data using one of the supported protocols, including HTTP, HTTPS, SCP, SFTP, and FTP. This article explains how to install Curl on Ubuntu 20.04. Installing Curl on Ubuntu # If you get an error
How to Unzip (Open) Gz File
Gzip is a popular compression algorithm that reduces the size of a file while keeping the original file mode, ownership, and timestamp. This algorithm is often used to compress web elements for faster page loading. By convention, a file compressed with gzip ends with either .gz or .z. This article explains how to open (or
How to Search in Vim / Vi
This article describes how to perform search operations in Vim / Vi. Vim or its precursor Vi comes preinstalled on macOS and most Linux distributions. Searching text is one of the most common tasks when working with files. Knowing the basics of Vim might be very useful when you encounter a situation where your favorite