Search Results

Search: Posts Made By: kamranjalal
17,640
Posted By kamranjalal
Tks for the reply. command cat /etc/filesystems...
Tks for the reply.
command cat /etc/filesystems worked from oracle user.
PLZ guide me how to find which filesystem is shared or local.
I noticed few have mount = automatic and few mount=true ...
17,640
Posted By kamranjalal
hwo to find shared filesystem and local filesystem in AIX
Hi,

I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want...
8,335
Posted By kamranjalal
Hi, Command awk '/pattern/{print s "\n"...
Hi,

Command awk '/pattern/{print s "\n" $0;exit}{s=$0}' file only returns the first occurance of the pattern, it is not showing the next occurance.

Please help me, thanks
8,335
Posted By kamranjalal
Please "cfajohnson" What should I change in the...
Please "cfajohnson" What should I change in the following command to find text and its previous line.

I got command (text=start; awk '/'"$text"'/{n=2}n-->0' filename) for finding text and next...
8,335
Posted By kamranjalal
Search text from a file and print text and one previous line too
Hi,

Please let me know how to find text and print text and its previous line. Please don't get irritated few days back I asked text and next line. I am using HP-UX 11.11

Thanks for your help.
3,415
Posted By kamranjalal
Sorry my mistake it is : HP-UX B.11.11 My...
Sorry my mistake it is :
HP-UX B.11.11

My bad forgot to tell OS
3,415
Posted By kamranjalal
I am getting following error: sed -n...
I am getting following error:

sed -n '/Completed: ALTER DATABASE OPEN/{N;p}' alert_newdb.log
sed: Function /Completed: ALTER DATABASE OPEN/{N;p} cannot be parsed.

Thanks
3,415
Posted By kamranjalal
Where should I put file name. Thanks again, you...
Where should I put file name. Thanks again, you are awesome!
3,415
Posted By kamranjalal
Search a line and output next line as well
Hi,

I have a requirement to search a particular text and if found print next line also.

Appreciate your help.

Thanks
2,006
Posted By kamranjalal
Thanks it works, I really appreciate your help.
Thanks it works, I really appreciate your help.
2,006
Posted By kamranjalal
Want to search value and two previous value
I am using following command to get the search value and previous line value.
sed -n -e 'N; /resize/p' alter_PU1M03.log

Please let me know how can I get the search string + previous two values...
Showing results 1 to 11 of 11

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