Home Linux
Post
Cancel

Linux

✍️ Code with expresions

  • arithmetic: +, -, x, /, %
  • relational: ><(like if)
  • logical: -a, -o

✍️ Command Line Arguments

Desktop View

1
$sh hello.sh how are you

$0 filename

$1 first argument

$2 second argument

$# number of arguemnts

In the nano, ^ means Control

✍️ nano

Desktop View

1
$sh second.sh 1 2 3 4 5 6 7 8

Desktop View

This post is licensed under CC BY 4.0 by the author.