Search Results

Search: Posts Made By: sjmolloy
10,426
Posted By kshji
xargs is nice command when you need to give some...
xargs is nice command when you need to give some output to the next command arguments

some_command_output | xargs kill

Example kill apache processes

ps -ef | grep apache | grep -v grep | awk...
10,426
Posted By Corona688
This code isn't quoted correctly: ...
This code isn't quoted correctly:

PID_DUMP_TRAN=$PID_DUMP_TRAN" "$!

PID_DUMP_TRAN="$PID_DUMP_TRAN $!"
1,580
Posted By clx
Try.. while read varA varB varC varD varE ...
Try..

while read varA varB varC varD varE
do
LOGFILE=release_`echo $varA`_`echo $varB`_`date '+%d%y%m_%H%M'`.log
scriptB.ksh -j$varA -v$varB -i$varC -S$varD -D$varE <<...
59,100
Posted By matrixmadhan
Check for any space between '<<' and EOF at line...
Check for any space between '<<' and EOF at line 19

and whether 'EOF' starts exactly at the beginning of the line
Showing results 1 to 4 of 4

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