This is a discussion on UNIX Display or list number of files in a current directory within the Getting started tutorials forums, part of the Linux Getting Started category; Recently I found a command that displays the Number of files in a ls command listing: Code: ls -l | ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Recently I found a command that displays the Number of files in a ls command listing:
Code:
ls -l | wc -l To display all file including hidden and dot files, try Code:
ls -lA | wc -l
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display number of processors on linux | tom | Getting started tutorials | 7 | 08-12-2008 10:51 AM |
| Script to display number of lines and words from a file | newbewie | Shell scripting | 2 | 12-07-2007 10:37 PM |
| Howto list or display databases on a PostgreSQL PgSQL server | sweta | Databases servers | 1 | 03-06-2007 12:17 PM |
| UNIX ls only directories (display only dirs and no files) | chiku | Solaris/OpenSolaris | 1 | 10-21-2006 12:27 AM |
| How to copy . files from current directory | ricc | Linux software | 1 | 06-10-2006 09:23 PM |