Skip to content

Commit

Permalink
Document hard and soft links
Browse files Browse the repository at this point in the history
  • Loading branch information
mconigliaro committed Sep 1, 2015
1 parent 2c86526 commit 8ade4d3
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions manuscript/rhcsa1.md
Expand Up @@ -82,13 +82,13 @@ Delete a file:

rm <file>

Copy a file:
Copy a file from `src` to `dst`:

cp <file1> <file2>
cp <src> <dst>

Move (rename) a file:
Move (rename) a file from `src` to `dst`:

mv <file> <file2>
mv <src> <dst>

Create a directory:

Expand All @@ -98,16 +98,24 @@ Delete a directory:

rm -r[f] <dir>

Copy a directory:
Copy a directory from `src` to `dst`:

cp -r <dir1> <dir2>
cp -r <src> <dst>

Move (rename) a directory:
Move (rename) a directory from `src` to `dst`:

mv <dir1> <dir2>
mv <src> <dst>

## Create hard and soft links

Create a hard link:

ln <target> <link>

Create a soft link `link` that points to `target`:

ln -s <target> <link>

## List, set, and change standard ugo/rwx permissions

## Locate, read, and use system documentation including man, info, and files in /usr/share/doc

0 comments on commit 8ade4d3

Please sign in to comment.