The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Spoofing paths. fahadsadah UNIX for Advanced & Expert Users 3 12-26-2007 08:57 AM
create paths alias47 UNIX for Dummies Questions & Answers 4 08-07-2007 10:14 AM
Recursive directory listing without listing files psingh UNIX for Dummies Questions & Answers 4 05-10-2002 11:52 AM
Paths update phpote UNIX for Dummies Questions & Answers 5 07-25-2001 08:57 AM
paths caiohn UNIX for Dummies Questions & Answers 1 01-17-2001 07:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-10-2007
sunilav sunilav is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 4
How to get listing with complete paths

I am doing ls -ltrR to get long listing of files and directories, recursively. In place of files, I want to see the file names with complete path

The way it looks now is
ls -ltrR .
.:
total 866
-rwxrwxr-x 1 user ofr 945 Nov 30 2004 findwordinfiles
drwxrwxr-x 3 user ofr 96 Apr 4 15:36 Fold1

./Fold1:
total 4
-rw-r--r-- 1 user ofr 4 Apr 3 15:59 b
-rw-r--r-- 1 user ofr 8 Apr 4 15:47 a


The way I want is
ls -ltrR .
.:
total 866
-rwxrwxr-x 1 user ofr 945 Nov 30 2004 ./findwordinfiles
drwxrwxr-x 3 user ofr 96 Apr 4 15:36 ./Fold1

./Fold1:
total 4
-rw-r--r-- 1 user ofr 4 Apr 3 15:59 ./Fold1/b
-rw-r--r-- 1 user ofr 8 Apr 4 15:47 ./Fold1/a

Before writing a script to achieve this, I wanted to know if there was already soemthing for this

Thanks,
Sunil
  #2 (permalink)  
Old 04-10-2007
sunilav sunilav is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 4
find command + ls

I further tried that the following command satisfies me
find ./ -ls
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0