Linux(6)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

31 Terms

1
New cards

Man Pages

used to describe the features of commands

provide a basic description of the purpose of the command + details

2
New cards

Synopsis

provides examples of how the cmd is executed

3
New cards

[ ] Square brackets

indicate this feature is not required to run the command

[-31jy]

options -3 -1 -j -y are available, but not required for the cmd to function properly

4
New cards

Options

list the options for the command as well as a description of how they are used

5
New cards
6
New cards

... following [OPTION]

indicates that one or more of the items before it may be used

7
New cards

[-u|--utc|--universal]

either the -u, --utc option or the --universal option may be used

typically all three options really do the same thing

8
New cards

search man page for a term

type the / character followed by a search term

9
New cards

Shift+N

move to the next match on the man page

10
New cards

How many sections do man pages have

9

11
New cards

1

General Commands

12
New cards

2

System Calls

13
New cards

3

Library Calls

14
New cards

4

Special Files

15
New cards

5

File Formats and Conventions

16
New cards

6

Games

17
New cards

7

Miscellaneous

18
New cards

8

System Administration Commands

19
New cards

9

Kernel Routines

20
New cards

man -f (cmd)

displays man pages that match the specific name

provide the section number and a brief description of each man page

21
New cards

man -k (cmd)

searches both names + descriptions of man page for key words

(A.K.A) apropos

22
New cards

whatis

returns what section a man page is stored in

(A.K.A) man -f

23
New cards

whereis

searches in specific locations

24
New cards

locate

searches a database of all files and directories that were on the system

-EXCEPT any file created THAT DAY

25
New cards

locate -c (cmd)

how many files match

26
New cards

basename

portion of the filename not including the directory names

27
New cards

locate -c -b (cmd)

only includes listings that have the search term in the basename

28
New cards

locate -b “\(cmd”

limits output to filenames that EXACTLY match the term

29
New cards

info

gives logical organized structure

makes reading documentation easier

gives hyperlinks to pages with more info

30
New cards

Shift+H

move Up + Down

31
New cards

--help

learn the basic usage of a command quickly without leaving the command line

(Similar to SYNOPSIS)