title: Bash A positional argument for directory path
body: <p>I'm a new bash player, I want to ask how to pass the directory path to bash script in commandline</p>
  <p>for example, ./test1.sh ~/test1/test2.  a directory that passes by $1 for counting numbers of files, direcotry in test2.</p>