28.09.2018 Views

Linux Dummies 9th

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: Getting to Know the <strong>Linux</strong> Filesystem<br />

111<br />

Where the computer is the /usr<br />

The /usr directory is often referred to as its own miniature filesystem tree.<br />

This directory has lots of important or interesting subdirectories, as shown in<br />

Table 6-2. An asterisk (*) at the end of a description indicates that you need to<br />

leave that directory alone unless you have good reason to mess with it — after<br />

you gain lots of experience with <strong>Linux</strong> and know exactly what changes you<br />

need to make — so that you don’t accidentally alter something your system<br />

needs in order to function correctly. An interesting thing to remember about<br />

this section of the filesystem is that many advanced <strong>Linux</strong> users often use /<br />

usr to store programs that can be shared with other <strong>Linux</strong> machines.<br />

Table 6-2<br />

Subdirectory<br />

/usr/X11R6<br />

/usr/bin<br />

/usr/games<br />

/usr/include<br />

Standard /usr Subdirectories<br />

Contents<br />

The files that manage the X Window System (the wireframe<br />

underneath your GUI).*<br />

The commands that aren’t essential for users but are<br />

useful.*<br />

The games that you install on your system, except for those<br />

that you can choose to place in /opt.<br />

The files that the C programming language needs for the<br />

system and its programs.*<br />

/usr/lib The shared code used by many of the programs in this /<br />

usr subhierarchy.*<br />

/usr/local The programs and other items that you want to keep locally,<br />

even if you’re sharing everything else in /usr.<br />

/usr/sbin The commands that aren’t essential for Administrators but<br />

are useful.*<br />

/usr/share The information that you can use on any <strong>Linux</strong> machine,<br />

even if it’s running incredibly different hardware.*<br />

Managing Your Filesystem without<br />

a Net (Or Mouse)<br />

Chapter 7 covers how to use the point-and-click file managers. In this section,<br />

we look at how to use the command-line tools to find your way around the<br />

filesystem. It isn’t vital for you to know how to use the command line, but it<br />

could certainly prove useful someday!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!