10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am newish to the site and to unix.
I have a functioning interactive script running on Mac that sorts and processes files located in an unsorted folder on my desktop.
As it currently stands, the user types jpg into the command line, the script executes and iterates through the unsorted... (8 Replies)
Discussion started by: Braveheart
8 Replies
2. Shell Programming and Scripting
Hi All,
I need to sftp without any intervention.(LInux,Ksh)
I have tried some ideas listed here...but its not working...
Please advise on it. (1 Reply)
Discussion started by: jesu
1 Replies
3. UNIX for Advanced & Expert Users
Hi ,
I login to unix using my id and then do a sudo to execute any programs i want.
sudo su - <id>
password : xxxxxxx
Is there a way to make it non interactive so that i can use it in shell script. (1 Reply)
Discussion started by: ashwin3086
1 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement to encrypt a file using gpg with a public key. However when i encrypt a file, i get a question like 'Do you want to go ahead with unverified user?' . when i press 'y' file is encrypted.
I am not able to automate this job because of this interactive mode. Could... (3 Replies)
Discussion started by: Deepakbabu
3 Replies
5. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies
6. Shell Programming and Scripting
Gud morning everybody,
I need small help form you people,Please advice me.
I have a utility(adpatch) which takes 10-15 prompts, i want to automate this by calling this utility in shell script. Now my qiestion i want to run the script in non interactive mode.
An example.
$adpatch... (1 Reply)
Discussion started by: swetham.apps
1 Replies
7. UNIX for Advanced & Expert Users
Can i run the SU command in a non interactive mode. What i want to do is to pass the username and the password as commandline or batch parameters. Please let me if its possible and how to pass them. A sample file will be appreciated.
Thanks, (6 Replies)
Discussion started by: rohitag
6 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
We are running a batch job using Unix script. This batch job is running daily to get data from a Mainframe database and to load our tables. We are using an interactive ID for the batch job. If we removed that interactive ID, the batch job fails. What's my question is.. Is the... (1 Reply)
Discussion started by: pradeep.edara
1 Replies
9. Shell Programming and Scripting
Hi All,
Does perl has an interactive mode like other shell?
If there is, can any one show me the equivalent code for the below csh script ? This csh code prompts user for their name and prints the name.
#!/bin/csh
echo -n "Pls enter the your name: "
set name = ($<)
echo "You hav... (2 Replies)
Discussion started by: Raynon
2 Replies
10. UNIX for Dummies Questions & Answers
:confused: Can anyone please tell me how to get into Interactive Mode? (2 Replies)
Discussion started by: Nomad
2 Replies