Linux commands Flashcards

1
Q

linux: getting help

A

man

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

Linux: File editors

A

nano, vi/vim

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

Linux: list current directory

A

pwd

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

Microsoft: change directory

A

cd

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

Linux: list directory contents

A

ls

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

Linux: output file contents

A

cat

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

Linux: file search tool

A

find

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

Linux: File contents search tool.
Filter any data piped as input.

A

grep

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

Linux: copy files

A

cp

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

Linux: move (and rename) files

A

mv

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

Linux: delete files
-r

A

rm

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

Linux: report free space

A

df and du

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

Linux: switch user

A

su

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

Linux: superuser do

A

sudo

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

user management commands

A

useradd, usermod, userdel

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

Group management commands

A

groupadd, groupmod, groupdel
newgrp to set effective group ID

17
Q

read, write, execute for user, group, world

A
  • rwx r-x r–
18
Q

octal permissions

A

read=4, write=2, and execute=1
0754

19
Q

chown
chgrp

A

Linux: File ownership

20
Q

Linux: update, upgrade, install

21
Q

Linux: check-update, update, install

22
Q

process ID

23
Q

Linux: report configuration and apply non-persistent changes

24
Q

Linux: troubleshoot name resolution and DNS

25
Linux: file sharing with windows
Samba
26
Apple: search feature
spotlight
27
zsh or Bash command-line environment
Terminal
28
Apple secure password storage
internet accounts and keychain
29
Apple Disk encryption
FileVault
30
Apple file management interface
finder
31
Apple installation from download
package format (DMG, PKA) .APP installation directory
32
Apple automated backup to an external drive or partition
APFS-formatted