Blog

Simple Usage of Optional Flags in Bash Script

14-05-2023
Staple
Bash, Scripting

what is optional flags? # one of the powerful features of command-line programs is the capability to pass multiple arguments during the time of execution. that way, the program can run straight-up the way we wanted to without having another STDIN session to take the user input. there are multiple ways of passing multiple arguments and parsing them so the program can read them without hassle. one of the best approaches is to have optional flags. ...