Hi all,
How to save file full name to a file. I tried the following but don't know to include path name.
[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
My wanted result is ie:
/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
Thanks in advance