Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 541 Bytes

File metadata and controls

20 lines (10 loc) · 541 Bytes

Command Line Arguments

In the section, we will take a look at "Command Line Arguments" in shell scripts.

We can replace the hardcoded names within our script with the built in variable.

  • $0, $1, $2, $3 ... etc. are built in variables.

    cla

Best Practices

  • It is a best practice to assign a varaible to a meaningful variable name

    cla1

    best-cla