Search Results

Search: Posts Made By: manzier
Forum: Red Hat 07-23-2009
14,126
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,497
Posted By manzier
how to use expr
You need to use back tics not single quotes

x=`expr $x + 1`
2,303
Posted By manzier
Exporting variables
. ./lin_env
18,823
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,823
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,337
Posted By manzier
Unmatched double quote
sed 's/'%'/''/'

sed 's/'%'//'
3,337
Posted By manzier
Try This
done < /tmp/bdflist
}
4,433
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,183
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 11:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy