Search Results

Search: Posts Made By: fidodido
9,722
Posted By fidodido
Thanks for the suggestion guys. disedorgue,...
Thanks for the suggestion guys.

disedorgue, yeah, I assume I could do it before. In this case, I dont have that option anymore.

Don_Cragun, those options (uid,gid,uname,gname) don't seem to...
9,722
Posted By fidodido
Tar extract: remap uid gid ?
OK, so simple question here:

Is there anyway to REMAP, while extracting with tar, specific uid's and gid's on extracted files ?

Background: The usual transfer between two servers with same...
8,052
Posted By fidodido
Don't know which would be faster, but.. #...
Don't know which would be faster, but..

# cat names
Frank
Sally
Sam
Julie
Joe
Jay
Ralph
John
Sally
Fred
Sue
# awk '{ lines[NR]=$0; } END { print lines[int(NR/2)+1] }' names
Jay
#
...
1,675
Posted By fidodido
Does it have to be strictly sed ? This awk...
Does it have to be strictly sed ?

This awk solution seems to work just ok

echo 'this_string="abc#def#geh" # Comment here' | awk -F'"' '{ gsub("#","_",$2); print sprintf("%s\"%s\"%s",$1,$2,$3) }'
4,092
Posted By fidodido
Ok, I got it solved: I just had to include the...
Ok, I got it solved: I just had to include the keyword return.
4,092
Posted By fidodido
Circular reference
I might know the answer to this, but I just want to see if any of you know any work arounds before I go and re-write the whole thing.

I have a script as follow:

$ cat testing
#! /usr/bin/ksh
...
1,982
Posted By fidodido
But you just said preceding, meaning it will...
But you just said preceding, meaning it will match any up until it finds a " again ;). Also, the g there means 'global', so it will replace every occurance of the matching expression.
7,318
Posted By fidodido
The fifth line in aigle's code is missing a "....
The fifth line in aigle's code is missing a ". Also, make sure you're using ksh. (#!/usr/bin/ksh).
3,675
Posted By fidodido
just replace < value from query) with the query...
just replace < value from query) with the query itself..

update XX_IMPORT_DATA
set file_id=( select max(id) from a )
WHERE FILE_ID IS NULL;
4,201
Posted By fidodido
I dont understand the question at all. CURRVAL...
I dont understand the question at all. CURRVAL should have the current value of the sequence, whereas NEXTVAL should have the next value on it. Is that what you mean ?
6,224
Posted By fidodido
What database is this ? If you have an...
What database is this ?

If you have an utility to access your db, and this utility returns a scalar result, then you can use that to script. For example, this is with oracle.


# su - oracle...
6,874
Posted By fidodido
Model is RT7D50.
Model is RT7D50.
6,874
Posted By fidodido
I tested my Sun Blade 150 with dell keyboards and...
I tested my Sun Blade 150 with dell keyboards and it worked just fine.
3,043
Posted By fidodido
You could remove leading spaces back down to...
You could remove leading spaces back down to sqlplus using ... to_char( thenumberhere,'fm0000000' ) ...
4,986
Posted By fidodido
Still no luck. :(
Still no luck. :(
4,986
Posted By fidodido
Yeah, first thing I did. They both belong to the...
Yeah, first thing I did. They both belong to the same group. I believe tops reads /dev/kmem and /dev/mem and both groups are allowed to read these files.
4,986
Posted By fidodido
Top in Tru64
Hi all. Anyone know what permissions or anything is needed to give users the privileges to see top statistics information ? I ask this because I have a user on which I execute top from and display...
6,158
Posted By fidodido
From man pages in Tru64: I just tried vi -c...
From man pages in Tru64:

I just tried vi -c 20 somefile.txt and it went to line 20 of somefile.txt after opening it up.
Forum: Solaris 04-21-2006
3,915
Posted By fidodido
Thanks RTM. Duh!, I downloaded the binary version...
Thanks RTM. Duh!, I downloaded the binary version and was trying to 'configure' it. dumb me.
Forum: Solaris 04-21-2006
3,915
Posted By fidodido
Installing APACHE - simple question
Ok, this may be a simple question, but I am unable to find an answer. I am trying to install apache 2.2 on a Solaris 9 box (sparc). I downloaded it from sunfreeware, and under...
3,362
Posted By fidodido
Backup user from one server and restore to another
Hi. I have a situation here where I need to backup a users' home directory and restore onto another server. The issue here is that both servers have different operating systems and I am looking for...
8,883
Posted By fidodido
That was a typo, it is /dev/tape/tape0. When I...
That was a typo, it is /dev/tape/tape0. When I list the tape contents, it always returns the first 3 files that it tar'ed when using cvf. Please, see the attached file, so you can actually see the...
8,883
Posted By fidodido
Thanks Perderabo. I forgot to include my unix...
Thanks Perderabo. I forgot to include my unix version, sorry for that. It is HP Tru-64 v.5.1b. The media we are using is HP's DDS4, I believe it is 40GB compressed and 20gb uncompressed.

What can...
8,883
Posted By fidodido
Ok. Apparently, the tar finished. But listing the...
Ok. Apparently, the tar finished. But listing the tape contents only gives me three files, whereas they are more than 30.

# tar tvf /dev/tape/tape0
blocksize = 256
-rw-r--r-- 202/0 977...
8,883
Posted By fidodido
cpio write i/o error
Hiyas. Last night I was testing one of our shell script (not made by me) that is having some problems. What it does is that it backups some oracle data to tape and it is failing. I put the commands...
Showing results 1 to 25 of 50

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