Linux time Command Tutorial

Linux time Command Tutorial

Linux is a multitasking operating system that shares resources with different processes. Every process takes some CPU, memory, and similar resources which can be monitored with the time command. The time command is also used for performance testing which is generally used to test and count the performance of the scripts and commands. The time … Read more

$0 Script File Name Parameter Usage In Linux Bash

$0 Script File Name Parameter Usage In Linux Bash

Bash provides different parameters to get input from different sources. $0 is a special parameter that is used to store the name of the bash script. This $0 parameter is automatically assigned by the bash or bash interpreter and can not be changed in a script file like a regular variable. This makes it a … Read more

How To Generate SSH Public/Private Keys?

How To Generate SSH Public/Private Key?

SSH is a popular protocol used to manage systems remotely, transfer files, etc. SSH provides access to the remote systems in a secure way by encrypting the communication which is transferred over the computer networks. SSH also protects security by making authentication to access remote systems. Authentication can be done in different ways. The most … Read more

Linux arping Command Tutorial

Linux arping Command Tutorial

The arping command is a command-line tool used in the Linux operating system to discover and detect hosts on the network. The arping uses the ARP protocol in order to ping hosts with the Layer 2 ARP requests. The ARP protocol is used to resolve IP addresses to the MAC addresses in order to communicate … Read more

Ping Command In Linux with Examples

Ping Command In Linux with Examples

The ping command is provided by the Linux distributions like Ubuntu, Debian, Mint, Kali, CentOS, RHEL, SUSE by default. The term ping is the short form of the “Packet Internet Groper”. The ping command is used to check remote system network connectivity and troubleshoot the problem. The ping command uses the ICMP protocol and packets … Read more

List Upgradeable Packages with apt In Ubuntu

List Upgradeable Packages with apt In Ubuntu

Ubuntu uses the apt and apt-get command in order to manage packages. The apt is the next-generation update of the apt-get command and provides the same features with some extra useful features. The apt command can be used to list upgradeable packages before and upgrade. Update Package and Repository Information with “apt update” The apt … Read more

Linux .bash_profile File

Linux .bash_profile File

The bash shell provides a lot of features that can be configured by using bash configuration files like /etc/profile , ~/.bash_profile , ~/.bash_login etc. The .bash_profile file is located in the current user home directory as a hidden file. In some distributions may use the ~/.bashrc according to the .bash_profile file. In this tutorial, we … Read more

Linux top Command Tutorial with Examples

Linux top Command Tutorial with Examples

Linux provides the top command in order to monitor system resources from the command-line easily. The top common provides information about the CPU, Memory, Network, Process usage in real-time by updating the information every 2 seconds. The top command is provided by default by the popular Linux distributions and there is no need to install … Read more

What Will Happen When Delete Root File System with “rm -Rf /”?

What Will Happen When Delete Root File System with "rm -Rf /"?

The Linux geeks talk about the Linux file system structure its benefits and advantages over other operating system file systems etc. The Linux uses the root or / as the file system root and layout files and folders under this in a structural manner. Linux mostly used with commands like mkdir, rm, etc. But you … Read more

How To Run “sudo” Command Without Password with NOPASSWD?

How To Run "sudo" Command Without Password with NOPASSWD?

Linux distributions like Ubuntu, Debian, Mint, Kali, CentOS, RHEL, SUSE, etc. provide the sudo command in order to execute and run a command with root privileges without logging as the root user. The sudo command is very popular for daily usage power users generally provided the ability to run sudo command. The sudo command configuration … Read more