Pradeep Jhuriya has Published 99 Articles

Is There a Way to ‘uniq’ by Column on Linux?

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 13-Feb-2023 17:13:44

2K+ Views

Introduction On the Linux operating system, the "uniq" command is used to remove duplicate lines from a sorted file. However, sometimes you may need to remove duplicates based on a specific column, rather than the entire row. This becomes particularly useful when working with column-based input files, such as CSV ... Read More

How to Change Terminal Output Color in Linux?

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 13-Feb-2023 17:12:32

20K+ Views

Introduction The Linux Terminal is a powerful tool that allows users to interact with the operating system through the command line. However, the terminal's default output color can be dull and unattractive. In this article, we will discuss several ways to change the terminal output color in Linux. We'll cover ... Read More

Shutdown and Reboot Linux Systems From the Terminal

Pradeep Jhuriya

Pradeep Jhuriya

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

577 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

7K+ 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

5K+ 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

8K+ 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

8K+ 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

14K+ 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

1K+ 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

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