Documentation Flashcards

(40 cards)

1
Q

Manual section purposes

A

Most Unix documentation can be read from the command line.

Classic manual sections:

  • user commands (1),
  • system calls (2), subroutine API provided by kernel directly
  • library functions (3) implemented by user space
  • devices (4) - device drivers
  • file formats (5) - … used by the kernel
    e. g. printf in 3 as a C library function (man 3 printf) but for the command line tool printf (man 1 printf) otherwise just get lowest numbered volume that knows this keyword.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

man page

A
  1. synopsis

2. list of commands and options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

output man page as postscript/html

A

xman - offers table of contents

info - use n/p/u to navigate tree, move to line and press enter to follow link.
Pressing spacebar – goes to end of page / go to next page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

further documentation if there isn’t a man page or info page

A

/usr/share/doc or Web

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Help/documentation browsers

A

man, apropos, xman, info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Plaintext file viewer

A

more, less

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

list/traverse directories, search

A

ls, find

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

copy, move/rename, remove, renew

files, link/shortcut files

A

cp, mv, rm, touch, ln

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

make/remove directories

A

mkdir, rmdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

concatenate/split files

A

cat, dd, head, tail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

examine disk space used and free

A

du, df, quota, rquota

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

process table and system load

A

ps, top, free, uptime, w

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

interactive editors

A

vi, emacs, pico

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

C compilers

A

cc, gcc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

project builder

A

make

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

compare files, apply patches

A

cmp, diff, patch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

revision control systems

A

rcs, cvs, svn, git, hg, bzr

18
Q

debuggers

19
Q

scripting languages

A

awk, perl, python, tcl

20
Q

macro processors

21
Q

edit streams, replace characters

22
Q

sort/search lines of text, extract columns

A

sort, grep, cut

23
Q

text formatters

A

nroff, troff, tex, latex

24
Q

electronic mail user agents

A

mail, pine, mh, exmh, elm

25
network tools
telnet, ftp, rlogin, finger, talk, ping, traceroute, wget, curl, ssh, scp, rsync, hostname, host, ifconfig, route
26
VT100 terminal emulator
xterm
27
file packaging and compression
tar, cpio, compress, zip, gzip, | bzip2
28
builtin shell commands
echo, cd, pushd, popd, exit, | ulimit, time, history
29
builtin shell job control
fg, bg, jobs, kill
30
clocks
date, xclock
31
locate command file
which, whereis
32
clear screen, reset terminal
clear, reset
33
configure terminal driver
stty
34
graphics file viewers
display, ghostview, okular
35
graphics drawing tools
xfig, tgif, gimp, inkscape
36
graphics format converters
*topnm, pnmto*, [cd] jpeg
37
calculator
bc
38
change your password
passwd
39
change file permissions
chmod
40
scanner/parser generators
lex, yacc, flex, bison