[Shenlug] THE FILE TREE

Alvin Smith mezzenger at gmail.com
Wed Apr 15 13:43:04 EDT 2009


THE FILE TREE:The Contents of the Binaries { /bin } Directory
Share
Today at 12:59pm
Linux systems organizes files in an upside down tree structure with the root
{*/*} directory at the top of the File Tree.

Now let's explore the the next level of Linux file system, working our way
"Top Down" from the root. Starting now with the Binaries Directory:

*/bin*
All the essential user programs are contained in the /bin directory, these
files represent the bare minimum set of tools required to use a Linux
system.

These are the shell commands that are available to all users on our GNU /
Debian "Lenny" based AMD64 Workstation (1):
<http://www.facebook.com/photo.php?pid=1533581&op=1&view=all&subj=96678610125&aid=-1&oid=96678610125&id=58825287450>

For example. you will find that the basic four commands *ls*,* cd*, *rm* and
*cat* are stored here.

You should also make note that the list structure command had a hyphen "*-*"
and the lower case letter "*a*" following it and the directory listing
contained two files "*Dot{.}>*" and "*Dot-Dot{..}*"

Typing the shell command *ls -a* lists the all the contents of the current
directory, including any hidden files. Linux follows the UNIX convention of
hiding any file the begins with the period {dot} character .

Early text markup languages used the period in the same way, since no where
in English requires that you start a line text of text with a period.

Linux uses the file named Dot to reference the current directory, for
example the command "*ls .* would list the contents of the current
directory.

Dot-Dot used to reference the parent directory, which in this case would be
the root directory.
<http://www.facebook.com/photo.php?pid=1534399&op=1&view=all&subj=96678610125&aid=-1&oid=96678610125&id=58825287450>

When we type the list structure command "*ls ..* shown above, we see the
contents of our root directory (1).

NOTE (1): You may have a slightly different set of files on your system, we
can't speak for all of the flavors of Linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/shenlug/attachments/20090415/ccd09d2b/attachment-0001.html 


More information about the Shenlug mailing list