BC remote Oracle DBA - Call (800) 766-1884  
Oracle Consulting Oracle Training Development

Remote DBA

Remote DBA Plans  

Remote DBA Service

Remote DBA RAC

   
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 

Remote DBA services

Remote DBA Support

Remote DBA RAC

Remote DBA Reasons

Remote Oracle Tuning

Remote DBA Links

Oracle DBA Support

Oracle DBA Forum

Oracle Disaster

Oracle Training

Oracle Tuning

Oracle Training

 Remote DBA SQL Server

Remote MSSQL Consulting

Oracle DBA Hosting

Oracle License Negotiation

 

 


 

 

 

 

 

 
 

Listing directory contents

Oracle Tips by Burleson Consulting

Listing directory contents

The ls command is used to list the contents (sub-directories and files) of a directory. There are several options to the ls command that determine both the content and order of the listing displayed.

Without specifying any options, ls displays sub-directory and file names. The following is a description of some of the options that are commonly used to display additional information:

Option Purpose

  • a
    Display all … normally hidden files, those prefixed with a period (.), are not displayed.
  • l
    Display long … include permissions, ownership, size, date/time, and file name in the display
  • t
    Sort the display by date/time
Here are some examples of ls command displays using the above options:

Directory:~/examples
$ ls
declaration.txt gettysburg.txt preamble.txt

Directory:~/examples
$ ls -al
total 20
drwxrwxr-x 2 tclark tclark 4096 Jan 13 17:48 .
drwx------ 4 tclark tclark 4096 Jan 13 18:29 ..
-rw-rw-r-- 1 tclark tclark 2230 Jan 13 17:47
declaration.txt
-rw-rw-r-- 1 tclark tclark 1310 Jan 13 17:48
gettysburg.txt
-rw-rw-r-- 1 tclark tclark 360 Jan 13 17:48
preamble.txt

Directory:~/examples
$ ls -alt
total 20
drwx------ 4 tclark tclark 4096 Jan 13 18:29 ..
drwxrwxr-x 2 tclark tclark 4096 Jan 13 17:48 .
-rw-rw-r-- 1 tclark tclark 360 Jan 13 17:48
preamble.txt
-rw-rw-r-- 1 tclark tclark 1310 Jan 13 17:48
gettysburg.txt
-rw-rw-r-- 1 tclark tclark 2230 Jan 13 17:47
declaration.txt

Directory:~/examples
$

The above book excerpt is from:

Easy Linux Commands
Working Examples of Linux Command Syntax

ISBN: 0-9759135-0-6   

Terry Clark 


Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call
BC Remote DBA today.

 

 

Remote DBA Service
 

Oracle Tuning Book

 

Advance SQL Tuning Book 

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

 

 

 

 

 

 

BC Remote Oracle Support

Remote DBA

Remote DBA Services

Copyright © 1996 -  2013 by Burleson. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter