TAG

Shell Script

Bash string concatenate possible? [SOLVED]

How to concatenate strings with underscore, newline, whitespace or any other character in bash? How to append substrings in a string in bash or shell script? …

By admin · 6 min read · Shell Scripting

Bash check File Exists with Best Practices [5 Methods]

In this tutorial I have consolidated a list of file test operators which can be used to check different types of files. Bash Check file exists, is a symbolic …

By admin · 15 min read · Shell Scripting

Bash if else usage guide for absolute beginners

Beginners tutorial to learn bash if else statement in Linux and Unix. Nested if statement, Bash if multiple condition, if elif else statement with shell script …

By admin · 13 min read · Shell Scripting

Bash Function Usage Guide for Absolute Beginners

How to define bash function, pass command line arguments to a function and store it as variable or array, Use return value to return different exit codes from …

By admin · 14 min read · Shell Scripting