.bashrc vs .bash_profile

.bashrc vs .bash_profile

Linux, Unix, and MacOS operating systems provide the bash shell in order to provide a command-line environment and shell. The bash shell has different configurations which can be configured using the .bashrc and .bash_profile files. The .bash and .bash_profile files can be used to set different bash configurations like $PATH, history, alias, command prompt, etc. … Read more

Difference Between “yum update” and “yum upgrade” Commands

Difference Between "yum update" and "yum upgrade" Commands

RPM-based distributions like CentOS, RHEL, and Fedora provide the yum command for package management. The yum update command is used to get the latest repository information and update packages with this information. The yum upgrade command provides a very similar function by updating the packages but there is a small difference. Difference Between “yum update” … Read more

How To Install Python3 On Ubuntu?

How To Install Python3 On Ubuntu?

Python is popular programming and scripting language which is used in different cases and applications. Python is cross-platform and can be used in different platforms, and operating systems. Python3 is the latest version and can be installed on Ubuntu easily. In this tutorial, we examine different methods to install Python3 on all Ubuntu distributions. Check … Read more

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

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