Summary: I'm trying to write a shell script that acts as a watchdog timer. Basically it needs to look for a file being created by another process and if it fin...
Summary: Hi all, I'm writing a shell script to execute PGP, then FTP to several FTP site at the same time. Please let me know how to put in the script so that...
Summary: Hi, I have written a shell script in which I need to connect to sqlplus and execute some query there. In doing so on executing the shell script the qu...
Summary: Hi, I need an urgent help with a complex situation. I really appreciate your help! I have a parameter file like this. unix> cat script.par name=david ...
Summary: Nails, It worked like a charm. Thanks for the response. Now as i am new to shell scripting and sed itself, i guess you don't mind helping me on this o...
Summary: Hello Can anybody explain how I can ftp the reult of a sql script in a shell script that is executed via a cronjob??I would like the result to be se...
Summary: Hi, I need to run a command and hit 4 times in response to the prompts after the command is run. I don't know how to do this in a shell script. Could...
Summary: Hi, i have written a shell script that needs to be run from cron. Al i know about "cron" is that we can get it to run jobs periodically. The requir...
Summary: I need to know if the connection fails to the remote host in a shell script. Which error codes etc should I check for? What would be in the if stateme...
Summary: Hello, I want to give back the first 3 letters of my hostname to a variable in a shell script like this principle: N=awk'{printf substr(`uname -n`,1,3...
Summary: Hello everybody, I am wondering how to call a shell script into another script if you are working in a same directory? Please provide examples if po...
Summary: Hi, I am writing a shell script to accept input from user and upload the data files using sqlloader. I want to trap Ctrl-Z which is SIGTSTP so that us...
Summary: Hello Everyone i want to know if anyone can help me in writing this script that forwards the mail with subject "SMS Message" to the mailbox folder and...
Summary: I'd like to know that if there is a way in AIX to run a shell script as the 'root' user when the launching program is running as a normal non-root use...
Summary: Hi, The problem that I am facing is as below: There is a shell script which take 2 dates as input (today's date and yesterday's date) and when I am ru...
Summary: How to disconnect DB connectivity in a UNIX script. I have connected to a DB using sqlplus command in UNIX shell script. I need to know how to check t...
Summary: Could any one suggest me how to encrypt a shell script. I used the command crypt, it encrypted the shell script but when I run this script, it gives m...
Summary: In a shell script, how you call a stored procedure depends on the database you're using. You haven't told us what database you're using. This stub ks...
Summary: Hi, My .profile looks like this: ---------- # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User sp...
Summary: Hello, I want to know how to calculate time difference in unix shell script. Time command in unix will not solve my problem because it calculates tot...
Summary: hello all, I have a file which has a string as follows:- bin i want 2 write a shell script which will replace this by /home/sandeep/bin. This shoul...
Summary: Hi i have written a shell script which runs some sql queries in oracle. the code looks like this sqlplus username@NJCMTOMS/password < $HOME/devel/o...
Summary: I need to put the current date in front of every line in a file. I've tried the following in a shell script: #!/bin/sh -f dt = date +%d-%m-%Y awk '{pr...