Commands

arping Command on Linux Explained

arping Command on Linux | Explained

In Linux, the “arping” command sends ARP requests to the host by specifying the IP address and verifying the availability of hosts on a network.

lftp Command in Linux

lftp Command in Linux

The “lftp” command transfers or manages files in a remote machine by making a connection over protocols including UDP, HTTP, FTP, and many more.

How to Follow Redirects Using curl

How to Follow Redirects Using curl?

To follow the redirect to the URL, execute the “curl -L ” command. Before it, users must ensure that the “curl” command is installed in the system.

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.

View the Content of a Tar File

How to View the Content of a Tar File?

Linux offers the “tar” command with the “tvf” option to view the contents of a tar file. It displays the “file names”, “date and time”, and “file location”.

How to Use the lsusb Command in Linux

How to Use the lsusb Command in Linux?

Linux offers the “lsusb” command to display a list of all USB devices connected to the system, including the device’s vendor ID, product ID, and device class.

How to Use fg Command in Linux

How to use fg Command in Linux?

To use the fg command in Linux, follow the general syntax “fg [Job]”. You can use different symbols to bring the jobs into the foreground in Linux.

Linux | ping Command

Linux | ping Command

In Linux, the ping command is used to troubleshoot networks, including the local machine network. The ping command comes preinstalled on Linux.

What Exactly Does tar xvf Do?

What Exactly Does tar xvf Do?

The tar command compresses and extracts the files/directories. The tar xvf is used to extract the contents of the archive file with its verbose.

Sort “du” Command by Size

Sort “du” Command by Size

Sort output from largest to smallest by a combination of “du” and “sort” commands with the “h” option. It displays output in a human-readable format.

Linux more Command With Examples

Linux more Command With Examples

Linux offers a “more” command that allows you to view the contents of a text file or output one page at a time. The syntax with multiple examples is given here.

Linux ls Command File Size Formatting

Linux ls Command File Size Formatting

In Linux, the “ls” command works with “-l” and “-h” options to display the list of file sizes in a long and human-readable format, respectively.

fdisk Command in Linux Explained

fdisk Command in Linux | Explained

Linux offers the “fdisk” command to create, delete, and modify the partition in the system. It requires the name of a hard disk to display information.

source ~/.bashrc | Explained

source ~/.bashrc | Explained

The “source ~/.bashrc” command in Linux is used to update or refresh the changes made in the bashrc file to be applicable in shells permanently.

How to run SSH command and exit

How to Run SSH Command and exit?

To run the SSH command for executing different commands in the remote machine, enter the remote machine’s shell with “ssh user@ip_address”.

chattr Command in Linux Explained

chattr Command in Linux | Explained

In Linux, the “chattr” command is utilized to change the existing attributes of a file such as “i” for immutable, “a” append mode via “+”, “-” operators.

unlink Command in Linux Explained

unlink Command in Linux | Explained

In Linux, the “unlink” command removes the file and link after accessing the required directory. It is useful to remove unnecessary files from the system.

grep Command in Linux

grep Command in Linux | Explained

In Linux, the grep command is utilized to highlight (shows the match) the specific word, character, or string after searching the entire content in a file.

Sysctl Command in Linux Explained

sysctl Command in Linux | Explained

The sysctl command allows the user to modify the kernel parameters on the Linux system at runtime. You should only do that if you are fully aware.

pkill Linux Command Explained

pkill Linux Command | Explained

The “pkill” command kills the execution of currently active processes in linux such as “-f” (full process name), “-o” (oldest process), “-n”(newest process).

Ps Command in Linux Explained

ps Command in Linux | Explained

The ps command in linux is used to display all the running processes in the terminal. Detailed information about the processes will be displayed.

pwd Command in Linux | Explained

pwd Command in Linux | Explained

In Linux, the pwd command prints out the directory you are currently working on and provides an exact path from the root to the current directory.

diff Command in Linux | Explained

diff Command in Linux | Explained

The diff command is used to make the comparison between two files comparing their every line. The diff command comes pre-installed in Linux distributions

netcat Linux Command Explained

netcat Linux Command | Explained

In Linux, the netcat command is utilized to monitor the data across multiple devices within the network. This post has briefly explained the netcat command

Kill Command in Linux Explained

kill Command in Linux | Explained

