List Directory Content ====================== Author: Momchil Ivanov Date : 2013.06.16 Introduction ------------ The goal of this article is to show different ways of listing the content of a directory. Motivation ---------- This article might come useful when dealing with broken systems. For instance the utility "/bin/ls" on FreeBSD depends on the shared objects: libutil.so, libncurses.so and libc.so. If one of them is broken or missing, the application is broken too. Some systems deliver a rescue environment consisting of statically linked utilities (FreeBSD for instance). Most don't. List directory content ---------------------- 1. ls $ ls 2. echo $ echo *