Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Desktop Environments
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Desktop Environments KDE, GNOME, FVWM, etc.. all those window manager related questions get in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-May-2008, 16:44
mike2001
Guest
 
Posts: n/a
Default

hello

i have a question to the "ls" command. The usual output, when you enter "ls -R" is this:

.:
file1.txt
file2.txt
file3.txt

./directory
filex1.txt
filex2.txt
filex3.txt

./directory2
file8.txt
file9.txt

./directory2/verz
filea.txt
fileb.txt
filec.txt


But now my question! Is any option available, where i can turn the output in this look?

./file1.txt
./file2.txt
./file3.txt
./directory/filex1.txt
./directory/filex2.txt
./directory/filex3.txt
./directory2/file8.txt
./directory2/file9.txt
./directory2/verz/filea.txt
./directory2/verz/fileb.txt
./directory2/verz/filec.txt



thank you in advance!
  #2 (permalink)  
Old 25-May-2008, 17:19
FeatherMonkey
Guest
 
Posts: n/a
Default

Googling suggests this is one for find.

I've found several this seems to work but needs more investigating, not really a find user.

find . -name '*'
  #3 (permalink)  
Old 26-May-2008, 02:30
hcvv
Guest
 
Posts: n/a
Default

Quote:
find . -name '*'
[/b]
Correct!
  #4 (permalink)  
Old 27-May-2008, 05:57
mike2001
Guest
 
Posts: n/a
Default

thank you!
 

Bookmarks

Thread Tools
Display Modes

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




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2