title: Write a script that takes exactly one argument, a directory name
body: <p>Write a script that takes exactly one argument, a directory name. The script should print that argument back to standard output. Make sure the script generates a usage message if needed and that it handles errors with a message.</p>
  
  <p>I write code, how i understand. Am i understand correctly this question? Maybe there are other versions how find directory.</p>
  
  <pre><code>#!/bin/bash
  
  echo "Enter fail name:"
  read str
  
  find "$str" 2&gt;/dev/null
  
  sa=$?
  
  if [ "$sa" = '0' ]    
  then    
     echo "$str"    
  else
     echo "Error"
  fi
  </code></pre>