Passing arguments to a program is one of the common operations across any language you use. In this article, we are going to see how to parse arguments in bash scripts using bash builtin getopts function.
Tag:
Shell script
-
-
- BASHFAQLinuxLinux BasicsLinux CommandsLinux Tips & TricksScriptingTips and TricksTrouble shootingUnix/Linux Beginners
Fix “Exec format error” When Running Scripts With run-parts Command
By skBy sk 66,416 viewsWhen I was trying to run all scripts in a directory using run-parts command,…
- BASHBackup toolsCommand line utilitiesLinuxMicrosoft WindowsOpensourceScriptingUtilities
How To Synchronize Files And Directories Using Zaloha.sh
By skBy sk 807 viewsZaloha.sh is a directory synchronizer that stands out by its small size and simplicity.…
- Linux NetworkingCommand line utilitiesLinuxLinux BasicsLinux CommandsLinux Tips & TricksOpensourceUnix/Linux BeginnersUtilities
Prettyping – Make The Output Of Ping Command Prettier And Easier To Read
By skBy sk 1,866 viewsAs we all know, the ping command is used to check if a target…
- Command line utilitiesEncryption / DecryptionFAQLinuxOpensourceSecurityUtilities
Cryptr – A Simple CLI Utility To Encrypt And Decrypt Files
By skBy sk 1,870 viewsLooking for a quick, easy, and secure method to protect your files? Well, there…