#!/bin/sh # A simple shell to delete certain garbage files rm core rm *.aux rm *.dvi rm *.log
#!/bin/bash # Copy the given file to a save location and change the file permissions SAVELOC=~/backup/ cp $1 $SAVELOC chmod 600 $SAVELOC$1
bash -xv junk junk #!/bin/bash # Copy the given file to a save location and change the file permissions SAVELOC=~/backup/ + SAVELOC=/home/harkin/backup/ cp $1 $SAVELOC + cp junk /home/harkin/backup/ chmod 600 $SAVELOC$1 + chmod 600 /home/harkin/backup/junk
 
#~/bin/bash