Search Results

Search: Posts Made By: slant-40
Forum: Filesystems, Disks and Memory 04-13-2009
2,860
Posted By slant-40
Question - error during boot
I have an HP NetServer LH3 which is exhibiting an error during the boot process. I am getting the following messages, none of which I've seen before

1. WARNING: SCSI adapter: Cannot install intr...
1,527
Posted By slant-40
I tried it using your output file and got the...
I tried it using your output file and got the same result. When I put a comma
in the string between the first and second columns it seemed to work.
12,980
Posted By slant-40
Try this, see if it works: for file in *; do...
Try this, see if it works:

for file in *; do
(do your translation here) < $file > temp.file
mv temp.file $file
done
10,369
Posted By slant-40
you need to assign ls-rt *.log | tail -n 1 to a...
you need to assign ls-rt *.log | tail -n 1 to a variable, then grep that.
add | wc -l to the end of it to get the count


a=
a=`ls -rt *.log | tail -n 1`
cat $a | grep "FT" | wc -l
4,835
Posted By slant-40
What i'd do (and you may or may not be able to do...
What i'd do (and you may or may not be able to do this is) -
direct your "grep" to a file as well as to the standard output (do it twice)
and at the end of the "do", the following
if [ ! -s...
2,088
Posted By slant-40
try $R=${V} or $R=$V
try $R=${V}
or $R=$V
3,145
Posted By slant-40
Try looking for the string 'GS*IN' or 'GS*IN*'...
Try looking for the string 'GS*IN' or 'GS*IN*' since that should always be the first occurrence of the 'GS' string in any 810. We have similar files (healthcare transactions) that we work with. I...
3,145
Posted By slant-40
I know all too well what that data is. That looks...
I know all too well what that data is. That looks like an 837 transaction file.
I have a little C program i use to split it into its segments. It uses the standard input and output

unx12 <...
7,974
Posted By slant-40
using 'date' to get previous days' dates
I am familiar with using the 'date' command to get the current date but I have a situation where I need to get the previous day's date as well as the date two days prior. Theoretically I could use...
1,646
Posted By slant-40
or you could do it the hard way ..... for i...
or you could do it the hard way .....

for i in 1 2 3 4 5 6 7 8 9 10 11 .... 24; do
cd $x/$i
if [ -f ./* ]
then
rm ./*
fi
done


=w=
Showing results 1 to 10 of 10

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