Documentation Flashcards

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

A

adb, gdb

19
Q

scripting languages

A

awk, perl, python, tcl

20
Q

macro processors

A

m4, cpp

21
Q

edit streams, replace characters

A

sed, tr

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
Q

network tools

A

telnet, ftp, rlogin, finger,
talk, ping, traceroute, wget,
curl, ssh, scp, rsync, hostname,
host, ifconfig, route

26
Q

VT100 terminal emulator

A

xterm

27
Q

file packaging and compression

A

tar, cpio, compress, zip, gzip,

bzip2

28
Q

builtin shell commands

A

echo, cd, pushd, popd, exit,

ulimit, time, history

29
Q

builtin shell job control

A

fg, bg, jobs, kill

30
Q

clocks

A

date, xclock

31
Q

locate command file

A

which, whereis

32
Q

clear screen, reset terminal

A

clear, reset

33
Q

configure terminal driver

A

stty

34
Q

graphics file viewers

A

display, ghostview, okular

35
Q

graphics drawing tools

A

xfig, tgif, gimp, inkscape

36
Q

graphics format converters

A

topnm, pnmto, [cd] jpeg

37
Q

calculator

A

bc

38
Q

change your password

A

passwd

39
Q

change file permissions

A

chmod

40
Q

scanner/parser generators

A

lex, yacc, flex, bison