devops-exercises/topics/shell/num_of_args.md
abregman 99c4e02ecf Rename exercises dir
Name it instead "topics" so it won't be
strange if some topics included "exercises" directory.
2022-08-02 01:53:56 +03: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!"