Navigation
0 Users online :: 0 Guests and 0 Registered
Records in this category
- How to install OpenSSH in AIX
- AIX HACMP Cluster tips
- Frequently asked questions on HACMP Cluster
- Configuring LVM Filesystems for Optimum Performance in AIX
- Very useful AIX commands
- Setting Up the Disk Quota System in AIX
- How to reduce the var or tmp filesystem
- AIX Command Crib Sheet
- Here is there error I get when I execute a basic topas command: # topas exec(): 0509-036 Cannot load program topas because of the following errors: 0509-130 Symbol resolution failed for /usr/lib/libperfstat.a(shr.o) because: 0509-136 Symbol ptx_get_rsetsyswait (number 81) is not exported from dependent module /unix. 0509-136 Symbol ptx_get_rsetsysinfo (number 83) is not exported from dependent module /unix. 0509-136 Symbol ptx_get_rsetsysstats (number 84) is not exported from dependent module /unix. 0509-026 System error: Error 0 0509-192 Examine .loader section symbols with the 'dump -Tv' command. Any reason what this would cause this error?
- how to find Get full path of a running process in AIX
- How to exclude group of files in TSM backup in AIX ?
- How to get history of command in AIX5.3
- Aix 5.2 increasing the paging space - How to?
- Unable to create spot from mksysb for one nim client ?
- How to change Parameters like SHMMAX in AIX
- How do i configure aix 5.3 to use a smtp relay server?
- How to check the status of services in AIX like Chargen , echo , finger , who
- How to create more space on a filesystem in AIX
- Anonymous FTP System Settings AIX (with POSIX compliant ftp account home directory)
- How to remove an LPAR through HMC via command line ? HMC is not accessible through GUI
- Tomcat 6.0.20 installation on AIX 5.3
- what will be impact of changing hard file size/soft file size unlimited in AIX for particular user? How to change hard file size/soft file size to unlimited at the shell prompt?
- Installing Apache Directory on AIX 5.3
- How do I create a user with admin rights in AIX 5.3
- From HMC How to get cpu and memory information of lpar ?
- Please explain the real life implication of shared processors on AIX
- How torepair the log on a jfs2 filesystem in AIX
- How to check Call Home facility from HMC for p570 and p595 lpars?
- What is the appropriate syntax to edit the 'DH' entry in sendmail.cf?
- How to customize login banner for telnet in AIX.
- How to download cfg2html script for aix and configure it ?
- Unix command to count number of files in a directory
- Physical Memory usage - AIX server
- commands to get system information for AIX
- create filesystem on lv and mount it at boot up
- How to change Default Gateway in AIX
- Script to copy files from one AIX server to another
- Script to compare two directories and copy files missing from A to B
- How to create Lpar on IBM pSeries Servers
- How to send multiple email attachments from AIX?
- How to enable SFTP logging in AIX?
- How to send Oracle audit logs to syslog
- How do you find out the wwpn of the hba currently plugged into an ibm system
- Laserjet network printer setup in AIX
- How to check if AIX 5.1. has a 64-bit kernel or 32-bit
- Installing of SSH on AIX 5.2
- How to STOP TELNET Service in AIX 5.2
- How to mount tape drive in AIX system
- How do I rename an existing file system in AIX 5.2
- Aix monitoring tools
- Search AIX for core file, omitting /proc
- How to copy select files based on date
- How to I check dsmcad port on AIX
- Automatic startup of a service on AIX
- How to do a OS backup in AIX
- How to break the rootvg mirror
Tags
Sticky FAQs
AIX
ID #1151
Unix command to count number of files in a directory
find /top/directory -maxdepth 1 -type f | wc -l
I am not sure if find supports maxdepth option on AIX, but give it a shot .. If -maxdepth is not supported then
ls -l | sed -e '/^d.*$/d' | wc -l
subtract 1 from total for total line produced by ls -l
Tags: AIX, number of files
Related entries:
- Installing and Configuring MySQL on Solaris 10 with Service Management Facility
- Fedora 11 upgradation
- up2date tutorial
- RHEL5 Kickstart installation using HTTP
- Veritas Cluster - Commands
Last update: 2009-08-14 00:34
AuthorLuke Francis
Revision: 1.0
You cannot comment on this entry