Kunal Verma has Published 20 Articles

Skip Hidden Files and Directories During Recursive Copy

Kunal Verma

Kunal Verma

Updated on 23-Mar-2023 18:24:41

958 Views

Abstract On the Linux command line, cp -r can be the first command that appears when we want to copy directories recursively. Dotfiles are understood to function under Linux as hidden files. We occasionally exclude hidden files and directories from directories while copying them recursively. We'll learn how to do ... Read More

Parse Command Line Arguments in Bash on Linux

Kunal Verma

Kunal Verma

Updated on 23-Mar-2023 18:23:59

2K+ Views

Abstract Command-line arguments can be entered sequentially or processed into options by bash programs. These arguments are used by command-line utilities to selectively select between execution environments or conditionally trigger functions in a Bash script. They can be set up in various ways in Bash. Note − Linux commands are ... Read More

How to Show the wget Progress Bar Only in Linux?

Kunal Verma

Kunal Verma

Updated on 23-Mar-2023 18:23:18

1K+ Views

Abstract Remote management of UNIX/Linux/BSD servers via an ssh session is a common practice. For installation, you might need to download the software or other files. For Linux operating systems, a few strong graphical download managers are available. However, the non-interactive downloader is preferred when using the wget command at ... Read More

How to Set Wget Connection Timeout in Linux?

Kunal Verma

Kunal Verma

Updated on 23-Mar-2023 18:22:38

1K+ Views

Abstract When working in a Linux environment, you have the freedom to decide how you want to download your files from a transparent URL. The majority of users are accustomed to Linux's interactive method of downloading such files. This interactive method involves using a web browser, where a user clicks ... Read More

Fixing the "Too many open files" Error in Linux

Kunal Verma

Kunal Verma

Updated on 23-Mar-2023 18:21:55

24K+ Views

Abstract On Linux servers under heavy load, "too many open files" problems occur frequently. It denotes that a process is unable to open new files (file descriptors) because it has opened too many already. The "max open file limit" is predetermined by default for each process or user on Linux, ... Read More

Find the Process That is Using a File in Linux

Kunal Verma

Kunal Verma

Updated on 23-Mar-2023 18:20:05

17K+ Views

Abstract There may be a situation where, despite the fact that no one is attempting to access the share to your knowledge, you are unable to unmount it. This is typically seen while mounting a share. The potential error that you could experience is "the file is busy", or we ... Read More

What Is Double Dot (..) And Single Dot (.) In Linux?

Kunal Verma

Kunal Verma

Updated on 19-Dec-2022 12:30:22

1K+ Views

Abstract Linux terminal/Shell contains several instances where a dot (.) is utilized. When displayed in the output of a command, a dot would also convey some significance. This article will examine the various situations in which a dot is typically used in Linux and the additional locations where this might ... Read More

Running a Shell Script on a Remote Machine Through SSH

Kunal Verma

Kunal Verma

Updated on 19-Dec-2022 12:29:01

6K+ Views

Abstract It's challenging to envision what would happen if you couldn't control your computer remotely because remote access to computers has long been necessary. The best way to connect to a remote machine is by SSH for Linux-based machines. The SSH client application can be used to log into a ... Read More

How to check if a File Type Exists in a Directory?

Kunal Verma

Kunal Verma

Updated on 19-Dec-2022 12:27:11

704 Views

Abstract There are times when we need to determine whether a particular file type is present in a directory or not. For instance, we might want to check if a directory contains python files. Therefore, there are a few approaches such as ls, find, etc which we can use to ... Read More

Diff a Directory for Only Files of a Specific Type on Linux

Kunal Verma

Kunal Verma

Updated on 19-Dec-2022 12:25:45

304 Views

In this article, we are going to learn how to Diff a directory for only files of a specific type in Linux. Abstract In Linux, a frequently used operation is used for comparing files and identifying their differences. It is very helpful while comparing complicated code or in the configuration ... Read More

Advertisements