title: Shell Scripting: Print directory names and files with specifics
body: <p>In my script, I am asking the user to input a directory and then list all the files in that specific directory. What I want to do with that is to make the display a little better in which I would be able to display a "/" if the item in the directory is another directory and if it is an executable file (not an executable directory), print with a **".</p>
  
  <p>This is what I have:</p>
  
  <pre><code>echo “Directory: “
  read thing
  for var123 in $thing*
  do
          echo $var123
  done
  </code></pre>
  
  <p>In a directory I have a few folders and a few scripts that have the execute permission. when I run the script I want to say </p>
  
  <blockquote>
    <p>/folder1/subfolder1/</p>
    
    <p>/folder1/subfolder2/</p>
    
    <p>/folder1/file1* </p>
    
    <p>/folder1/file2*</p>
  </blockquote>
  
  <p>I am new to this and have no clue what I am doing. Any help will be greatly appreciated.</p>