Linux Bash Array Tutorial

Linux Bash Array Tutorial

Linux bash provides programmatic features like arrays. Bash array is a useful feature that can be used to store multiple items in a single variable. The bash array can be used to store multiple items and iterate them to read with loops. Different programming languages provide the array or list feature but the bash array … Read more

How To List Docker Containers?

How To List Docker Containers?

Docker is a popular containerization tool. By using docker a lot of containers can be created easily in a short time. But one of the most popular problems is how can be list docker containers. A docker container can be in different states like running, stopping, etc. In this tutorial, we examine how to list … Read more

How To Copy Directory In Linux?

How To Copy Directory In Linux?

Linux provides directories in order to store other directories and files. One of the most popular daily tasks is copying directories and their contents. The cp command can be used to copy directories in Linux. But there are different ways to copy directories like recursive, preventing overwrite, interactive, etc. Copy Directory with cp Command The … Read more

Scp From Remote To Local

Scp From Remote To Local

The scp command is used to copy files and directories over the network in a secure way. As a command files can be copied via the command-line interface. The scp name comes from Secure Copy . The scp command is provided by most of the Linux distributions can be used to copy from the remote … Read more

How To Check If A File Exist In Bash?

How To Check If A File Exist In Bash?

Linux bash provides a lot of built-in commands in order to execute different tasks. There are different commands and tools which can be used to check if a file exists. The file existence can be checked with different commands like test . Also, these bash methods can be used inside bash scripts in order to … Read more

Linux cp Command Tutorial

Linux cp Command Tutorial

Linux distributions provide the cp command in order to copy files and directories. The name cp comes from the copy. The cp command can be used to copy single or multiple files and folders in a recursive manner by including the child files and directories. cp Command Syntax The cp command syntax is like below. … Read more

Linux tar Command Tutorial with Examples

Linux tar Command Tutorial with Examples

Linux tar command is used to create archives for data, files, and folders. The tar command name comes from tape archive . One of the most useful features of the tar command is compressing multiple files and folders into a single file which can be easily compressed with different tools like gz, bz, 7z etc. … Read more

“sudo command not found” Error and Solution

"sudo command not found" Error and Solution

Most of the Linux distributions provides the sudo command in order to run different tools and commands with root privileges. A regular user can run tools and commands with root privileges by using the sudo but the user should be configured to access sudo command. In some cases, the user can get the sudo command … Read more

How To Install PIP (Python Package Manager) In Linux?

How To Install PIP (Python Package Manager) In Linux?

Python provides 3rd party packages for extra features. These packages are provided by different developers via the Python Package Index or PyPI . The pip command is used to manage (search, install, updated, remove) these packages. The pip command can be also named as pip2 for Python2 and pip3 for Python3. Linux distributions like Ubuntu, … Read more