Linux (7)

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

1/26

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.

27 Terms

1
New cards

Files

store data (text, graphics, programs)

2
New cards

Directories

files that store other files; (folders

3
New cards

My Computer

top level directory structure

physical devices (hard drives, USBs) each are assigned a drive letter (C:D:)

4
New cards

home directory

where a user does most of their work

can create and delete files (full control)

5
New cards

~bob

refers to another user’s home directory

/home/bob

6
New cards

pwd

present working directory

7
New cards

cd

change directory

No argument → home directory

8
New cards

PATH

a list of directories separated by /

9
New cards

Absolute paths

allow user to specify exact location of a directory

always starts @ root directory

begins with /

10
New cards

Relative paths

start from the current directory

gives directions relative to the current location in the file system

DO NOT star with /, start with name of directory

11
New cards

cd ..

moves you back a directory

12
New cards

. (single period)

represents the current directory …

13
New cards

hidden files

not shown automatically

begins with (.)

14
New cards

d

directory

A file used to store other files.

15
New cards

-

regular file

Includes readable files, images files, binary files, and compressed files.

16
New cards

l

symbolic link

Points to another file.

17
New cards

s

socket

Allows for communication between processes.

18
New cards

p

pipe

Allows for communication between processes.

19
New cards

b

block file

Used to communicate with hardware.

20
New cards

c

character file

Used to communicate with hardware.

21
New cards

Permissions

next 9 characters, indicates how certain users can access files

22
New cards

ls -lh

human-readable files size (286k)

23
New cards

ls -ld

indicates cd being listed

24
New cards

ls -lR

lists all flies in a directory + all files in sub directories

recursive listing

limit use to smaller settings

25
New cards

ls -S

sorts by file size

26
New cards

ls -tl

time they were modified

27
New cards
  • - -fulltime

display complete timestamp (hrs,mins, etc)