Linux

How to Check the PHP Version

How to Check the PHP Version?

In Linux, the “php –version” or the “php -i” commands are used to check the installed version of PHP. You can also search for specific PHP versions.

How to check if a file exists in bash

How to Check if a File Exists in Bash?

Three different methods are used to check if a file exists in bash, which are executed using the “test EXPRESSION”, [EXPRESSION], and [[EXPRESSION]] commands.

How to Analyze Disk Usage in Linux

How to Analyze Disk Usage in Linux?

To analyze the disk usage in Linux, run the “df” command, and the “du” command in the terminal or use the disk usage analyzer application (GUI).

add user to docker group

How to Add User to Docker Group?

A docker is an open-source application managing platform where users can be added to the docker group using the “sudo usermod -aG docker user-name” command.

How to List Users in Linux

How to List Users in Linux?

To list users in Linux, run the “cat /etc/passwd” command. Use “cat /etc/passwd | cut -d: -f1”, and “awk -F: ‘{ print $1}’ /etc/passwd” commands for user names.

How to Undo and Redo in Vim

How to Undo and Redo in Vim?

To undo in Vim, the “u”, “:u”, or “:undo” commands and to redo the “:r” or “ctrl + r” commands are used in “Normal” mode.

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.

tr Command in Linux With Examples

tr Command in Linux With Examples

The “tr” command is utilized to transform strings from standard input and display the output after performing operations(deleting, replacing characters, etc.).

Does Ubuntu need Antivirus

Does Ubuntu need Antivirus?

Viruses exist on Ubuntu, but they’re not very effective, and security breaches are rare. Read this article to get more details

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.

Replacing String in Bash

Replacing String in Bash

Two methods are used to replace a string in bash/shell script that is using the “sed” command or the “native substring {EXPRESSION}” in Linux

How to Search in Vim Vi

How to Search in Vim / Vi?

To search a word or pattern in Vim/Vi, use the “/” for forward search and “?” syntax for backward search in the document.

How to Change User Password in Linux

How to Change the User Password in Linux?

To change the users’ password in Linux, use the commands “passwd” or “chpasswd” in the terminal or open the “Users” option in Settings using the GUI method

How do I Open a Text File in Linux Terminal

How do I Open a Text File in Linux Terminal?

To open a text file in a Linux terminal, we can use the “cat”, “head”, “tail”, “more”, “less”, “nl”, and “xdg-open” commands and text editors, “nano” and “vim”.

How to Use htop Command in Linux

How to Use htop Command in Linux?

The htop command is used to manage the system processes like CPU & memory consumption, running tasks, and details of each system process

How to Install Cisco WebEx in Linux?

How to Install Cisco WebEx in Linux?

To install the Cisco WebEx on Linux distributions, download the Debian or RPM package of Webex and install it using the apt, yum, or dnf package managers.

cat Command in Linux | Explained

cat Command in Linux | Explained

The cat command is mostly used to read the content of the file. There are various options available as well, which are discussed in the article.

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.

Linux Time Command Explained

Linux time Command | Explained

Linux time command is used to get the execution time, including real-time consumed by the system, user mode time, and system mode time.

Restart a Linux System Using Terminal

Restart a Linux System Using Terminal

Restarting a Linux OS is sometimes necessary to run everything smoothly. We discussed different methods to restart the Linux system using the terminal.

How to Exclude in grep

How to Exclude in grep?

The grep command allows users to find or sort data according to syntax matches. This article covers the detail on how to exclude in grep.

How to FindGet your IP Address in Linux

How to Find Your IP Address in Linux?

The IP addresses are of two types, i.e., Public and Private. They are your digital location, and there are many ways to find them, as discussed in the article

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”.

Source Command in Linux | Explained

Source Command in Linux | Explained

Source command uses the same shell script and can be used to read the content of the file and then execute them. Read this article for more details about it.

Linux File Command Explained

Linux file Command | Explained

The file command is used to retrieve the file type and the data associated with the file in Linux. Find more details in this article about the file command.

How To Add Apt Repository In Ubuntu

How to Add Apt Repository in Ubuntu?

There are four main repositories in the Ubuntu distribution that you can access using the apt command. Read out this post to learn how to add all these

How to Check Linux Version

How to Check Linux Version?

Linux version can be checked using the command “hostnamectl”, “uname”, “lsb_release”, and many more. Read this article to get more details about them.

Linux ifconfig Command Explained

Linux | ifconfig Command Examples

In Linux, the purpose of the ifconfig command is to configure the network interfaces, specifically those associated with Kernel modules

How to Create a File in Linux

How to Create a File in Linux?

To create a file in Linux, use the touch or Redirect Operator “>” commands. We can also use “>” with “cat”, “echo”, and “printf” commands to create a new file.

What is Uname Command in Linux

What is Uname Command in Linux

The uname command is used in Linux to display the basic information of the computer, including kernel name, hostname, kernel version, and processor type.

How to Count Files in Directory in Linux

How to Count files in Directory of Linux?

To count files in directory, use the “ls [path] | wc -l”, “find [path] | -type f | wc -l”, “tree [path]”, and “rsync –stat –dry-run -a [path]” commands.

How to List Groups in Linux

How to List Groups in Linux?

To list the groups in Linux, use the “groups”, “/etc/group”, “id”, and “getent” commands. This guide serves extensive approaches to list groups in Linux.