Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sweet!! I just wrote my first Shell Script!
#1
Very cool. Only took me my "Learn UNIX in 24 hours book" and some trial and error.

it's actually worth SOMETHING.

It'll ask for an input file, then how you want to delete it.

1 for rm, 2 for sudo rm -rf 3 to cancel out of it.

It really has no use, but is still pretty cool.

Now to write a new one that does something.

Any suggestions for what it should do?
Reply
#2
Make coffee?

Help Fred Neitzsche write a movie script?
Reply
#3
I have a slew of shell scripts that make backup copies of folders, notably, mail folders and user folders.
Reply
#4
rm is probably a dangerous command to use to learn scripting...

Reply
#5
lets see the script!
Reply
#6
I used the script to delete itself. Sorry.

I can post the one I'm working on when I get it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)