Delete the specified directory, the specified suffix, the previous history of the specified number of days in the AIX system _ server Other

Source: Internet
Author: User

Command:

find/home/oracle/admin/zhjport/udump/-name "*.trc"-mtime +30-exec rm {} \;

If you want to do this automatically, you can join crontab

This article is from the "Wheat Dock" blog, please be sure to keep this source

What system is AIX?

Aix bar, Advanced Interactive eXecutive (AIX) is the trademark name of the IBM proprietary UNIX operating system

The difference between AIX and Redhat Linux

1, usage is similar, but Aix is much more powerful than Linux, such as LS said AIX support virtualization AIX, hardware management. Also, Aix can use the B SHELL. Change the environment variable is OK.
2, mainly in the LVM level commands a little different, both Disk Management.
Note: Redhat also support LVM operation, do not know you have used it? First create the physical volume PV, then create the volume group VG, and then create the LV and file system. The same is true for AIX. Small difference: AIX:CREATEVG linux:vgcreate as if Linux had put nouns in front of them. AIX can directly create file systems without having to edit fstab files. Wait a minute
AIX you can use the Smitty menu to execute commands more convenient Smitty VG Smitty mklv Smitty FS, and so on, you can find the corresponding to the VG and LV, file system operations commands. In addition, the PV in Aix is the disk that is directly recognized by the system: Hdisk. This is not like Linux need to first create PV.
3, you can go to the next aix5l system Management book to see the order, then familiar with the good. Basically, the concept is similar to Linux, and it will linux,aix quickly.
4, there is no need to pay attention to the work, in fact, is familiar with the command and grasp on the OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.