Laur's blog
Sign in Subscribe

arguments

A collection of 1 post
Make a Shell Script with Arguments (Native)
arguments

Make a Shell Script with Arguments (Native)

I was building a bash script and I needed several arguments to make it more versatile (e.g. dry-run). The list of parameters was: * help as -h or --help * dry run ad -d or --dry-run to go through the motions without actually executing commands * keep last N images ad -k
Oct 13, 2017 2 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost