I have a file.txt containing the following:
Code:
/home/the/public_html/1234213/pictures/admin/resizer.php
/home/alf/public_html/files/photos1/admin/resizer.php
/home/alf/public_html/joe/photo/admin/resizer.php
/home/alf/public_html/photos/admin/resizer.php
/home/alf/public_html/tom/gallery/admin/resizer.php
/home/st/public_html/gallery/admin/resizer.php
How can I cat that file and display the path but without admin/resizer.php?
cat file.txt | ???
TIA