How to Create File in Bash
There are various simple ways you can use to create a the files in bash. We have explained multiple commands to create bash files from the terminal.
Read MoreThere are various simple ways you can use to create a the files in bash. We have explained multiple commands to create bash files from the terminal.
Read MorePractical guide on how to prompt Bash to take the user input using the “read” command in basic and advanced scripts to implement it without any further queries.
Read MoreTutorial on the different advanced types of Bash file operations to know the various file-related tasks such as creating the files, appending the files, etc.
Read MoreThe date command is used with the –date or -d option with 1 day ago or yesterday strings to get yesterday’s date.
Read MoreRegex is a sequence of special characters that form a pattern to find specific pattern-matching. This guide provides 16 bash regex examples.
Read MorePractical guide on the ways of copying the files in Linux using the cp, rsync, and scp commands to copy the files and directories locally and to a remote host. In this guide, we will learn about copying files and directories in Linux.
Read MoreBash does not have the try-catch command. A few alternatives like checking exit code, the trap command, and tracing output, can be applied to locate the errors instead.
Read MoreComprehensive tutorial on the uses of prompt with the “read” command in the Bash script and the benefits of using a prompt message with the “read” command.
Read MoreComprehensive tutorial on the various methods of using the =~ operator in Bash to search the string values with different types of regular expressions.
Read MoreThe purposes of using the single quotes in the Bash script using single quotes with both echo and printf commands to define a string data or execute a command.
Read MoreThe simple uses of the logical AND operator in Bash script to define the logical expressions in any programming language and check two or more conditions.
Read MorePractical guide on the various uses of Bash substring extraction to extract the substring from a string data after a specified character using the Bash script.
Read MoreTutorial on the different ways of using the named arguments in Bash script to know how to pass them and understand which argument contains which type of data.
Read MoreComprehensive tutorial on the multiple ways of calculating the sum of a column from a file using the “awk” script in Bash through different examples
Read MorePractical tutorial on method of comparing two values using the “!=” and “-ne” operators to check the equality or inequality of two strings or numbers.
Read MoreTutorial on the methods of counting the length of an array in Bash using the “#” symbol or loop, or using the “wc” or “grep” commands along with examples.
Read MorePractical guide on how to use the recursive “grep” command to search the content in a directory of multiple files using different types of options and patterns.
Read MoreChecking the uses of the number of arguments in Bash script for various purposes such as error handling, providing messages based on the number of arguments.
Read MoreThe method of checking if a regular file exists in Bash or not in the current or particular location using the file test operators with the “test” command.
Read MoreTutorial on the various uses of the “bc” command in Bash scripts to generate the fractional value of any mathematical calculation with the precision value.
Read More