Search Results

Search: Posts Made By: marlonus999
3,554
Posted By marlonus999
Great! I was able to monitor file openings of...
Great! I was able to monitor file openings of this file via "fuser -f /usr/var/sample.exe". Actually "fuser -fu" does the trick also, but I wanted to know the exact process accessing the file, so I...
3,554
Posted By marlonus999
Unix Internal Question
Hi Guys-

Does anyone know how to determine the unix user id that accessed a particular file?

For instance, we have a particular file under /usr/var/sample.exe ; I'm executing "ls -ltu...
261,940
Posted By marlonus999
Ksh suits me! bash is equally good.
Ksh suits me!
bash is equally good.
3,214
Posted By marlonus999
Sorry, what I meant was finding files more than...
Sorry, what I meant was finding files more than 30 minutes old but not older than 1 day:

30 min < file stamp < 24 hrs.

I'll be checking this using a script running on cron.
Thanks for your...
3,214
Posted By marlonus999
Hey ghostdog74, I'm using AIX 5.x and HP-UX...
Hey ghostdog74,

I'm using AIX 5.x and HP-UX 11.11.x and there is no -cmin option:

poppy@zooberi /home/poppy> find . -type f -cmin +30
find: 0652-017 -cmin is not a valid option.

Any more...
3,214
Posted By marlonus999
Question on Find Utility
Hi Guys,

Do you know how can I find files with modificatioin time less than 30 MINUTES using the find utility?

Or if u have any other mechanism to find it using script, I'll appreciate it.
...
2,862
Posted By marlonus999
Try: sqlplus -s username/password@database...
Try:

sqlplus -s username/password@database @a.sql >> a.log 2>&1
Forum: HP-UX 03-27-2007
7,033
Posted By marlonus999
HP tar version
Guys,

I need to know what version of tar i am using in our HP B11.11 box (model = 9000/800/rp8420 ).

We have created a tar file and i wanted to know if the tar version i used supported...
11,703
Posted By marlonus999
Nice!!
Wohoo! Nice one! thanks!
11,703
Posted By marlonus999
Horizontal sorting of lines in a File: SED implementation?
Hi guys,

Do you know how can I sort a file horizontally per line???

sample input file:

zebra papa dog apple
yahoo kangaroo ape


sample output:

apple dog papa zebra
ape kangaroo...
2,624
Posted By marlonus999
This is what I've been looking for. Thanks Anbu23...
This is what I've been looking for. Thanks Anbu23 and matrixmadhan!!! :cool:
2,624
Posted By marlonus999
My fault...I didn't present a good example :) ...
My fault...I didn't present a good example :)

anyways..here is a sample file:
> cat file

<tagptype>CC<tagptype>
<tagpdescr>International<tagpdescr>
<tagpnum> <tagpnum>
...
2,624
Posted By marlonus999
Another note matrixmadhan... I think the...
Another note matrixmadhan...

I think the code still changes line c even if there's no space character on that line...i mean if there's a numerical value between the tags there should be no...
2,624
Posted By marlonus999
That was great! It worked! Thanks matrixmadhan! ...
That was great! It worked! Thanks matrixmadhan!

I am just wondering..anyone know a sed version of this??? Please post it, i'll greatly appreciate it :)
2,624
Posted By marlonus999
Thanks,.. but i think this tests only line c...
Thanks,.. but i think this tests only line c (third line). I need to test the first line if it has a "CC" word on it..if it does...then i'll change the third line.
2,624
Posted By marlonus999
This is part of an XML file... I'm doing it on...
This is part of an XML file... I'm doing it on korn shell. thanks
2,624
Posted By marlonus999
Question for SEDers
Hi Seders,

Given these lines in a file, say file.txt:
. . .
<tag: ptype>CC<tag: ptype> ( line a )
<tag: pdescr>International<tag: pdescr> ...
Forum: What is on Your Mind? 02-23-2007
19,914
Posted By marlonus999
I'm in the 21-30's range. My first job was...
I'm in the 21-30's range.

My first job was of engineering nature, designing IC mask and sorts. But during that time I fell in love with unix/linux stuff and that's where I started to choose a...
1,388
Posted By marlonus999
Thanks! You're a great sedder anbu23!!! :)
Thanks! You're a great sedder anbu23!!! :)
1,388
Posted By marlonus999
Please HELP on a SED question
Hi All,

Given the 2lines in a text file:

PSDSTSRV.483 [01/11/07 20:38:50 PostReport](1) (JNI): Java exception
PSDSTSRV.483 [01/11/07 20:38:50 PostReport](3) HTTP transfer error


How...
10,056
Posted By marlonus999
A Question On Recursion In Ksh
Hi Folks,

I would just like to know how recursion works in ksh or inside a shell in general. I created the following script, but it works(runs recursively) only for 64 times:
----------------
#!...
1,809
Posted By marlonus999
A Question on SED
Thanks very much...can you be so kind to show me the sed command if I wanted to delete from first line to the LAST INSTANCE of the variable... :)
1,809
Posted By marlonus999
A question on SED
Hi Folks,

How do I pass a variable on sed (as a regular expression)???

I need to use a variable as a regexp in a sed command. The variable happens to be a time stamp which I fetch from another...
Forum: AIX 12-13-2006
9,247
Posted By marlonus999
mass changes,delete,insert
I think a more appropriate solution is to use sed.

$ sed -f script_file file_to_be_changed

script_file contains the many search and replace operations you have...like:
....
s/abc/def/g...
2,864
Posted By marlonus999
Quite amazing
You're awesome guys... :)
Showing results 1 to 25 of 25

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