9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Seeking for your assistance on how to condition it correctly.
if the fourth column contains 888s and 0s it is by... (16 Replies)
Discussion started by: znesotomayor
2. Shell Programming and Scripting
I am using below if condition to check whether null is passed as a parameter to the program
if or ;
However it is saying me null=null command not found . Please help me with this (9 Replies)
Discussion started by: Hypesslearner
3. Shell Programming and Scripting
I need to use if condition for search a file pattern on a particular location.
Can someone help me with the if part, how i can put those conditions?
make sure format should be *.file* and *.file
file is a keyword which i... (5 Replies)
Discussion started by: amit.mathur08
4. Shell Programming and Scripting
I have task to delete two different files from all file system. one is core file & other is old file.
i can delete core file but for old file i have to mv in different location.
i wrote a script but it is not working.
i have a two variables in this script first one is delcnt &... (6 Replies)
Discussion started by: dravi_laxmi
5. Shell Programming and Scripting
if && "$c" = testsc ]
echo "Test #5 succeeds."
echo "Test #5 fails."
i need to test or condition before check the output with AND condition. ur help is much appreciated... (11 Replies)
Discussion started by: gokulraj23
6. Shell Programming and Scripting
I am trying the following simple script . But it is always giving 1 output. Dont know why
find . -name "a.log"
if ; then
Kindly advice. it is giving 1 output even when the a.log file is not there (26 Replies)
Discussion started by: himvat
7. Shell Programming and Scripting
actully i need the belp for the below.
host_list=" Host1 host2 host3 host4 "
i need to put the condition like the below
if n is among the host mention in the host_list if
# some other stuff
fi (1 Reply)
Discussion started by: mail2sant
8. Shell Programming and Scripting
pls consider the following if statement
if //g') ]
when i execute the script i am getting the following error
I am not able to find the mistake.
could anybody tell where i did mistake.
RRK (13 Replies)
Discussion started by: ravi raj kumar
9. Shell Programming and Scripting
I want to use if conition for my script. Before I used it tried it with some small test scripts. But it was not succeeded. My script and screen output as follows,
echo 'Do you think Yes or No (y/n) : '
echo You input anser as $ans
if ( $ans == $ans1... (5 Replies)
Discussion started by: maheshsri