9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi.
I wrote this small bash script, i want to compare second column from file1 with file2 if a pattern matches. Files are small and I am sure that pattern occurs only once. I think this can be rewritten into a awk one liner. Appreciate if someone could give me idea. Whole NR FNR confuse me :o
... (6 Replies)
Discussion started by: ctrld
6 Replies
2. UNIX for Advanced & Expert Users
I have recently enabled the process rngd, but after couple of days i see it got stopped automatically . Below is what i could find from messages file .
can someone shed light on what could be the reason and how can this can be taken care?
Apr 1 08:12:05 sap01 rngd: failed fips test
Apr 1... (3 Replies)
Discussion started by: radha254
3 Replies
3. Shell Programming and Scripting
Hello experts,
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.
Samp: Something.csv
bca,adc,asdf,123,12C
bca,adc,asdf,123,13C
def,adc,asdf,123,12A
I need this split... (6 Replies)
Discussion started by: shell_boy23
6 Replies
4. Shell Programming and Scripting
I need some help creating a condition for looking up hosts. I have this master host file that has data in the following columns:
FQDN primary IP secondary IP third IP
I need the hostnames to feed into another script I use for provisioning users. The FQDN doesn't always work for... (2 Replies)
Discussion started by: MaindotC
2 Replies
5. Shell Programming and Scripting
How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies
6. Shell Programming and Scripting
Guys look at this:
i have to write a script that takes a file as an argument. The script should be able to determine what permissions the owner, group and everybody has for the file passed in. The output should be displayed similar to this.
READ WRITE EXECUTE
OWNER LEE.BALLANCORE YES YES NO... (9 Replies)
Discussion started by: ciroredz
9 Replies
7. Red Hat
hi everybody,
I am new in Linux. I have successfully installed knoppix in my laptop, however, when I want to install ns2.26, some errors occurs in validation test.. It returned "Some Test failed" and it give some comands to re-run the test. I have already set the path before the validation test.... (1 Reply)
Discussion started by: newbie06
1 Replies
8. Shell Programming and Scripting
Anyone know the code to test for bad numbers?
For example in ksh...
Want the user to input an integer, but they input characters.
read number
while (number = letter)
read number //until valid number is inputted
thx for any help!! :confused: (3 Replies)
Discussion started by: gsxpower
3 Replies
9. Shell Programming and Scripting
:confused:
Bad if test:
if
returns an error
I have changed filename to
"filename"s su
"$filename"
'filename''
'$filename''
"./filename"
"./$filename"
error is usually
why cant I test the filename?
Thanks (4 Replies)
Discussion started by: sharkze
4 Replies