Casey Bralla on 23 Dec 2009 04:45:36 -0800 |
I've written a bash script and I find that the commands don't normally echo to the screen, so I can't follow along with the script. for example: #!/bin/bash cp file1 file2 mkdir /directory1 cd /directory1 rm * cd .. I'd like to know when the script is copying files, and when it is erasing files. I could add echo statements, but it would be much simpler if the actual bash commands simply echoed to the screen. Is there a simple way to do this? TIA JP! -- Casey Bralla Chief Nerd in Residence The NerdWorld Organisation http://www.NerdWorld.org ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|