For Loop In Bash Script

For Loop In Bash Script

Linux Bash Shell provides the For Loop in order to iterate over the given array, list, string, etc. For loops are very useful for iterative operations and heavily used in Linux bash shells. In this tutorial, we examine different ways and examples to use for loops in the Bash shell. for Loop Syntax The bash … Read more

echo Command In Linux Tutorial

echo Command In Linux Tutorial

The echo command is used to display lines of text in Linux and Unix operating systems. It is generally used to print some text to the standard output which the current terminal. The echo command is very simple but provides different formatting options inside text. The echo command can be also used to print bash … Read more

How To Copy Files and Directories In Linux?

How To Copy Files and Directories In Linux?

All Linux distributions provide the cp command as a copy command for the files and directories. The cp name comes from the copy . The copy command can be used to copy files and folders easily. Files and folders can be copied using different options of copy command like recursive, verbose, preserving attributes, etc. In … Read more

How To SSH Into Running Docker Container?

How To SSH Into Running Docker Container?

Docker is used to creating containers and run them isolated from the host. Docker containers are very similar to virtual machines where they provide similar services to VMs like SSH, HTTP, Telnet, etc. In this tutorial, we examine how to SSH into a running Docker Container in different ways like using the docker exec , … Read more

How To Change Ubuntu Hostname?

How To Change Ubuntu Hostname?

The hostname is used to identify a computer or system in a network. The hostname is a user-generated value generally set as easy to remember the name. Operating systems generally set this name automatically during setup but also provide the ability to change it during Ubuntu installation. The hostname can be also changed after the … Read more

Install Docker On Linux

Install Docker On Linux

Docker is supported by most Linux distributions. The installation of Docker on Linux distributions may be different according to the distributions versions. Install Docker For Ubuntu, Debian, Mint, Kali Ubuntu, Debian, Mint, and Kali all of them use very similar packages and repositories with the deb packet management system. The docker can be installed for … Read more

How To Find Directory In Linux?

How To Find Directory In Linux?

Linux provides different tools or command in order to search and find directories. The find command is the most popular and useful command to find directories in Linux. The find command can be used to search and find directories according to the path, name, name pattern, and related parameters. In this tutorial, we examine how … Read more

Linux strace Command Tutorial

Linux strace Command Tutorial

Linux strace command is used to debug and troubleshoot commands and executables by providing detailed information about the process execution. The strace command simply intercepts and records the system calls called by process or threads. Install strace Command The strace command is installed by default for some popular Linux distributions by default. But in some … Read more

“apt get install” Command Tutorial

"apt get install" Command Tutorial

apt-get install command is one of the most useful commands for the deb-based distributions. The apt is a package manager mostly used by deb-based distributions. Deb-based distributions mean distributions using the deb packages like Debian, Ubuntu, Mint, Kali, etc. The “apt-get install” command is also used as “apt install” which provides the very same features … Read more

How To Check SELinux Status?

How To Check SELinux Status?

SELinux or Security Enhanced Linux provides extra security for Linux distributions. SELinux is generally installed on enterprise Linux distributions like Ubuntu Server, RHEL, CentOS, etc., and generally enabled by default. But this case may change according to different situations. SELinux provides 3 modes called Enforcing , Permissive and Disabled . In this tutorial, we explain … Read more