Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: kiranherekar
8,766
Posted By kiranherekar
Sorry a bit of google helped me to write the...
Sorry a bit of google helped me to write the following.

#!/bin/bash
/usr/bin/find / -name *.log -ctime +7 -exec /bin/rm -f {} \;
8,766
Posted By kiranherekar
Script to remove log files
Can anyone help me with a shell script to remove all files (log files) created 7 days before current system date.

TIA,
Kiran.
Forum: Solaris 01-16-2006
8,368
Posted By kiranherekar
How to start CDE for non root user on Solaris 10
Hi,
How can I start CDE for non root user created.For root CDE is working fine but for non root user CDE exits back to login screen after trying for some time.Also I cant see .dt and .dtprofile...
Forum: Solaris 01-06-2006
18,176
Posted By kiranherekar
Hi Zazzybob, Thanks for script :) Its cool!!! ...
Hi Zazzybob,
Thanks for script :) Its cool!!!
But would still like to know if Solaris does NOT support this option for egrep as in linux.

Cheers,
Kiran.
Forum: Solaris 01-04-2006
18,176
Posted By kiranherekar
Hi , Just Ice,Thanks for your reply.I found my...
Hi ,
Just Ice,Thanks for your reply.I found my egrep version to be VERSION:11.10.0 on my Solaris 10 Box.But would anyone help me if I can have -A option with egrep coz this option is supported on...
Forum: Solaris 01-04-2006
18,176
Posted By kiranherekar
How to find egrep version on Solaris 10
Hi,
How can I find the egrep version installed on Solaris 10 as I don't see any egrep --version option.Also wanted to know which version would support option of -A (eg. egrep -A NUM PATTERN FILE )...
Showing results 1 to 6 of 6

 

Featured Tech Videos

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