Search Results

Search: Posts Made By: fredao
Forum: Solaris 03-24-2009
5,928
Posted By fredao
pcn0 intermittent network connectivity issue
I have a solaris 10 x86 installed on a VMware server. It has been runing well for a couple weeks, but started to have network connectivity issue since last week. The network card seems to be up and...
3,108
Posted By fredao
very clear. thanks a lot.
very clear. thanks a lot.
3,108
Posted By fredao
could you give a little explanations? thanks.
could you give a little explanations? thanks.
3,108
Posted By fredao
convert phrase
I am converting a mysql database from myIsam to innodb. After dumping all databases to a file, I am trying to make modification:

sed s/ENGINE=MyISAM/ENGINE=InnoDB/ dump_1 > dump_1_inno

...
8,295
Posted By fredao
cpio versus cp
I am copying a file system to another one. someone suggest me use

find . -print |cpio -pdmv

but I think cp -r should do the same thing. Am I right?


In addition, by using " find . ", I got...
Forum: Red Hat 06-03-2007
2,285
Posted By fredao
Thanks. But I do not have rpmbuild on my redhat? ...
Thanks. But I do not have rpmbuild on my redhat?
Another question is that "is src.rpm the same with a source code package?"
Forum: Red Hat 06-01-2007
2,285
Posted By fredao
rpm problem
I installed gnome-libs-1.4.1.2.90-34.2.src.rpm using rpm


# rpm -ivvh gnome-libs-1.4.1.2.90-34.2.src.rpm
D: ============== gnome-libs-1.4.1.2.90-34.2.src.rpm
D: Expected size: 3903306 =...
Forum: Solaris 03-23-2007
1,610
Posted By fredao
dvd problem
I have a dvd on sunfire v215. It cannot mount automatically when I insert a dvd, but can when I insert a cd. Can anyone help me on this?
Forum: Solaris 03-23-2007
15,728
Posted By fredao
dhcp negotiation failed
on solaris 10, I use static ip address, and choose no dhcp during installation. But I keep receiving the following messages in my console:

Mar 9 03:43:40 ellst rmclomv: [ID 509666 kern.error]...
37,742
Posted By fredao
the mask is ---. Can you tell me how to change...
the mask is ---. Can you tell me how to change the mask for the file?
37,742
Posted By fredao
setfacl
I use:

setfacl -m user:bbb:rwx folder1

to give user bbb the permission to go into my folder folder1,

and

cd folder1
setfacl -m user:bbb:rwx *

to give bbb the permission under this...
Forum: Solaris 03-20-2007
4,549
Posted By fredao
when I did that, I got that "either /cdrom is...
when I did that, I got that "either /cdrom is busy or c0t0d0s2 is already mounted".
I am sure I am not using /cdrom in any way, but how can c0t0d0s2 is mounted while can not be seen when I use mount...
Forum: Solaris 03-19-2007
4,549
Posted By fredao
could not find cdrom
on solaris 10, when I injected my cd to the dvdrom, the cdrom did not mount by itself. how can I mount the cdrom manually?
1,585
Posted By fredao
memory question
Following is the result of commands vmstat and free, on a linux machine:

$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------
r b swpd free buff ...
6,419
Posted By fredao
my real situation is more complicated, as the...
my real situation is more complicated, as the block can be 11 lines or 10 lines, namelly it should always -B2, but sometime -A7, and sometime -A8. As said, the blocks always begin with "<object" and...
6,419
Posted By fredao
what does this mean?
what does this mean?
1,889
Posted By fredao
change RS in the middle
in AWK, how can I change the RS (record separator) in the middle of awk command.

for example:

gawk 'NR==FNR { key[$1]++;next }; RS="?"; $1 in key' file1 file2

in above, I put RS="?" in the...
6,419
Posted By fredao
patt is a shell variable or gawk variable? as the...
patt is a shell variable or gawk variable? as the 1st command seems to have nothing to do with awk? is there any link for this grammar?
6,419
Posted By fredao
comment
nawk 'NR==FNR { keys[$1]++;next }; RS="</object>"; $3 in keys' file2 file1
6,419
Posted By fredao
sorry, I was wrong to enter the command...
sorry, I was wrong to enter the command incorrectly. It works, comsumes a lot of computational power though. thanks!
would you explain your code?
6,419
Posted By fredao
I think there is a misunderstanding, as I only...
I think there is a misunderstanding, as I only want to keep the blocks whose id has a match in the second file. If I have a block as:

object
type="user"
id="999999999999"
encryptedPassword=""...
6,419
Posted By fredao
how can I enter these two lines as a command, can...
how can I enter these two lines as a command, can you make it clear?
6,419
Posted By fredao
It works on the above question. however, my real...
It works on the above question. however, my real problem is more complicated: the file1 is actually an XML file like this:

...
<object
type="user"
id="000039BF228B"
...
6,419
Posted By fredao
compare two files
I have file1 and file2:

file1:

11 xxx kksd ...
22 kkk kdsglg...
33 sss kdfjdksa...
44 kdsf dskjfkas ...
hh kdkf kdkkd..
jg dkf dfkdk ...
...

file2:

jg
22
hh
...

I need to...
7,775
Posted By fredao
I have gzip and gunzip, but the program use...
I have gzip and gunzip, but the program use compress and uncompress.
Showing results 1 to 25 of 59

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