Search Results

Search: Posts Made By: kmr023
1,506
Posted By kmr023
So, Are you looking for something like below..? ...
So, Are you looking for something like below..?

command:echo /home/dragon/websphere/cells/profile/imp/001/ | cut -d/ -f1-4,6-8

output:/home/dragon/websphere/profile/imp/001
2,724
Posted By kmr023
Hi corona688, i'am using the above code...
Hi corona688,

i'am using the above code exactly the same for zipped files in different location (example: "for FILE in/usr02/archive/mf_pstat*.Z") of the filesystem using data in...
2,724
Posted By kmr023
Thanks Very Much, it worked this time. ...
Thanks Very Much, it worked this time.

---------- Post updated 09-15-11 at 01:10 PM ---------- Previous update was 09-14-11 at 05:04 PM ----------

Hi Corona688,

when i tried the script with...
2,724
Posted By kmr023
hi, i tried the code, it ended up finding the...
hi,
i tried the code, it ended up finding the latest file for the last string "ST1604" of /var/tmp/usr1/pools, what about the other strings in the list /var/tmp/usr1/pools
2,724
Posted By kmr023
no luck, even i took off "-m 1". i'am using...
no luck, even i took off "-m 1".
i'am using solaris 8. so, any thing compatable help be greatly appreciated
2,724
Posted By kmr023
i've tried the snippet above, but no luck,...
i've tried the snippet above, but no luck, getting below error

grep: illegal option -- m
Usage: grep -hblcnsviw pattern file . . .
2,724
Posted By kmr023
Need Help with a Data Extract script
hi,

i'am trying to write a shell program which takes a data element
from one file(var/tmp/usr1/pools)and search that data element
in a zipped file in archive location/usr01/archive/PSta*.Z)....
1,057
Posted By kmr023
fl='/XXX/AAA/CCC/' for i in `cat...
fl='/XXX/AAA/CCC/'
for i in `cat /var/tmp/g3ukem/pools`
do
for j in `ls -ltr ${fl}/*.Z | tr -s ' '| cut -d" " -f9 | cut -d\ / -f7`
do
count=`zcat $fl/$j | grep "$i" | wc -l`
if [ $count -eq 1...
1,057
Posted By kmr023
help with data extract script
hi,

i'am trying to write a script which takes a data element from one file and searches in a certain file path and after it finds it it redirects the file names to a new file...Now i have to pick...
Showing results 1 to 9 of 9

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