ssokolow@monolith ~ $ python Python 2.5.1 (r251:54863, Jan 11 2008, 18:30:40) [GCC 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> print '\n'.join([x for x in os.listdir('/') if os.path.isfile('/' + x)]) .esd_auth dead.letter TiMidity.sw .lesshst .bash_history >>>