Pradeep Jhuriya

Pradeep Jhuriya

78 Articles Published

Articles by Pradeep Jhuriya

Page 5 of 8

Extracting a WAR File in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 25-Jan-2023 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 WAR file on Linux using the command line. A WAR file is essentially a ZIP file that contains all the files needed for a web application, including HTML, CSS, JavaScript, and Java files. Checking out a WAR file allows you to access the individual files it contains and make changes ...

Read More

Displaying Files Side by Side in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 25-Jan-2023 19K+ 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 on Linux, including using the diff and sdiff commands, as well as using the text editors vim and emacs. Using the diff command The diff command is a standard Linux utility that compares two files and displays the differences between them. It can be used to view files side by ...

Read More

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

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 25-Jan-2023 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, we will explore how to insert the content of a web page into a shell variable in Linux. What is a Shell variable? A Shell variable is a value stored in memory and can be used by the shell (command-line interface) and other programs. Shell variables are usually defined in ...

Read More

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

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 25-Jan-2023 35K+ 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 Linux, there are several ways to aggregate the contents of multiple files into a single file, and in this article, we'll explore some of the most popular and effective methods. Method 1: Use the cat command The "cat" command is a powerful tool on Linux that allows you to view ...

Read More

How to List All Connected SSH Sessions on Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 20-Jan-2023 40K+ 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 list all connected SSH sessions on Linux using various command line tools. List of SSH sessions connected with the who command The who command is a simple and widely available command-line tool for listing logged in users on a Linux system. To list all connected SSH sessions, you can use ...

Read More

What is a .pid File in Linux?

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 20-Jan-2023 7K+ Views

Introduction On Linux, a “.pid” file is a process identification (PID) file. It is used to store the process ID (PID) of a running process. The PID is a unique number assigned to each process when it is created and is used to identify the process in the operating system. The .pid file is usually located in the /var/run or /var/run/ directory and is named after the process it represents. In this article, we will discuss what .pid files are, how they are used, and how to work with them. What is a PID file? A PID file is a ...

Read More

How to Use the mysql Client and Related Utilities in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 20-Jan-2023 769 Views

Introduction MySQL is an open source relational database management system (RDBMS) that has been popular for over twenty years. It is widely used on Linux systems for both web server solutions and standalone applications. This article will provide an overview of the most commonly used MySQL utilities, including mysql and mysqladmin, along with some examples on how to use them. It's worth noting that the explanations in this article also apply to MariaDB, a popular fork of MySQL created by the original developers, due to concerns that MySQL may not remain open source and intend to maintain high compatibility with ...

Read More

How to use diff Command in Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 20-Jan-2023 8K+ Views

Introduction The Linux operating system is based on a robust set of command line tools that allow users to easily manage and control the system. One of the most powerful and widely used command line utilities is the "diff" command. The "diff" command in Linux is used to compare the contents of two files line by line and show the difference between them. This command-line utility is essential for developers and system administrators to identify changes to code or configuration files. In this article, we'll take a closer look at the diff command and its various options and usage scenarios. ...

Read More

Linux last Command

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 20-Jan-2023 7K+ Views

Introduction On Linux, the "last" command is used to display a list of users who have previously logged in to the system. This command is especially useful for system administrators who need to track user activity on a server. The last command can display a variety of information, including the date and time of access, the duration of the session and the terminal or device used to access the system. Options and Syntax The basic syntax of the last command is as follows − $ last [options] [username] Options available with the last command include − -a − Display ...

Read More

Evolution of Docker from Linux Containers

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 20-Jan-2023 566 Views

Introduction Docker is a powerful tool that allows developers to easily build, deploy and run containerized applications. Containers are a lightweight and portable form of virtualization that packages an application and its dependencies, making it easy to move between different environments. The evolution of Docker began with Linux Containers (LXC) and has since revolutionized the way we think about software development and distribution. In this article, we'll explore the evolution of Docker from Linux containers, the benefits of using containers, and how Docker enhances the LXC concept. What are Containers? Containers are a logical packaging mechanism that extracts applications from ...

Read More
Showing 41–50 of 78 articles
« Prev 1 3 4 5 6 7 8 Next »
Advertisements