Milton

killall Command in Linux Explained

killall Command in Linux | Explained

The killall command in Linux is used to kill multiple processes. It can kill the processes by their names and groups. killall command works with signals also

iostat command in linux

iostat Command in Linux | Explained

The iostat command in Linux displays the system’s resources being used. It can display the CPU or device/disk usage, resource usage report in real time.

bc Command in Linux Explained

bc Command in Linux | Explained

The bc command in Linux enables the terminal to be used as the basic scientific calculator. Additionally, bc command in Linux can also work with the files.

Wall command in Linux Explained

wall Command in Linux | Explained

The wall command in Linux allows the users to send broadcast messages to all the connected users or the group of users. Here wall command in Linux is discussed.

How do I set SELinux to Permissive Mode

How to set SELinux to Permissive Mode?

We can temporarily set the SELinux permissive mode with the “sudo enforce 0” command and permanently with “SELINUX=permissive” in the /etc/selinux/config file.

xxd Command in Linux with Examples

xxd Command in Linux with Examples

The xxd command can convert text into hexadecimal text, binary and reverse the hexadecimal to normal text as explained in this guide with different examples.

TCPDUMP Beginner Guide

TCPDUMP Beginner Guide

The important uses of the tcpdump command are explained, which can be very helpful for beginners to monitor the network communication with the tcpdump command.

List of GDB Commands and What They Do

List of GDB Commands and What They Do

GNU Debugger (GDB) acts as a compiler for various languages, i.e., C, and C++. Read out this post to get the list of GDB commands and their usage with examples.

How to List GPG Keys in Linux

How to List GPG Keys in Linux?

We can list GPG keys in Linux that help the users to view the information of public keys, secret keys, signatures, and fingerprints of the GPG keys.

Ufw Firewall Allow SSH

Ufw Firewall Allow SSH

The ufw service can be allowed on SSH for a specific IP address, subnet, port number, and connection, as done in this article.

How to Write to File in Bash

How to Write to File in Bash?

Several methods are discussed to write to a file in bash, which helps to write single or multiple lines and the same content to multiple files simultaneously.

Command Line Arguments in Linux

Command Line Arguments in Linux

Command-line arguments are parameters passed to a script while executing them in the bash shell, and their uses are discussed in detail throughout this article.

Bash Heredoc Explained

Bash Heredoc | Explained

We can use the Bash heredoc method in Linux to execute multiple lines of commands and data simultaneously, which is explained in this guide with examples.

How to Use the OpenSSL S_Client

How to Use the OpenSSL S_Client?

The OpenSSL S_Client command can be used to test, debug, disable the client-side connection and print, check, verify, and specify cipher for SSL certificates.

How to do port scan in Linux

How to do a Port Scan in Linux?

Multiple methods are used to do a port scan in Linux, which are nmap, netcat, ss, netstat, lsof, and telnet commands. All these are practically demonstrated here.

How to detach a session in Tmux

How to Detach a Session in Tmux?

Several methods to detach a session in Tmux are explained in this guide with the help of examples that include shortcut, command, and GUI methods.

How to list and attach tmux sessions

How to List and Attach Tmux Sessions

To list Tmux sessions “tmux ls”, “tmux list-sessions” and to attach “tmux attach-session -t ”, “tmux attach -t sessionID” commands are used.

How to Search DNS history in Linux

How to Search DNS History in Linux?

The DNS converts the domain name to a universally readable ip address, and to search the DNS history in Linux, use the “dig”. “Host” and “nslookup” commands.

How to kill all tmux sessions

How to Kill All the Tmux sessions?

All the Tmux sessions in Linux can be killed by using the “pkill -f tmux”, “tmux kill-server”, and “tmux kill-session -a” commands and using the system monitor.

SSH Port Forwarding on Linux

SSH Port Forwarding on Linux

The SSH port forwarding tunnels one server traffic to another on a specific port in Linux that is done using the “L” option with the SSH command.

Why and How to change default SSH port

Why and How to Change Default SSH Port?

The SSH default port is changed due to security reasons, and to change it, edit the ssh configuration file “/etc/ssh/sshd_config” or run the “sed” command.

How to Format a Drive in Linux

How to Format a Drive in Linux?

To format a drive or partition in Linux, we can use the fdisk, gdisk, mkfs command-line methods, while the GNOME Disks GUI method can also be used.

Curl ignore SSL Certificate Errors

Curl Ignore SSL Certificate Errors

The SSL certificate errors in Linux can be ignored or hidden by using the “-k” or “–ignore” options with the curl command or updating the CA certificates.

Nmap Ping Sweep in Linux

Nmap Ping Sweep in Linux

In Linux, the Nmap scans for online hosts using specific communication protocols, port numbers, live hosts, and IP addresses within a network.

Bash exit command and exit codes

Bash Exit Command and Exit Codes

The bash exit command quits the terminal or script and shows a specific exit code based on the command execution that can be used for conditional exiting.

How to use rsync dry run

How to Use rsync Dry Run?

The dry-run rsync command in Linux is used to test the output without any changes in the system to sync data between local and remote servers using its options.

Bash Append to File

How to Append to File in Bash?

Three methods are used to append the data to the bash file in Linux, which are the redirect operator (>>), cat, and tee commands, as discussed in this guide.

Bash while loop

Bash while Loop | Explained

Learn how to use the bash while loop to execute a set of commands repeatedly until a specified condition is met. It can help you automate your tasks.

printf Command in Bash Explained

printf Command in Bash | Explained

The bash printf command in Linux prints the output with specific formatting using backslash-escaped characters, conversion or format, and width specifiers.

How to Install MySQL on Ubuntu 22.04

How to Install MySQL on Ubuntu 22.04?

To install MySQL on Ubuntu 22.04, use the “sudo apt install mysql-server -y” command and configure using the “$ mysql_secure_installation” command.

Fix Too Many Open Files Linux

Fix: Too Many Open Files Linux

To fix the “too many open files” error in Linux, increase the opened files limit for the current session or for permanent.

How to create bash aliases

How to Create Bash Aliases?

The bash aliases are created by adding the alias into the ~/.bashrc file or creating a separate aliases file and adding its reference to the ~/.bashrc file.

Bash concatenate Strings

How to Concatenate Strings in Bash?

To concatenate bash strings, you can use strings together ($Str1$Str2), use curly braces (${Str1}${Str2}), and use the += operator (Str1+=”$Str2”).

How to compare strings in bash

How to Compare Strings in Bash

Comparison operators like the equality (= or ==), the not equality (!=), an empty string (z), and a non-empty string (n) are used to compare strings in bash.

Bash wait command

Bash wait Command | Explained

The wait command in the Linux bash scripts waits for the previous commands to complete execution for a specific PID, for the first PID only, and all the PIDs.

Bash read Command

Bash read Command | Explained

The read command reads the standard input and executes the commands with arguments as a prompt, reads array values, and sets the characters & time limit.

Bash Case Statement

Bash Case Statement | Explained

The Bash case statement checks the multiple input values against the set cases. It executes the correct statement and quits the case statement.

Linux Get User by ID

Linux Get User by ID

In Linux, the User ID (UID) stores all the user’s information which can be used with different commands like id, cat, getent, and awk to find users information.

How to Find and Replace in Vim

How to Find and Replace in Vim?

We can find & replace with the substitute command or find the word with forward slash “/” and replace with dot sign “.”. Read this post for further details.