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

Docker Tag Command Tutorial

Docker Tag Command Tutorial

The docker tag command is used to manage tags for the docker images. An image consists of multiple layers which can be derived by new other docker images. Tags are used to identify and track different images easily. Tags names should only use ASCII characters. The tags are registered the registry-1.docker.io in order to be … 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

Disable SELinux In Centos7/CentOS8

Disable SELinux In Centos7/CentOS8

RHEL and CentOS operating systems provide the SELinux security feature by default. The SELinux is enabled by default but in some cases, we may need to disable SELinux. This tutorial explains how to disable CentOS7, CentOS8, and RHEL SELinux. SELinux Modes Before disabling SELinux for CentOS we should know the SELinux modes. SELinux provides the … Read more