10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
So awk is driving me crazy on this one. I have searched everywhere and read man, docs and every related post Google can find and still no luck. The actual files I need to run this on are sensitive in nature, but it is the same thing as if I needed to calculate weighted grades for multiple... (15 Replies)
Discussion started by: cotilloe
2. 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
3. Shell Programming and Scripting
I'm stuck with this script for three days now. Here's what i need.
I need to split a large delimited (,) file into 2 files based on the value present in the last field.
I need this split... (6 Replies)
Discussion started by: shell_boy23
4. Shell Programming and Scripting
I'm having a bit of a problem using shell variable in an awk if statement.
Please note that i'm using -v option as listed in many forums but I still don't get it working. Here's my code. Kindly help as I've gone crazy trying to work this out :wall:
... (4 Replies)
Discussion started by: vishwas.s
5. Shell Programming and Scripting
Hi, below is the script in ksh and i am having issues with if condition.
It takes in one argument as input and executes the shell script.
The problem is in if condition in shell script. If input is given as 1 it works out well. But if input is given as 2 or something else the script is failing to... (1 Reply)
Discussion started by: abhi_123
6. Shell Programming and Scripting
Hi, I'm writing a bash script and i have a condition that goes
but, when i go to run it, i come across this
line 10: '
where line 10 is the if
I don't know what's going on :( (2 Replies)
Discussion started by: channyboy
7. 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
8. 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
9. 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
10. 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