I am looking for a very simple command to print the absolute path of ls. I have tried a lot of different methods and can't seem to find the correct answer. The code is meant to be along the line of cd; pwd
If anyone could help me out I'd be very happy! Thank you!
A few of my unsuccessful attempts:
ls pwd
ls; pwd
ls $PWD
cd; ls pwd