The kill command is used to pass different signals in Linux to manage the behavior of the processes. In this blog, the kill command has been explained in detail.

cp Command in Linux | Explained

cp Command in Linux | Explained

The cp command in Linux is used to copy files and directories from different source locations to the destination in the computer

cd Command in Linux | Explained

cd Command in Linux | Explained

The cd command in Linux is used to change the directory. We can change our directory to another directory, home directory, or directly to the root directory

su Command in Linux | Switch User

su Command in Linux | Switch User

su Command in Linux | Switch User
Excerpt: We can switch from one user account using the terminal instantly. To switch from another user account to the already logged-in user, we use the “su command”.

Ping command in Ubuntu 22.04

Ping command in Ubuntu 22.04

On Ubuntu 22.04 install the Ping command by executing “sudo apt install iputils-ping” on Ubuntu’s terminal and verify the installation by “which ping” command.

How to use jobs command in Linux

How to use jobs command in Linux

In Linux, the jobs command permits you to interact with the system jobs through the terminal directly. This command is also used to check the states of the jobs and list them with their detailed information. We have explained what jobs command is, its syntax, jobs states, and jobs command options, and its usage in Linux. Also, the procedure of starting a job, running it in the background, then moving it to the foreground is provided in this article.

explain-use-tee-command-examples

Linux | tee Command With Examples

In Linux, the tee command is used to read the standard output of any command and can store it in a new file. Read out this post to learn more about tee command.

export-command-linux-explained

Export command in Linux | Explained

The export command is one of the built-in commands of the bash shell which is used to export the environmental variables from the parent shell to the newly created child shell. In this write-up, we have discussed the export command and explained its utilization in Linux with the help of examples. We also explained the options used along with the export command.

delete-groups-groupdel-command-linux

How to delete groups with groupdel command in Linux

The groupdel command is used to delete the user group when is no more need of the group and also remove from the file /etc/group. This command doesn’t delete the configuration files related to the group but deletes all the entries and account files related to that group. In this article, we have discussed the usage of the groupdel command in Linux to delete the groups with the help of examples.

modify-groups-groupmod-command-linux

How to modify groups with the groupmod command in Linux

The groupmod command is used to modify the existing definitions of the groups in Linux which includes its name, GID, and password. This command can be used at any instant of time. There are different options that can be used with the groupmod command to implement these modifications. In this write-up, we have explained the usage of the groupmod command using its different options.

create-new-groups-groupadd-command-linux

How to create new groups with groupadd command in Linux

The groupadd command is used to create new groups in Linux, these users can assign specific permissions by granting the permissions to the groups. It is very useful in huge networks, where multiple users can be granted the same permissions by adding them to a single group. In this write-up, we have discussed the usage of the groupadd command in Linux for creating the groups. We have also explained the usage of its different options with the help of examples.

How to use screen command in Linux

How to use screen command in Linux

In Linux, using the screen command permits you to create a screen session and open as many virtual terminals as you like within that session. Even if you get disconnected or the screen session is not visible, the jobs or processes running on the screen will continue to perform the respective operations. This guide explains screen command, its syntax, installation method, and its usage in Linux. Also, the screen command options and shortcuts with descriptions are provided in this article.

top-twenty-five-vim-commands-for-linux

Top 25 Vim commands for Linux

VIM application is a top-notch text editor. It is a free and open-source text editor that runs on all major platforms with much functionality and support from the programming community. The VIM text editor also offers several useful commands that you should master to get the most out of it. In this article, we explain top 25 most significant vim editor commands.

all-basic-selinux-commands-you-need-to-know

All Basic SELINUX Commands You Need to Know

SELinux (Security Enhanced Linux) is a security protocol for Linux administrators that allows them to acquire more control. The SELinux protocol allows them to enforce the resource policies that represents how much access a program or any user do have. This SELinux is supported by several commands that automates the task of an administrator. In this article, we explain and execution of all basic SELinux commands that a regular user may need to know.

Linux Perf command

Linux Perf command

Perf is a lightweight CPU profiling command-line utility that monitors program events and examines CPU performance. The perf command may record CPU performance counters and trace points and is used as a major interface to the Linux kernel’s performance monitoring features. The perf tool helps you improve your system by revealing which applications take the longest to execute. In this article, we explain what Linux perf command is and how you can use it.