Pradeep Jhuriya has Published 97 Articles

Shutdown and Reboot Linux Systems From the Terminal

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 13-Feb-2023 17:09:07

787 Views

Introduction In this article, we will discuss how to shut down and restart Linux systems from the terminal. The ability to shut down and restart a system from the command line can be useful in a variety of situations, such as when the GUI is unavailable or when automating tasks ... Read More

Move All Files Including Hidden Files Into Parent Directory in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:41:57

9K+ Views

Introduction In Linux, hidden files, also known as dotfiles, are files whose names begin with a dot (.) character. These files are often used to store configuration data or other important information that should not be changed or deleted by the user. If you have a directory with a large ... Read More

Run Cron Job Only If It Isn’t Already Running in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:40:53

2K+ Views

Introduction Cron is a utility in Linux that allows users to schedule commands or scripts to run automatically at a specific date and time. However, sometimes it may be necessary to ensure that a cron job does not run more than once at a time. In this article, we will ... Read More

Find the Current Working Directory of a Running Process in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:38:29

9K+ Views

Introduction One of the basic tasks when working with processes on a Linux system is determining the current working directory of a process. The current working directory, also known as the "current directory" or "current working folder, " is the directory in which a process runs and interacts with files. ... Read More

Remove the Last N Lines of a File in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:37:16

12K+ Views

Introduction There may be times when you need to remove the last few lines of a file on Linux. For example, you may have a log file that is constantly being added and you want to keep only the most recent entries. In this tutorial, we'll explore a few different ... Read More

Extracting a WAR File in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:33:04

13K+ Views

Introduction WAR (Web ARchive) files are a type of archive file used to package web applications into a single file. They are similar to Java ARchive (JAR) files and are typically used to deploy web applications in a Java environment. In this article, we will learn how to extract a ... Read More

Displaying Files Side by Side in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:31:53

18K+ Views

Introduction Working with files on Linux can often involve comparing or analyzing multiple files at once. A useful way to do this is to view the files side by side in the terminal, allowing for easy comparison and analysis. In this article, we'll explore various ways to view files side-by-side ... Read More

Get the Contents of a Web Page in a Shell Variable on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:29:19

3K+ Views

Introduction One of the most useful and powerful features of the Linux command line is the ability to manipulate text. This can be especially useful when working with web pages, as web page content can often be saved as plain text and then manipulated with command-line tools. In this article, ... Read More

How to Append Contents of Multiple Files Into One File on Linux?

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 25-Jan-2023 10:24:57

34K+ Views

Introduction There are many situations where you may need to combine the contents of multiple files into one file. For example, you may have a number of log files that need to be analyzed or you may want to merge multiple text documents into one document for easy editing. On ... Read More

How to List All Connected SSH Sessions on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 20-Jan-2023 15:37:34

39K+ Views

Introduction Secure Shell (SSH) is a commonly used protocol for secure remote access to Linux servers. When multiple users are connected to a Linux server via SSH, it can be useful to list all connected SSH sessions for administrative or monitoring purposes. In this article, we will discuss how to ... Read More

Previous 1 ... 4 5 6 7 8 ... 10 Next
Advertisements