devops-exercises/exercises/shell/num_of_args.md
2021-11-07 17:54:06 +02:00

278 B

Number of Arguments

Objectives

  • Write a script that will print "Got it: " in case of one argument
  • In case no arguments were provided, it will print "Usage: ./ "
  • In case of more than one argument, print "hey hey...too many!"