Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-09-2005, 08:36 AM   #1
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70

Rep: Reputation: 15
why can't the /bin directory contain subdirectories?

was just reading in my red hat 9 book about the linux
file system and it states that the /bin directory cannot
contain subdirectories (as prescribed by the Filesystem
Hierarchy Standard I assume).

What is the reason for this?
Is this a technical or an organizational limitation?
Are there other directories that cannot contain subdirectories, e.g. /usr/bin?

Old 03-09-2005, 09:02 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
/bin and any other */bin direcories are supposed to just contain binaries/executables.
Old 03-09-2005, 11:31 AM   #3
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
They CAN contain subdirectories...the system doesn't limit you in that respect, but there'd be little point in adding subdirectories there. The /bin and /usr/bin directories just contain binary files and are included in the path so that just typing the name of a file there can load the program. It means you don't have to either cd to the directory containing each program to load it, or have to add every directory containing a program to the PATH.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
copy 3 files to a directory and all subdirectories? snip128 Linux - Newbie 9 08-12-2005 09:18 PM
Copying all files from subdirectories into one directory Hegemon Linux - General 3 01-17-2005 11:25 AM
howto mv a set of subdirectories to an other directory? Lleb_KCir Linux - General 1 06-13-2004 11:33 PM
read directory and subdirectories skora Programming 3 10-27-2003 10:22 PM
How to know the property a directory include the files and subdirectories? Xiangbuilder Linux - Newbie 3 08-31-2003 05:48 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration