Search Results

Search: Posts Made By: Walter Misar
1,203
Posted By Walter Misar
Screen is probably what you are looking for:...
Screen is probably what you are looking for: https://www.unix.com/man-page/redhat/1/screen/ (https://www.unix.com/man-page/redhat/1/screen/)
2,839
Posted By Walter Misar
Busybox uses its own implementation of awk,...
Busybox uses its own implementation of awk, seemingly one that uses null-terminated strings internally (as opposed to length prefixed, which could handle null characters inside strings). I used...
1,495
Posted By Walter Misar
Separating the substitutions works: awk...
Separating the substitutions works:

awk 'NR>1 { if ($2 ~ /^\(/ ) {$1=""; print "Found error: ", $0} else { sub(/.*:/, "", $1); sub(/.*:/, "", $7); print "No error: " $1 "," $7}}'...
1,551
Posted By Walter Misar
You want to prepend an echo on the last line ...
You want to prepend an echo on the last line ...
Forum: Solaris 02-21-2015
12,770
Posted By Walter Misar
You could go by the file date of...
You could go by the file date of /var/sadm/patch/*/log . For patches that came pre-installed something like grep -h PATCH_INFO /var/sadm/pkg/SUNW*/pkginfo will get you the information.
11
1,606
Posted By Walter Misar
Using set/shift will work: names1="cdb1 cdb2...
Using set/shift will work:

names1="cdb1 cdb2 cdb3"
names2="pdb1 pdb2 pdb3"

set $names2
for name in $names1; do
export DB=$name
export PDB=$1
shift
echo "$DB:$PDB"
done
3,952
Posted By Walter Misar
For some reason the MAIL variable seems to be...
For some reason the MAIL variable seems to be wrong. Are you using "su" instead of "su -" to change from root to the user? If not I would check the various profile/rc files that set those variables...
1,477
Posted By Walter Misar
Find itself can test for non-empty files, in an...
Find itself can test for non-empty files, in an if test this could look like:

if [ -n "`find /path/FTP. -type f -size +0`" ]; then sleep 28800; fi
1,673
Posted By Walter Misar
grep "$A"'\>' *should do the trick: double quotes...
grep "$A"'\>' *should do the trick: double quotes to allow expanding of $A, single ones for the rest.

edit: of course just using double quotes will do too:

grep "$A\>" *
2,420
Posted By Walter Misar
That is because $ would match end of line and not...
That is because $ would match end of line and not end of string. Depending on the exact nature of the input you could match for space/tab instead, or just not a letter:

sed -n '1,/^LAC[^a-zA-Z]/p'...
12,152
Posted By Walter Misar
This may be an anti-spam measure on the receiving...
This may be an anti-spam measure on the receiving side, trying stuff like doing a reverse-lookup on your IP.
12,152
Posted By Walter Misar
What I was trying to say is, that it is probably...
What I was trying to say is, that it is probably not mailx taking the time, but the receiving server not responding earlier for whatever reason. If you don't have access to the server it may be out...
12,152
Posted By Walter Misar
And probably after a while the "220" line. I just...
And probably after a while the "220" line. I just see hat there is a nifty telnet-ssl package too, so you can verify that it isn't mailx causing the delays with port 465 .
2,042
Posted By Walter Misar
Something along the following might help No...
Something along the following might help

No more than one x:
grep -v "x.*x" .location/*.txtExactly one x:
grep x .location/*.txt|grep -v "x.*x"
3,938
Posted By Walter Misar
So according the docs you would expect 12 cores?...
So according the docs you would expect 12 cores? Can you verify this in the bios?

Anyway, you could check if it is a case of cores being offline to save power:

cat...
1,979
Posted By Walter Misar
Something like the following might do for an...
Something like the following might do for an overview:
sed 's/,[ ]*/\n/g' flugent.txt |comm - IDT.txtOr
sed 's/,[ ]*/\n/g' flugent.txt |comm -12 - IDT.txtfor the matching list.
2,308
Posted By Walter Misar
Just doing something like grep "\(Thread\|SESSION...
Just doing something like grep "\(Thread\|SESSION DESCRIPTION\)" test.xml may help, then dealing with a simpler stream containing only those lines.
Showing results 1 to 17 of 17

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