Home
Flashcards
Preview
unix.txt
Home
Get App
Take Quiz
Create
List “normal” files.
ls
ls
file
List only
file
ls -a
List all files.
Verbosely list "normal"
ls -l
ls -al
Verbosely list all files.
ls -al
file
Verbosely list only
file
rm
file
Remove
file
Remove
dir
& all subdirs.
rm -r
dir
Move/Rename
file1
to
file2
mv
file1 file2
Move/Rename
dir1
to
dir2.
mv
dir1 dir2.
Copy
file1
to
file2
cp
file1 file2
Change directory to
dir.
cd
dir
Make a directory
dir.
mkdir
dir
Remove the directory
dir.
rmdir
dir
Change owner of
file
to
user.
chown
user file
Change group of
file
to
group
chgrp
group file
Change permissions on
file
to
755 rwxr-xr-x
700 rwx------
644 rw-r--r--
600 rw-------
chmod
nnn file
Find
file
(fast, not reliable)
locate
file
Find
file
in subdir of
dir
(very slow, reliable)
find
dir
-name
file
Author
celestesyndication
ID
38014
Card Set
unix.txt
Description
filesystem management
Updated
2010-09-28T17:36:34Z
Show Answers
Home
Flashcards
Preview