print only file name with ls -l Posted on 19.02.2015 by mario There is an easy trick to display only the filename with ls -l ls -l | awk '{print $9}'