Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 
 

The UNIX ls command - list files 
Oracle Tips by Burleson Consulting

 

The UNIX ls command

The UNIX ls command is one of the most frequently used UNIX commands. Without any arguments, the ls command will show us a list of all files in our current directory:

root> ls
Mailbox invalid.sql run_rpt.ksh
ad.sql kill_oracle_sessions.ksh run_trunc.lst
adamf_techeops l.ksh run_trunc.sql
admin list.lst schools.dmp
afiedt.buf list2.lst scripts
arsd.dmp lockee.txt sql
bksel.lst lst.lst sqlnet.log


When we add the –a and –l arguments, we can see all of the details for each file in out current working directory:

root> ls -al
total 928188
drwxr-xr-x 21 oracle dba 2048 Aug 22 20:47 .
drwxr-xr-x 10 root root 512 Jul 26 08:49 ..
-rw------- 1 oracle qmail 437 Aug 12 20:43 .bash_history
drwxr-xr-x 11 oracle qmail 512 Sep 3 2000 .dt
-rwxr-xr-x 1 oracle qmail 4381 Jul 16 13:20 .profile
-rwxr-xr-x 1 oracle qmail 3648 Sep 1 2000 .profile_old
-rw------- 1 oracle dba 2264 Sep 3 08:06 .sh_history
drwxr-xr-x 2 oracle dba 512 May 10 11:10 .ssh
-rw------- 1 oracle dba 3861 May 29 06:03 Mailbox
-rw-r--r-- 1 oracle dba 12632 Apr 11 16:09 ad.sql
drwxr-xr-x 2 oracle dba 512 Jan 26 2001 adamf_techeops
drwxr-xr-x 5 oracle dba 512 Sep 4 2000 admin
-rwxr-xr-x 1 oracle dba 55 Aug 22 11:56 afiedt.buf


Let’s take a look at each of the columns in the ls –al command so we understand their meaning.

Column
Data
1
file permissions
3
file owner
4
file group
5
file size
6
last modified date
7
file name


The above is an excerpt from the "Oracle9i UNIX Administration Handbook" by Oracle press, authored by Donald K. Burleson.

 

 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2012 

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.