UNIX batch file..

Ricka182Ricka182 Member Posts: 3,359
I need to create a batch file to run in UNIX. I have the 3 lines of code, but I can't get the file to execute. I guess I'm asking:

How can I make an executable batch file?
Would a PC notepad text file work to write the file?
Would the file extension be .exe, or .bat?
How do I display a text message saying "File copied successfully"?


Thanks
i remain, he who remains to be....

Comments

  • WebmasterWebmaster Admin Posts: 10,292 Admin
    I have very little UNIX experience, but going to give it a shot anyway:

    How can I make an executable batch file?
    chmod it to make it executable.

    Would a PC notepad text file work to write the file?
    yes

    Would the file extension be .exe, or .bat?
    I think whatever you want it to be, even without extension should work

    How do I display a text message saying "File copied successfully"?
    Print?
  • Ricka182Ricka182 Member Posts: 3,359
    Awesome Webmaster!! I thought it was chmod from my Solaris training. Something I just didn't pick up very well. Thanks!
    i remain, he who remains to be....
Sign In or Register to comment.