10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying to execute the cli.sh script in another shell script passing arguments and getting the below error.
Myscript.sh
#!/bin/sh
/home/runAJobCli/cli.sh runAJobCli -n $Taskname -t $Tasktype
I am passing the below 2 arguments and it giving error
./Myscript.sh T_SAMPLE_TEST MTT... (11 Replies)
Discussion started by: Info_Geek
11 Replies
2. Shell Programming and Scripting
mail -r will display FIFO order. May i know on what basis...
Say it depends on sender/initiative/recipient (0 Replies)
Discussion started by: help_scr_seeker
0 Replies
3. Shell Programming and Scripting
hi,
Please suggest me how to mention "from" option in mailx command?
mailx -s "Info " ssa@org.com < file (2 Replies)
Discussion started by: sreelu
2 Replies
4. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
5. Shell Programming and Scripting
I have a script with several options and during testing I found that the \? option does not handle options without dashes as I would expect. Then I run the script with any option that does not include a dash, it runs the script when I would expect \? to catch it and error.
I've tried this with... (2 Replies)
Discussion started by: HexKnot
2 Replies
6. Shell Programming and Scripting
I have a script (multirun.sh) which launches the program bsim_em.x or bsim_es.x depending on the value entered from the screen:
> multirun.sh 1 (executes bsim_em.x)
> multirun.sh 2 (executes bsim_es.x)
which, simplifying, I do with the following lines in the multirun.sh script:
if ... (3 Replies)
Discussion started by: josegr
3 Replies
7. Shell Programming and Scripting
Hello Everyone,
I'm using UNIX 5.3, I'm using command line mailx or mail command to send emails to multiple email addresses and i need to include bcc (background corbon copy). Some Manuals says i can use -b flag to send to bcc but my unix does not recognize the flag "-b". And some manuals says... (1 Reply)
Discussion started by: aravindbachu
1 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
I have already posted a post regarding this, but i didn't get my problem solve, so some body help me as it was urgent for me, my mail option is not working, when i send a mail, it is strucking in /var/spool/mqueue folder. and i am getting struck there itself, i see below two files are... (1 Reply)
Discussion started by: mars_girish9
1 Replies
9. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
10. Shell Programming and Scripting
hi all
i have a file in unix which is of html format.wat should be the commnad to mail this to a specific mail id let's say abc.xyz@maildomain.com. (3 Replies)
Discussion started by: dr46014
3 Replies