Vishesh Kumar has Published 10 Articles

How to Merge PDF Files in Bash?

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 10:21:51

442 Views

Introduction On various occasions, we desired to combine PDF files to organise them, lessen clutter, or share them with others. Linux provides a variety of utilities for merging pdf files. Some of the most popular ones are listed below − pdfunite pdftk gs convert qpdf These application tools ... Read More

How to write Stdout to a file with colors?

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 10:20:02

606 Views

Introduction The tools we can use to send standard output to files while maintaining their colours will be covered in this post. This is especially helpful while troubleshooting because it makes it simpler to scan the output logs thanks to the coloured areas. By Using Grep A file can be ... Read More

How to swap two files in Linux command line?

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 10:17:04

1K+ Views

As system administrators or DevOps functions, many times we come with the requirement to exchange files content, for example, suppose you have a backup file of /etc/passwd by name /etc/password.backup and you want to restore the same in /etc/passwd but you also want current content of /etc/password should be copied ... Read More

How to encrypt a large file using openssl?

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 10:15:16

1K+ Views

OpenSSL OpenSSL is a valuable tool for general-purpose cryptography and secure communication, and it does various tasks, including encrypting files. Most Linux distributions install the device by default; if not, you can install it using your package manager. Before encrypting a file using OpenSSL, let us have a basic understanding ... Read More

How to Add a String After Each Line in a File in Linux?

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 10:08:33

2K+ Views

Introduction We occasionally need to make changes to files quickly, preferably from the command line. One example is adding a string to the end of each line of a file. In this article, we'll look at several ways to accomplish this using various Linux commands. The sample file language.txt that ... Read More

How to Find Open Port in Linux?

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 09:54:12

737 Views

Before explaining how to list all open network ports in Linux, we will briefly discuss ports in computer networking. In computer networking and software terms, a port is a logical entity representing a network application. A port is a term used to recognize a network service by a number. The ... Read More

Docker Container Network Namespace Is Invisible

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 09:50:49

522 Views

This article will look at a problem with the network namespace file in a Docker container. We'll examine why the network namespace file is invisible to the ip netns ls command. Before moving ahead, let's have a brief overview of Docker, Containers and Network Namespace Containerization Containerization is similar to ... Read More

cURL Command Without Using Cache

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 09:45:02

1K+ Views

Introduction cURL (Client URL) is a command-line tool. It allows data to be transferred to or from a server without requiring user interaction by utilising the supported libcurl library. cURL can also be used to troubleshoot network connections. In some cases, we may need to send requests that bypass the ... Read More

Creating a Hex Dump of a File

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 09:42:30

1K+ Views

Introduction Hexdump shows the binary file contents in hexadecimal, decimal, octal, or ASCII form. It is an inspection tool that is also useful for programming, reverse engineering, and data recovery. It represents the content of a file in hexadecimal form. The various tools we can use to generate a file's ... Read More

Convert Hex to ASCII Characters in the Linux Shell

Vishesh Kumar

Vishesh Kumar

Updated on 21-Nov-2022 09:27:21

7K+ Views

Introduction If a numbering system is represented in base 16 then it is considered to be hexadecimal. In this article we will understand to convert Hex to ASCII in the Linux Shell. The hexadecimal system uses a combination of digits and alphabetic characters, and it looks like this −0 1 ... Read More

1
Advertisements