Search Results

Search: Posts Made By: manzier
Forum: Red Hat 07-23-2009
13,821
Posted By manzier
device-mapper-multipath path [undef]
I have an HP blade with Qlogic HBA's connected to an EVA8000. I have downloaded the latest multipath.conf from HP's website. The drive presented to the server appears to be configured and working...
Forum: Red Hat 11-30-2007
65,272
Posted By manzier
how to use expr
You need to use back tics not single quotes

x=`expr $x + 1`
2,263
Posted By manzier
Exporting variables
. ./lin_env
18,754
Posted By manzier
The grep command is only going to return what it...
The grep command is only going to return what it finds in tmpUnsorted so if there is not a tab in tmpUnsorted I would check your code to see where you have embeded it.

Removing a leading...
18,754
Posted By manzier
grep with special characters
I beleive your code is already working. Try using:

isThere="$(grep $lineMO tmpUnsorted)"

and then check the varaible with:

print -r "$lineMO"

The -r will ignore special characters and...
3,258
Posted By manzier
Unmatched double quote
sed 's/'%'/''/'

sed 's/'%'//'
3,258
Posted By manzier
Try This
done < /tmp/bdflist
}
4,412
Posted By manzier
Ftp Error Log
Redirect standard error (filehandle 2) to an errorlog

FTPOUT=/tmp/ftperr.out
#Initalize file
>$FTPOUT

ftp -i nsr100 <<EOF 2> $FTPOUT
...
EOF
# Check if file size greater then zero
if [ -s...
2,174
Posted By manzier
shell function with sed
Your sedcmd command variable is enclosed in back ticks sedcmd=`some commands` which will set sedcmd value to the result of the execution of some commands. Instead use forward ticks(single quotes) to...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 06:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy