| by Arround The Web | No comments

How to Setup SSH Passwordless Login in Linux [3 Easy Steps]

The post How to Setup SSH Passwordless Login in Linux [3 Easy Steps] first appeared on Tecmint: Linux Howtos, Tutorials & Guides .SSH (Secure SHELL) is an open-source and trusted network protocol that is used to log in to remote servers for the executi…

Read More
| by Arround The Web | No comments

How to Put Multi-Line Comment in Shell Script

In bash shell, we can comment on multiple lines using various methods. Learn how to put multi-line comment in shell script, running under Linux or Unix-like systems.
The post How to Put Multi-Line Comment in Shell Script appeared first on Linux Today.

Read More
| by Arround The Web | No comments

3 Useful Tips on How to Use History Command in Linux

One feature of the Bash shell that can be changed is the history command. Learn 3 useful tips on how to use the history command in Linux here.
The post 3 Useful Tips on How to Use History Command in Linux appeared first on Linux Today.

Read More
| by Arround The Web | No comments

How to Use Break and Continue Statements in Shell Scripts

The post How to Use Break and Continue Statements in Shell Scripts first appeared on Tecmint: Linux Howtos, Tutorials & Guides .In this article, we will take a look at how to use a break and continue in bash scripts. In bash, we have three main loop co…

Read More
| by Arround The Web | No comments

How to Use until Loop in Your Shell Scripts

The post How to Use until Loop in Your Shell Scripts first appeared on Tecmint: Linux Howtos, Tutorials & Guides .
In bash for, while, and until are three loop constructs. While each loop differs syntactically and functionally their purpose is to itera…

Read More
| by Arround The Web | No comments

Different Ways to Read File in Bash Script Using While Loop

The post Different Ways to Read File in Bash Script Using While Loop first appeared on Tecmint: Linux Howtos, Tutorials & Guides .
This article is all about how to read files in bash scripts using a while loop. Reading a file is a common operation in p…

Read More
| by Arround The Web | No comments

How to Use Heredoc in Shell Scripting

The post How to Use Heredoc in Shell Scripting first appeared on Tecmint: Linux Howtos, Tutorials & Guides .Here document (Heredoc) is an input or file stream literal that is treated as a special block of code. This block of code will be passed to a co…

Read More
| by Arround The Web | No comments

Learn Difference Between Sourcing and Forking in Bash

The post Learn Difference Between Sourcing and Forking in Bash first appeared on Tecmint: Linux Howtos, Tutorials & Guides .The main focus of this article is to clearly understand what happens when you run the script vs source the script in bash. First…

Read More
| by Arround The Web | No comments

Learn Difference Between $$ and $BASHPID in Bash

Recently I was working on a shell script and I saw a significant difference in how bash special variable $ and BASHPID behaves. Every process running in Linux will be assigned with a process
The post Learn Difference Between $$ and $BASHPID in Bash fir…

Read More
  • 1
  • 2