How To Kill Process In Linux?

How To Kill Process In Linux?

Linux is a process bound operating system where every taks and action is taken via processes. There are a lot of process for system and user related tasks. Daemons or service processes expected to be run in background continuously and user processes generally started and completed after complating tasks. But in some cases we may … Read more

What Does Bash “set -x” do?

What Does Bash "set -x" do?

Bash provides the set command in order to enable or disable different features. The set -x command is used to debug bash script where every executed statement is printed to the shell for debugging or troubleshooting purposes. The set -x command can be directly executed in an interactive bash shell or can be used inside … Read more

What Does “set -e” In Bash?

What Does "set -e" In Bash?

Linux bash provides a very good programming environment where scripts and functions can be created and executed. If there is an error related to a script file or function bash ignores these errors by default. But if we rely on the script or function execution and get detailed information about the result the set -e … Read more

Bash set Command Tutorial

Bash set Command Tutorial

Bash shell provides different builtin commands to manage the bash environment. The set command is used to manage some flags and characteristics of the bash environment. The set command can be used to change different parameters of the bash shell environment and customized for different cases and users. set Command Help The set command provides … Read more

Linux Bash Array Tutorial

Linux Bash Array Tutorial

Linux bash provides programmatic features like arrays. Bash array is a useful feature that can be used to store multiple items in a single variable. The bash array can be used to store multiple items and iterate them to read with loops. Different programming languages provide the array or list feature but the bash array … Read more

Scp From Remote To Local

Scp From Remote To Local

The scp command is used to copy files and directories over the network in a secure way. As a command files can be copied via the command-line interface. The scp name comes from Secure Copy . The scp command is provided by most of the Linux distributions can be used to copy from the remote … Read more

How To Check If A File Exist In Bash?

How To Check If A File Exist In Bash?

Linux bash provides a lot of built-in commands in order to execute different tasks. There are different commands and tools which can be used to check if a file exists. The file existence can be checked with different commands like test . Also, these bash methods can be used inside bash scripts in order to … Read more

Linux cp Command Tutorial

Linux cp Command Tutorial

Linux distributions provide the cp command in order to copy files and directories. The name cp comes from the copy. The cp command can be used to copy single or multiple files and folders in a recursive manner by including the child files and directories. cp Command Syntax The cp command syntax is like below. … Read more

Linux tar Command Tutorial with Examples

Linux tar Command Tutorial with Examples

Linux tar command is used to create archives for data, files, and folders. The tar command name comes from tape archive . One of the most useful features of the tar command is compressing multiple files and folders into a single file which can be easily compressed with different tools like gz, bz, 7z etc. … Read more