Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: pbekal
12,353
Posted By pbekal
Your suggestion works. Thank You.
Your suggestion works.
Thank You.
12,353
Posted By pbekal
Return code is "0" though the command fails.
The return code is "0" though the command fails. How to get a return code of "1" for this command when it fails or modify the command to get the right return code?

On HP UNIX

#-------- SCRIPT...
5,508
Posted By pbekal
Loop through only the distinct values in a file
Datafile has the following data seperated by :
FIELD1:FIELD2:FIELD3
D1:/opt/9.1.9:Y
D2:/opt/10.1.10:Y
D3:/opt/9.1.9:Y
D4:/opt/8.1.8:Y
D5:/opt/8.1.8:Y
D6:/opt/9.1.9:Y
D7:/opt/9.1.9:Y...
76,286
Posted By pbekal
Listing files older than 2 months
A script or command to list files older than 2 months in a specified directory and remove it.
Showing results 1 to 4 of 4

 

Featured Tech Videos

All times are GMT -4. The time now is 09:10 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy