Chapter 1 Flashcards
1
Q
pwd
A
print working directory
2
Q
hostname
A
my computer’s network name
3
Q
mkdir
A
make directory
4
Q
cd
A
change directory
5
Q
ls
A
list directory
6
Q
rmdir
A
remove directory
7
Q
pushd
A
push directory
8
Q
popd
A
pop directory
9
Q
cp
A
copy a file or directory
10
Q
mv
A
move a file or directory
11
Q
less
A
page through a file
12
Q
cat
A
print a whole file
13
Q
xargs
A
execute arguments
14
Q
find
A
find files
15
Q
grep
A
find things inside files
16
Q
man
A
read a manual page
17
Q
apropos
A
find which manual page is appropriate
18
Q
env
A
look at your environment
19
Q
echo
A
print some arguments
20
Q
export
A
export/set a new environment variable
21
Q
exit
A
exit the shell
22
Q
sudo
A
DANGER! become super user root danger DANGER!
23
Q
chmod
A
sets permissions to files
24
Q
chown
A
changes the owner and group id of path to the numeric uid and gid
25
\\
backslash (\)
26
\ '
single-quote (')
27
\ "
double-quote (")
28
\a
ASCII bell (BEL)
29
\b
ASCII backspace (BS)
30
\f
ASCII formfeed (FF)
31
\n
ASCII linefeed (LF)
32
\N{name}
Character named name in the Unicode database (Unicode only)
33
\r
Carriage Return (CR)
34
\t
Horizontal Tab (TAB)
35
\uxxxx
Character with 16-bit hex value xxxx
36
\Uxxxxxxx
Character with 32-bit hex value xxxxxxxx
37
\v
ASCII vertical tab (VT)
38
\000
Character with octal value 000
39
\xhh
Character with hex value hh