Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Newbie
Reload this Page help with bash
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Newbie If you're new to the wonderful world of Linux, start here!

Reply
 
Thread Tools Display Modes
Old 07-03-2008   #1 (permalink)
stewartrose
Just Joined!
 
Join Date: Jul 2008
Posts: 4
Cool help with bash

Good morning Team,

I need some help please, I would like to list all the files in a folder called backup anywhere on the system where that folder is..

Any help would be great..

Thanks from Alan
stewartrose is offline   Reply With Quote
Old 07-03-2008   #2 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 681
hi,


does this do it
Code:
find / -type d -name backup -exec ls {} \; 2> /dev/null
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 07-03-2008   #3 (permalink)
stewartrose
Just Joined!
 
Join Date: Jul 2008
Posts: 4
Quote:
Originally Posted by khafa View Post
hi,


does this do it
Code:
find / -type d -name backup -exec ls {} \; 2> /dev/null
Hi Khafa,

That works brill thank you..

All the best from Alan
stewartrose is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:41 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0