Johnson

What Does_sudo rm -rf_do

What Does ‘sudo rm -rf /*’ do?

The “sudo rm -rf /*” command recursively deletes all files and directories from the root directory. It deletes all the files on the computer permanently.

How to Remove NodeJS From Ubuntu

How to Remove NodeJS From Ubuntu?

To remove NodeJS from Ubuntu, use the APT package manager and source directory to remove packages along with all dependent and configuration files.

How to Force a Clock Update Using NTP

How to Force a Clock Update Using NTP?

To force a clock update using the NTP server, use the “ntpdate” command and “ntpd” service. They synchronize the time on the system with the time NTP server.

How to Upgrade Java on Ubuntu

How to Upgrade Java on Ubuntu?

To upgrade Java on Ubuntu, use the “sudo apt install openjdk-19-jdk” command or download the latest version of Java from the Oracle website and install it.

How do I Find Out Users in a Group?

To find out which users are in a group within Linux, utilize the “groups”, “getent”, and “id -Gn” commands and the “/etc/group” file.

How Do I Upgrade Docker on Ubuntu

How to Upgrade Docker on Ubuntu?

To upgrade Docker on Ubuntu, first, uninstall docker’s old version. Then, download and install the latest Docker package from the official Docker repository.

What is the _eval_ Command in Bash

What is the “eval” Command in Bash?

In Bash, the “eval” command evaluates its arguments as a shell script including “commands”, “variables”, “arithmetic expressions”, and “strings”.

How To Find Last Login on Linux

How To Find Last Login on Linux?

To find the last login on Linux, use the “last”, “lastlog”, “/var/log/auth.log”, “who” and “lastb” commands that display username, terminal, date, and time.

What is Load Average in Linux

What is Load Average in Linux?

Load average is the measure to determine the processes running or waiting to be run on the CPU. Three different methods can find the load average.

How to Run the getent Command in Linux

How to Run the getent Command in Linux?

To run the getent command in Linux, follow the general syntax “getent [Options] [Database] [Key]”. It finds the information from the computer’s databases.

Nmap Xmas Scan

Nmap Xmas Scan

The Xmax scan can be performed using the nmap command in the system. This scan displays the status of the ports of the target machine.

What is dev/null in Linux

What is /dev/null in Linux?

The “/dev/null” is a powerful tool in Linux that allows users to discard unwanted data, suppress error messages, make files disappear, and many more.

Open a Port in CentOS

How to Open a Port in CentOS?

CentOS offers the “firewall-cmd –permanent –add-port=80/tcp” command to open a port in the system. For this, configure the firewall to allow traffic.

How to Change Hostname in Centos

How to Change Hostname in CentOS?

CentOS offers the “hostnamectl”, “hostname”, and “nmtui” commands to change the hostname. Also, users can modify the hostname from the “/etc/hostname” file.

Disable IPv6 on CentOS

How to Disable IPv6 on CentOS / RHEL?

CentOS / RHEL offers the “sysctl” configuration file and “kernel” module to disable IPv6 in the system. For this, setting the disable_ipv6 parameter to 1.