Passing arguments in Unix Shell Script - TechRepublic
General discussion
June 7, 2000 at 01:00 AM
pcammuso

Passing arguments in Unix Shell Script

by pcammuso . Updated 26 years ago

In a shell script, I want to be able to “ftp” to a machine and pass the username, password, put command, etc. but whenenver I run the script, it sits there waiting for me to enter the info. I predefined them in the script, but I don’t know how to pass them to the ftp command to get them to execute.

Thanks

Paul

This discussion is locked

All Comments