Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. heyben

    Unix Scripting

    Yep, tried that one as well. The behavior is identical to ndsbackup cf /data/bak/`date +%y%m%d` -a adminnamehere <<EOF passwordhere EOF I get the password: prompt in the shell from which the script was executed.
  2. heyben

    Unix Scripting

    The ndsbackup utility is interactive. It allows the name of an administrative NDS user to be specified on the command line but does not allow for a password to be passed on the command line. After starting it prompts for password: and waits for response. The expect/send trick would work if...
  3. heyben

    Unix Scripting

    I recall seeing EXPECT/SEND used in uucp scripts for midem control. I thought EXPECT/SEND were internals to the uucp process. If they are not then can you provide a simple example of how to use them in a ksh script? Ben
  4. heyben

    Unix Scripting

    I am writting a script (ksh) to fire off a backup utility nightly. The utility prompts for a password when it runs. I have tried the following method that works for ftp. #!/bin/ksh ndsbackup cf /data/bak/`date +%y%m%d` -a adminnamehere <<EOF echo &quot;passwordhere&quot; EOF I have also...

Part and Inventory Search

Back
Top