title: How to set a Directory as an Argument in Bash
body: <p>I am having trouble finding out how to set a directory as an argument in bash.</p>
  
  <p>The directory I am trying to have as an argument is <code>/home/rrodriguez/Documents/one.</code></p>
  
  <p>Anywhere I try to look for an answer I see examples like dir = $1 but I cant seem to find an explanation of what this means or how to set it up so that it references my specific file location. Could anyone show me how to set up my variable for my path directory?</p>
  
  <p>Adding my code for a better understanding of what im trying to do:</p>
  
  <pre><code>#!bin/bash
  
  $1 == 'home/rrodriguez/Documents/one/'
  
  dir = $1
  
  touch -c $dir/*
  ls -la $dir
  wc$dir/* 
  </code></pre>