Search Results

Search: Posts Made By: Funkeydude
2,674
Posted By Funkeydude
Thanks
Neutron and Sumtaru
2,674
Posted By Funkeydude
Unable to assign command output to variable
Code

set -x
STATUS="0"
echo $STATUS
for i in `ls -ltr Report*|awk '{ print $9 }'`
do
if [ "`fuser "$i" 2>/dev/null`" -eq "" ]
then
flg = "`head -1 "$i" |cut -c 31-33`"
echo `head -1 "$i"...
Showing results 1 to 2 of 2

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