10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using the below one..
if ; then
elif ] ;then
echo "Passed k or f option"
else "Please check the Input passed"
Command line argument is "k" or -f and file is exist then... (3 Replies)
Discussion started by: Roozo
2. Shell Programming and Scripting
I have a script where in i need to check for several values in if conditons but when i execute the script it throws error such as "TOO MANY ARGUMENTS"
msg="BM VAR Issue :: bmaRequestVAR=$bmaRequestVAR , nltBMVAR=$nltBMVAR , bmaResponseVAR=$bmaResponseVAR ,... (10 Replies)
Discussion started by: nikhil jain
3. Shell Programming and Scripting
Below code is for to take the backup of database by daily time stamp. I need vital help to make my script automatic sending me email if it sucess or fail.
@REM Seamonkey's quick date batch (MMDDYYYY format)
@REM Setups %date variable
@REM First parses month, day, and... (6 Replies)
Discussion started by: Alone
4. Shell Programming and Scripting
Hey guys, I've been learning shell for a few weeks now & come across an issue in one of my for loops :
However I wish to add a condition (maybe if loop is best ??) when, if the variable value $line is > 24 go back to the start of my 'for' loop thus skipping my application based commands and... (3 Replies)
Discussion started by: phil0316
5. Shell Programming and Scripting
Thanks everyone for the wonderful and helping environment..
And the problem I asked.. forget it... 4 days wait for a decent reply was such a moral booster.. (3 Replies)
Discussion started by: ReignOfChaos
6. Shell Programming and Scripting
I have this IF working fine, testing if a char is a digit:
if ; then
Then I add a second condition to test if the char is either a digit or a *
if ]; then
... (11 Replies)
Discussion started by: Flavius
7. Shell Programming and Scripting
Currently this is what I am trying
while || && ]; do
I want to continue if the first condition or both the second and third are true but I am getting a too many arguments error.
Can someone help me out? (5 Replies)
Discussion started by: whdr02
8. Shell Programming and Scripting
The script will extract the last digit of the input parameter. example, that is 4. This will be compared to the last digit of the current day of the month ( like day 14; that is 4). A message will displayed on the screen indicating if the digits are the same or not. (1 Reply)
Discussion started by: singh is king
9. UNIX for Dummies Questions & Answers
I have a file as follows:
col no:1 2 3 4 5 6 7 8 9 10 11
a 4 226 226 ch:95024048-95027592, 1y224 of 3545 223 224 ident
b 53 235 235 ch:148398-148401255, 1y184 of 3187 180 186 ident
awk... (3 Replies)
Discussion started by: dr_sabz
10. Shell Programming and Scripting
how can i reduce the or conditions:
if ]; then
fi (8 Replies)
Discussion started by: hitmansilentass