S12 - Working with OS Flashcards

1
Q

commands you add on to the end of cmd instructions are called

A

switches

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

SFC function

A

analyse/fix system files based on system store

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

CHKDSK function

A

fixes formatted partitions

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

DISM function

A

scans and patches faulty files based on online system stores

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

Diskpart function

A

partition drives

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

alternative to xcopy

A

robocopy

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

xcopy vs robocopy

A

robocopy is quicker and safer

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

linux version of xcopy

A

dd

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

icacls function

A

changes the ntfs permissions on windows

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

what can we use within linux to change file permissions

A

chmod

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

which rule must we follow up on when it comes to chmod (changing file permissions)

A

rule of 7 (4,2,1)

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

command used in linux to change file ownership

A

chown

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

give an example of chown usage within linux

A

chown 777 myfolder1 matt

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

cli = of task manager within windows + PID kill

A

tasklist & taskkill PID=x

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

what file type does grep work on

A

text

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

= of task manager on linux

A

ps aux

17
Q

what are batch files

A

text files that contains a list of commands to run

18
Q

what are environment variables

A

phrases that point to system-wide functions

19
Q

what is an advantage of using powershell over batch files

A

allows for more specificity and powerful scripting functions

20
Q

What type of extension does visual basic use

A

.vbs

21
Q

what type of extension does JavaScript use

A

.js

22
Q

what should you write to get help with a command on windows

A

cmd /?

23
Q

= of /? on linux

A

man [cmd]