Thank you for your advice. But the above code is giving such below details:
/u03/oracle/EBSDEV
/u08/oracle/EBSDEV
/u08nfs/oracle/EBSDEV
My requirement is only to get the "/u03/oracle/EBSDEV".
How to achieve this? Please advice.
Thanks-
P
---------- Post updated at 06:54 PM ---------- Previous update was at 06:48 PM ----------
Hello RudiC,
The below is the details:
Ans: Yes.. It should be 3 level deep.
Quote:
- three levels chopped off from the end?
Ans: No, the output should be /u03/oracle/EBSDEV
Ans: Yes.. It will contain EBSDEV
Quote:
- "fs1" and rest of line chopped off?
Ans: Yes, - "fs1" and rest of line will be chopped off
Quote:
Where and how is that string stored, in a file, a (shell) variable, output of a command?
Ans: The output of a command will be stored at a variable.
Thanks-
P