This is a discussion on Linux list directories and files within the Getting started tutorials forums, part of the Linux Getting Started category; To list directory contents, use ls command: Code: ls Display detailed listing using ls -l Code: ls -l Sample output ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
To list directory contents, use ls command:
Code:
ls Code:
ls -l Code:
drwxr-xr-x 10 root root 4096 2007-04-21 11:05 X11 drwxr-xr-x 7 root root 4096 2007-02-21 15:14 xdg -rw-r--r-- 1 root root 289 2006-07-05 18:35 xinetd.conf drwxr-xr-x 2 root root 4096 2007-04-23 04:38 xinetd.d drwxr-xr-x 2 root root 4096 2007-04-21 10:50 xml -rw-r--r-- 1 root root 399 2007-03-30 15:22 zsh_command_not_found
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha Last edited by raj; 05-05-2007 at 01:06 AM. Reason: typo |
| 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 |
| UNIX Display or list number of files in a current directory | raj | Getting started tutorials | 1 | 12-07-2007 10:55 AM |
| how to change the format of multiple files in different directories | dustcloud4 | Shell scripting | 0 | 06-05-2007 03:03 AM |
| Linux delete empty directories | raj | Getting started tutorials | 0 | 05-05-2007 01:29 AM |
| UNIX ls only directories (display only dirs and no files) | chiku | Solaris/OpenSolaris | 1 | 10-21-2006 12:27 AM |
| How to Get a List of Open Files? | tom | Linux software | 1 | 07-08-2005 11:10 PM |