![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| ls command to list recursively ONLY subdirectories | HLee1981 | UNIX for Dummies Questions & Answers | 5 | 05-14-2009 02:19 AM |
| list the files but exclude the files in subdirectories | shyjuezy | UNIX for Dummies Questions & Answers | 8 | 10-15-2008 01:42 PM |
| Recursively changing permissions on files | altamaha | UNIX for Dummies Questions & Answers | 1 | 03-01-2008 05:15 AM |
| Recursively copy only specific files from a directory tree | sharpsharkrocks | Shell Programming and Scripting | 3 | 01-07-2008 02:16 PM |
| moving multiple files --recursively using BSD | moxxx68 | UNIX for Advanced & Expert Users | 3 | 09-12-2005 07:41 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
List Files Recursively
Hi!
I'd like to list my files recursively BUT: I want them in this format, so that I can use them as options for commands like ftp->put or del ./directory1/file1.tar ./directory1/file2.tar ./directory1/file3.tar ./directory2/file1.tar ./directory2/file2.tar ./directory2/file3.tar ./directory2/file4.tar Is there any option with ls or is there another command to do this?? |
|
||||
|
Just use:
find . -name '*' This will find all files from the point of execution downwards - and display the filepath and name from that same point. You can change the fullstop (after find) to be any place in the filesystem.... |
|
||||
|
I've got no idea, what the hell is up with that system, however pg and awk and find do not work. It only says:
bash: awk: command not found bash: pg: command not found bash: find: command not found I'm not working on a local unix machine. I use SSH. Could it be that these commands are blocked for SSH?? Or do I probably run the wrong shell By the way: man doesn't work either! Last edited by roberthawke; 06-21-2002 at 06:45 AM.. |
|
|||||
|
A few questions.
Unless there are very restrictive, special settings, you should at least be able to use man and find. That is very strange indeed. Are you root on this session or a normal user? Is your PATH set to see those directories? If you want to change your shell just type "ksh" at the prompt. Then type exit to quit the shell. You might check with the SA to see what the settings are for this system. |
|
||||
|
Oh man!!
typing "which find" bash: which: command not found typing "ksh" bash: ksh: command not found I got no clue!! |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|