CodeTryout
Docker Ubuntu Webdriver Python VSCode VM Git PowerShell Bitbucket Bash Script Kubernetes MobaXterm DevOps

 Bash Script



Bash date format print yyyymmddhhmmss milliseconds

Bash date print Year, Month, Day, Hour, Minute and Seconds

Bash date print X days ago (Linux shell script or in command-line)

Bash date print X days ago (Linux shell script or in command-line)

ISO 8601 date format in bash shell script? yyyy-MM-dd T HH:mm:ss Z

Ho to get bash print date in ISO 8601 date format - yyyy-MM-dd T HH:mm:ss Z including UTC offset.

40+ BASH commands for everyday use

40+ BASH commands for everyday use

Bashrc Alias, what is it and how to use it?

A practical guide on how to use bashrc aliases

How to convert lowercase to UPPERCASE in a bash shell script built-in

Quick way to change lowercase to uppercase in bash, we are exploring a way using bash built in features, variable case conversion.

Bash script to check if file exists on a remote server

A practical script to check whether a file exists on a remote server using bash. The script connects using ssh and verify whether the file exists.

5 Examples for bash if else in shell script

bash scripting if then else statements. Explained with five sample codes and runtime demos.

Bash add the number of days to date OR get a specific future date

Explaining how to print a specific future date corresponding to the current date in bash, or any bash shell such as linux ubuntu or docker.

How to create a bash alias with arguments

How to create a bash alias with arguments, using aliases and functions

How to print the last command return code in bash?

How to get the return code of a command in bash. Also listing all reserved exit codes

How to print the day before yesterday date in bash shell script

Explaining how to get the date for day-before-yesterday in Linux Bash script

How to write STDOUT and STDERR to different files in bash scripts

How to write output and error messages to two different files in shell scripts.

How to get the current Unix timestamp or epoch time from a Linux command line

Explaining with examples how to get the current date timestamp or epoch time from a Linux command line, script or bash terminal

How to un-comment a line in a text file using sed matching a word (Linux command-line)

How to un-comment a line in a text file using sed by matching a specific word or character (Linux command-line)

Linux bash full date printing, how to print the full date Year-Month-Day?

Explaining how to print full date in bash using shortcode

How to grep for the pattern at the end of the line?

grep-ing pattern at the ending of a text file

How to grep for the pattern at the beginning of the line

grep-ing pattern at the beginning of a text file

How to remove spaces from a string variable in bash?

Quicly replaces multiple spaces from a string variable in bash. This works well in Linux, Bash, Docker containers, centos, rhel etc.

Linux bash until loop examples

This is an example script for shell script bash, until loop

Linux while true loop example in bash

Example script for shell script bash, while loop

Bash assign a default value to a variable if it is empty

Bash variable set a default value

bash tr-command to delete single or multiple characters

Examples for deleting multiple characters using tr command in bash.

Latest Updates

  • Functional and non-Functional Testing | Comparison (today)
  • groovy script for jenkins pipeline (today)
  • The best groovy ide and why to choose the one? (today)
  • What is TestComplete and how to use it for automated UI testing? (today)
  • What is SoapUI and how to use it for API Testing? (today)
  • WebDriver (Selenium) and Playwright comparison | Who Should Choose What? (today)
  • How to configure local terminal .bashrc in MobaXterm? (today)

New posts

  • What is TestComplete and how to use it for automated UI testing?
  • What is SoapUI and how to use it for API Testing?
  • Mobaxterm Rsync practical examples using a bash terminal
  • How to configure local terminal .bashrc in MobaXterm?
  • [SOLVED] google-chrome-stable:amd64 : Depends: libasound2:amd64 (>= 1.0.17) but it is not installable
  • WebDriver (Selenium) and Playwright comparison | Who Should Choose What?
  • Functional and non-Functional Testing | Comparison
MobaXtermDevOpsVSCodePythonWebdriverDateSeleniumPowerShellWSLUbuntuShell ScriptingCode RefactoringDockerGitVirtual MachineVirtualBoxAnsibleGitHubKubernetesAnsible-PlaybooksBitBucketpip3AzureCareerJSONUTMVirtual Machine Mac M1 M2Ansible-Python
Codetryout.com is curating experiments with DevOps, Cloud Services, and Practical Coding examples.
© 2021 - 2025 Codetryout.com | Terms | About | Privacy | WordPress | Contact