26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

108 Start-Up<br />

-r<br />

Deletes any existing subdirectories<br />

-i<br />

Waits for confirmation before deleting each file<br />

ln [options] source target<br />

Creates an internal link from source to target. Normally, such a link points<br />

directly to source on the same file system. However, if ln is executed with the<br />

-s option, it creates a symbolic link that only points to the directory in which<br />

source is located, enabling linking across file systems.<br />

-s<br />

Creates a symbolic link<br />

cd [options] [directory]<br />

Changes the current directory. cd without any parameters changes to the user's<br />

home directory.<br />

mkdir [options] directory<br />

Creates a new directory.<br />

rmdir [options] directory<br />

Deletes the specified directory if it is already empty.<br />

chown [options] username[:[group]] files<br />

Transfers ownership <strong>of</strong> a file to the user with the specified username.<br />

-R<br />

Changes files and directories in all subdirectories<br />

chgrp [options] groupname files<br />

Transfers the group ownership <strong>of</strong> a given file to the group with the specified<br />

group name. The file owner can only change group ownership if a member <strong>of</strong> both<br />

the current and the new group.<br />

chmod [options] mode files<br />

Changes the access permissions.<br />

The mode parameter has three parts: group, access, and access type.<br />

group accepts the following characters:

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

Saved successfully!

Ooh no, something went wrong!