![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listing files with full path | r_sethu | UNIX for Dummies Questions & Answers | 4 | 08-02-2007 06:35 PM |
| getting full path from relative path | polypus | Shell Programming and Scripting | 4 | 03-25-2007 09:08 AM |
| list all files with full path of the file | Sowser | UNIX for Advanced & Expert Users | 4 | 02-13-2007 02:46 PM |
| Full path of executing script in ksh? | BriceBu | Shell Programming and Scripting | 2 | 09-19-2005 06:29 AM |
| Removing duplicate files from list with different path | vino | Shell Programming and Scripting | 10 | 05-12-2005 05:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
List files with full path
Hi all,
How to save file full name to a file. I tried the following but don't know to include path name. Code:
[mediator@localhost tst]$ ls -l | awk '{print $9}' > outputfile.dat
[mediator@localhost tst]$ cat outputfile.dat
fifth.txt
first.txt
fourth.txt
second.txt
third.txt
Code:
/home/mediator_home/tst/fifth.txt /home/mediator_home/tst/first.txt /home/mediator_home/tst/fourth.txt /home/mediator_home/tst/second.txt /home/mediator_home/tst/third.txt |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You could do this.
Code:
find `pwd` -name "*.*" |
|
#3
|
|||
|
|||
|
Thank you very much
|
|
#4
|
|||
|
|||
|
I Found this in a google search. Very helpful!!!
|
|||
| Google The UNIX and Linux Forums |