Prateek Jangid has Published 190 Articles

Sniffing Packet Using tcpdump in Linux

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 16:14:33

810 Views

The process of monitoring all these data packets passing through the network is called sniffing. Network administrators commonly use sniffers to troubleshoot and monitor network traffic. The attackers use these sniffers to capture and monitor data packets to steal sensitive user account information, such as passwords, username, and location. Network ... Read More

Using grep on Files That Match Specific Criteria

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 16:13:02

901 Views

Grep (global regular expression print) command matches and searches the specific pattern in the regular expressions. This command filters and searches for a particular pattern of characters and displays them as output. It is considered one of the most useful commands on Unix / Linux-like systems for sysadmins and developers. ... Read More

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

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 14:40:34

575 Views

In bash, a newline refers to a line's end and a text's beginning. In Linux/Unix operating systems, the new line character is represented as ", " which instructs the terminal to move the cursor to the beginning of the next line. Many text editors don't show it by default. Inserting ... Read More

Find Files Not Owned by a Specific User in Linux

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 14:36:13

575 Views

A Linux system may consist of various users with different permissions. However, sometimes we need to find and access a specific user's files. So, in this case, you can use the find command to display the files owned by any other user. The find commands let you search for a ... Read More

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

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 14:34:03

45 Views

Appending a line or string to a file is sometimes necessary to change the output without deleting the existing data. It is a valuable way to modify a file by adding several lines between the existing ones of a file. "append" means adding the data into a file without erasing ... Read More

Enable Debugging Mode in SSH to Troubleshoot Connectivity Issues

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 14:24:58

2K+ Views

Sometimes, You need to connect your system on two different remote servers. In this condition, you can remove and troubleshoot connectivity issues by enabling debugging or verbose mode of these servers using the SSH command. By enabling the debugging mode in SSH, you can see the detailed information related to ... Read More

ELK Stack Tutorial: Get Started with Elasticsearch, Logstash, Kibana, & Beats

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 14:19:09

918 Views

ELK Stack is one of the best tools to view and handle files in the ELK Stack or the Elastic Stack. This tool consists of E- Elasticsearch, L- Logstash, and K- Kibana, the three open-source tools. ELK Stack tools are used to process and analyze large amounts of data in ... Read More

Elementary OS – A Linux Distro for Windows and macOS Users

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 13:56:15

994 Views

Elementary OS, a Ubuntu-based Linux OS, offers a stable, fast, and beautiful experience. Linux is always confusing for Windows and macOS users due to various reasons, some of which are as follows − Windows and macOS have a more standardized GUI (Graphical User Interface) quite different from the Linux ... Read More

Copy Directory Structure Without Files on Linux

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 13:33:10

2K+ Views

There are various commands in Linux to copy directories from one destination to another. In Linux, you can copy a directory recursively using the -R option with the cp command that copies the source directory, including all its files, to the destination. Conversely, sometimes we need to copy only the ... Read More

Changing the Default Shell in Linux

Prateek Jangid

Prateek Jangid

Updated on 18-May-2023 12:15:34

974 Views

Changing the default shell in Linux is simple, it gives you the freedom to use any shell accordingly. The default shell of most Linux systems is 'bash, ' which you replace from any other shell such as sh, fish, dash, zsh, etc. There can be many reasons in Linux why ... Read More

Advertisements