Linux Articles

Page 93 of 134

Enable Debugging Mode in SSH to Troubleshoot Connectivity Issues

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 3K+ Views

SSH debugging mode is a powerful troubleshooting feature that provides detailed information about SSH connection processes. When connecting to remote servers, enabling verbose mode helps diagnose authentication failures, network connectivity issues, and configuration problems by displaying step-by-step connection details. By enabling debugging mode in SSH, you can monitor the complete handshake process, view certificate exchanges, examine authentication attempts, and identify where connections fail. This visibility is essential for system administrators managing multiple remote servers. SSH Verbosity Levels SSH offers three levels of verbosity, each providing increasing amounts of diagnostic information: Level Option Description ...

Read More

File Editing: Appending a Non-Existent Line to a File

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 225 Views

Appending a line to a file means adding new content without erasing existing data. This is a fundamental file editing operation in Linux systems that allows you to modify files by adding text at the end. Various commands like printf, echo, tee, and cat can be used with redirection operators to accomplish this task. The append operation is particularly useful when you need to add log entries, configuration lines, or any text content while preserving the original file structure and data. How File Appending Works The >> redirection operator is the key to appending content to files. ...

Read More

Find Files Not Owned by a Specific User in Linux

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

A Linux system may consist of various users with different permissions. However, sometimes we need to find files that are not owned by a specific user. The find command provides powerful options to search for files based on ownership, allowing you to locate files owned by other users or files with no owner at all. The find command is a versatile utility for searching files and directories based on various criteria including owner, type, permissions, and attributes. It comes pre-installed on almost every Linux distribution and is essential for system administration tasks. How to Find Files Not Owned ...

Read More

How to Insert a New Line Character in Linux Shell Script Output ?

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 1K+ Views

In bash, a newline refers to a line's end and marks the beginning of new text. In Linux/Unix operating systems, the newline character is represented as , which instructs the terminal to move the cursor to the beginning of the next line. Many text editors don't display this character by default. Inserting newline characters serves several important purposes − It helps format output to be readable and well-structured. Separating output into sections makes it easier to locate specific information. Newlines act as line breaks that identify where one line ends and another begins in scripts. They allow you ...

Read More

Using grep on Files That Match Specific Criteria

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

The grep (global regular expression print) command is a powerful text-processing utility that searches for specific patterns in files using regular expressions. It filters and displays lines containing the specified pattern, making it one of the most essential commands for system administrators and developers on Unix/Linux systems. Unlike other operating systems, finding content within files in Linux is straightforward with grep. This command can search through single files, multiple files, or entire directories, displaying matching lines or just the filenames that contain your search pattern. When using grep, keep these important points in mind: Grep is ...

Read More

Set Up cURL to Permanently Use a Proxy on Linux

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 1K+ Views

cURL is a command-line tool used to request data from servers and transfer it to devices. The user specifies the server URL and any data to be sent. cURL works on Windows, macOS, and Linux, supporting over 25 protocols including SFTP, FTP, HTTPS, and HTTP. It is one of the best open-source tools for API calls and debugging network requests. A proxy server acts as an intermediary between users and websites, transferring traffic while providing security and functionality layers. When using a proxy, internet requests first go to the proxy server, which evaluates them against predefined rules before forwarding ...

Read More

Processing Linux Commands in Parallel

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 13K+ Views

Processing Linux commands in parallel allows administrators to execute multiple commands simultaneously, significantly improving efficiency when performing tasks like system updates, service management, and file operations. Command chaining is the technique of combining multiple commands using various operators and methods. Using the & (Background) Operator The & operator runs commands in the background, allowing the shell to execute the next command without waiting for the previous one to complete. command1 & command2 Example running ls and cat commands simultaneously: ls & cat Linux.txt [1] 6178 Don't erase the existing ...

Read More

Print Lines Between Two Patterns in Linux

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 3K+ Views

Printing lines between two patterns is a common text processing task in Linux when you need to extract specific sections from files. While the grep command can find lines matching patterns, it cannot easily extract content between two different patterns. For this purpose, sed and awk commands provide powerful pattern-matching capabilities. This article demonstrates various methods to print lines between two patterns using sed and awk commands with different conditions and filtering options. Sample File Setup First, let's create an example file to demonstrate the pattern matching techniques − cat example.txt Information ...

Read More

How To List All Group in Linux ?

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

Groups in Linux are collections of users that provide a convenient way to manage permissions and resource access. A Linux system can have many users organized into multiple groups, where administrators assign specific privileges to control file and directory access. Users can belong to two types of groups − Primary / Login Group Secondary / Supplementary Group User-created files are assigned to this group. The primary group usually has the same name as the user. Grants additional privileges to a set of users for specific tasks or resources. Users ...

Read More

How to Fix \"Your PHP installation appears to be missing the MySQL extension which is required by Wo”?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 243 Views

The error message "Your PHP installation appears to be missing the MySQL extension which is required by Wo" indicates that your server lacks the essential PHP MySQL extension needed for WordPress to function properly. This common error typically occurs during WordPress installation, upgrades, or server migrations when the MySQL extension is not properly installed or configured. Understanding the Error PHP is a server-side scripting language used for web development that enables dynamic website functionality. WordPress relies heavily on PHP to interact with its MySQL database, which stores all website content, user data, and configuration settings. The MySQL ...

Read More
Showing 921–930 of 1,338 articles
« Prev 1 91 92 93 94 95 134 Next »
Advertisements