Getting the Warning message to the script
Hi Guys,
I want to know, How to read a warning message from the prompt.
For Eg,
If we type,
>su <username>
Warning: Password will expire in <some> days.
Could you tell me how to read this type of warning message from the prompt.
--Karthikeyan
|