Hi
I want list all files on all directory recursively.As example below,
/home/ashok>ls -1p
test.txt
test1.txt
directory1/
directory2/
/home/ashok> cd directory1/
ashok/directory1>ls -1p
a1.txt
a2.txt
ashok/directory1>cd ../directory2/
ashok/directory2>ls -1p
b1.txt
b2.txt
The above is the directory structure from home directory.
I want to display like this below from /home/ashok>
listing:::
test.txt
test1.txt
directory1/a1.txt
directory1/a2.txt
directory2/b1.txt
directory2/b2.txt
How do i do that.
Thanks in advance.Any suggestion is highly appriciated.
-Ashok
I want list all files on all directory recursively.As example below,
/home/ashok>ls -1p
test.txt
test1.txt
directory1/
directory2/
/home/ashok> cd directory1/
ashok/directory1>ls -1p
a1.txt
a2.txt
ashok/directory1>cd ../directory2/
ashok/directory2>ls -1p
b1.txt
b2.txt
The above is the directory structure from home directory.
I want to display like this below from /home/ashok>
listing:::
test.txt
test1.txt
directory1/a1.txt
directory1/a2.txt
directory2/b1.txt
directory2/b2.txt
How do i do that.
Thanks in advance.Any suggestion is highly appriciated.
-Ashok
Comment