26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

92 Start-Up<br />

and are prefixed with a hyphen. The ls -l command shows the contents <strong>of</strong> the same<br />

directory in full detail (long listing format):<br />

Figure 3.3 The ls -l Command<br />

On the left <strong>of</strong> each object name, information about the object is shown in several<br />

columns. The most important are the following: The first column shows the file type<br />

<strong>of</strong> the object (in this example, d for directory or - for normal files). The next nine<br />

columns show the user permissions for the object. Columns 11 and 12 show the name<br />

<strong>of</strong> the file owner and the group (in this case, tux and users). Find information about<br />

user permissions and the user concept <strong>of</strong> Linux in Section 3.2, “Users and Access Permissions”<br />

(page 102). The next column shows the file size in bytes. Then date and time<br />

<strong>of</strong> the last change are displayed. The last column shows the object name.<br />

If you want to see even more, you can combine two options for the ls command and<br />

enter ls -la. The shell now also shows hidden files in the directory, indicated by a<br />

dot in front (for example, .hiddenfile).<br />

Getting Help<br />

Nobody is expected to know all options <strong>of</strong> all commands by heart. If you remember<br />

the command name but are not sure about the options, you can enter the command<br />

followed by a blank and --help. This --help option exists for many commands.<br />

Entering ls --help displays all the options for the ls command.

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

Saved successfully!

Ooh no, something went wrong!