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

A

apt-get

21
Q

Linux: check-update, update, install

A

yum

22
Q

process ID

A

PID

23
Q

Linux: report configuration and apply non-persistent changes

A

ip

24
Q

Linux: troubleshoot name resolution and DNS

A

dig

25
Q

Linux: file sharing with windows

A

Samba

26
Q

Apple: search feature

A

spotlight

27
Q

zsh or Bash command-line environment

A

Terminal

28
Q

Apple secure password storage

A

internet accounts and keychain

29
Q

Apple Disk encryption

A

FileVault

30
Q

Apple file management interface

A

finder

31
Q

Apple installation from download

A

package format (DMG, PKA)
.APP installation directory

32
Q

Apple automated backup to an external drive or partition

A

APFS-formatted