1. How do you delete 3 days old log files?
Usage: find /location -name "*.log" -mtime +3 -exec rm -rf{} \;
Example : find ./ -name "*.req" -mtime +4 -exec ls -ltr {} \;
2. Display latest 20 largest files/directories in current directory?
Solution: du -ka sort -n tail -20
3. How do you display/remove Specifice Month files in Unix?
Solution: rm `ls -l grep Jun awk '{print $9}'`
4. How do you find the files which contains a specific Word?
Solution : find /home/ganesh \( -type f \) -exec grep -l test {} \;
Sharing real time knowledge,issues on Oracle Apps DBA and Oracle DBA
Subscribe to:
Post Comments (Atom)
Oracle EBS integration with Oracle IDCS for SSO
Oracle EBS integration with Oracle IDCS for SSO Oracle EBS SSO? Why is it so important? Oracle E-Business Suite is a widely used application...
-
Enabling TLS in Oracle Apps R12.2 Here we would be looking at the detailed steps for Enabling TLS in Oracle Apps R12.2 Introduction: ...
-
R12.2. Services Start and Stop Procedure All components - Application (Middle Tier) START $INST_TOP/admin/scripts adstrtal.s...
-
Apps password change routine in Release 12.2 E-Business Suite changed a little bit. We have now extra options to change password, as well ...
No comments:
Post a Comment