Reminders Prep 2 Flashcards

1
Q

The (Windows Share) Change permission is the same as __ __ except that it doesn’t grant the ability to do what?

A

Change is the same as Full Control, but can’t change the folder’s permissions

[CANT Change folder permissions]

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

If you want to “not allow” certain user permissions for a folder, what’s the best option to do that?

A

Uncheck “Allow”

(NEVER click DENY)

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

The main reason to use a DENY permission is for what?

A

Override an inherited ALLOW permission

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

How do you access Windows Share and NTFS Share permissions? (2 separate areas)

A

Windows Share = Right Click Folder > Properties > Sharing
NTFS Share = Right Click File/Folder > Properties > Security

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

How is the NTFS Change permission different from the Windows Share Change permission?

A

NTFS Change enables an account to add/remove permissions for other users

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

What is the default inheritance rule? (NTFS permissions)

A

default rule: new files/folders get the NTFS permissions of the parent folder

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

How do inherited permissions look like in the dialog box?

A

They’re grayed out

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

How do you override inherited permissions? (NTFS)

A

DENY permission

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

How do inherited permissions work if the parent folder has Full Control and the child file has only Read? (NTFS)

A

Inherited permissions are additive, so you would still get Full Control on the child file

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

What does permission propagation deal with? (NTFS volumes)

A

What permissions a file/folder will have after you move/copy it

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

What happens to a file/folder’s permissions that’s moved within the same volume? (NTFS volumes)

A

keeps original permissions

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

What happens to a file/folder’s permissions that’s moved to a different volume? (NTFS volumes)

A

inherits new permissions

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

What happens when you copy a file/folder within the same volume? (NTFS volumes)

A

inherits new permissions

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

What happens when you copy a file/folder to a different volume? (NTFS volumes)

A

inherits new permissions

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

The only time a file/folder keeps its original permissions in an NTFS volume is when?

A

you move it within the same volume, all other times it will inherit new permissions

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

What are effective permissions?

A

factors in all the permissions the user is included in (like groups) and shows the actual permissions the user has

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

What editions of Windows 10/11 support EFS?

A

Pro and Enterprise

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

What command opens System Information?

A

msinfo

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

What Windows editions include Bitlocker Drive Encryption? (3)

A

Windows 10/11 Pro and Enterprise

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

How does a TPM chip and Bitlocker Drive Encryption work together?

A

Bitlocker encrypts the entire drive, all files, and the TPM chip validates that the computer has not changed on boot for extra security

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

What happens when you use both Windows Sharing and NTFS sharing permissions?

A

the more restrictive permissions apply

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

Where is the Registry stored?

A

It’s not a single file, it’s a collection of files called hives that stores general user data in Windows\System32\config and stores the hives for individual accounts in C:\Users

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

How do you undo Registry changes?

A

You can’t (and the effect is immediate, no saves)

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

What is the Registry editor called?

A

regedit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is a root key?
A root key is one of the 5 top-level hierarchical headings that the Registry is organized into
26
What is a subkey?
the "subfolder" of the top level root key in the Registry
27
Each key or subkey can have values. What is that?
values show more information about the key (what's included inside)
28
What are the 3 most common types of defined data stored in a Registry's value?
1. String value - any combo of text and digits (REG_SZ or REG_EXPAND_SZ) 2. Decimal/Hexadecimal value - base 10, base 16 (REG_DWORD) 3. Binary values - stores 1s and 0s (REG_BINARY)
29
What is the executable file name for System Information?
msinfo32
30
How do you get system information about remote computers?
msinfo32 (System Information) > View > Remote Computer...
31
What is the executable file name for System Configuration?
msconfig
32
Where can you find a list of many tools and utilities available on Windows?
System Configuration (msconfig) > Tools
33
Between Performance Monitor and Resource Monitor, which is the snap-in?
Performance Monitor (perfmon.msc) Resource Monitor (perfmon.exe or resmon.exe)
34
What are the 5 root keys of the Registry?
35
What is also known as the command-line interpreter?
the shell (interprets the commands sent from the text-based interface app called CLI)
36
What is a traditional CLI available on Win10 and 11?
Command Prompt
37
What CLI does Windows 11 have?
Terminal (runs multiple CLIs)
38
What's the default CLI prompt look like for Windows 10 and 11?
10: Current location (working directory) 11: User's personal directory c:\Users\Tom>
39
What's the default CLI prompt for macOS and Linux? (If a power user didn't customize the prompt) [Shows 3 things]
current user, system name, working directory tom@Ubuntu:~$
40
What symbol indicates the end of the prompt in Windows?
>
41
In Linux/macOS what does symbol is used to indicate the end of the prompt?
$
42
In Linux what's the top-level directory that a user can access?
the home directory symbolized with a ~ tilde
43
In Linux, what 2 directories is media mounted to?
/mnt /media/username
44
In macOS, what directory is media mounted to?
/Volumes
45
Does Linux/macOS use forward or back slashes?
forward slashes /mnt /media/username
46
When using the "cd" command, what can it NOT change to?
another volume, just other directories
47
The "cd" command is available for what OS?
1. Windows 2. Linux 3. macOS
48
When would you be able to type in just the name of a directory when using cd? (All OS)
when the desired directory is a sub-directory of the current working one (going deeper into the same directory)
49
When moving within the same parent directory, how would you input that command? (Windows)
Since we're not going deeper into the same directory/sub-directory, you would need to include the \ in front of the desired neighbor directory Example, from Users to neighbor folder Windows in the same parent directory: c:\Users>cd \Windows
50
What does the path look like when going from the top-level root directory to Users\Public? (Windows)
C:\>cd \Users\Public
51
In Windows and Linux how do you go back up one level in the folder hierarchy in a CLI?
cd .. c:\Windows\System32>cd ..
52
In Windows how do you go back up to the root directory in a CLI?
cd \ c:\Windows>cd \
53
In Linux, what's the syntax to go from Documents to another directory within the user's home directory like Downloads?
magicmachine@systemname:~/Documents$cd ~/Downloads (need to include both the ~ tilde and forward slash when jumping between neighbor folders in Linux)
54
In Linux how do you go back up to the root directory? Syntax
cd ~
55
Which OS don't use drive letters?
macOS and Linux
56
Which OS isn't case-sensitive? Which is?
Not case-sensitive: Windows and macOS (paths) Case-sensitive: Linux (paths)
57
What are syntax arguments?
arguments are the collected input/details that will be placed into variables (like cd Documents....Documents is the argument bc it specifies the directory)
58
What are switches also called?
options
59
What are switches/options?
they're the codes that tell the command how to process the input
60
What 2 ways do switches/options appear and what are the 2 types of forms they come in? (2)
1. Slashes /f or Hyphens -l 2. Short-form -h /? (1 hyphen) and Long-form --help (2 hyphens)
61
Of the 2 forms a switch came come in, which ones is sometimes case sensitive?
short-form ex. -h /f -h /w
62
Of the 2 forms a switch came come in, which ones can be combined?
short-form switches (but they must make sense together or they'll fail) ex. -la
63
In syntax, what is a parameter?
a parameter is the argument that's associated with a switch
64
How do you view syntax documentation on Windows and Terminal?
Windows: help and /? Terminal: man and help ex. help cd man ls
65
What does the -l switch in Linux stand for? Which command is it used with? (2)
1. Long listing 2. ls
66
What does the syntax look like to view a certain file or folder's permissions in Linux?
ls -l
67
What's the Linux/macOS equivalent of Window's dir /p?
ls | more (pages of data)
68
In Linux/macOS syntax, what is the | symbol called? What does it do?
1. pipe 2. takes the output of 1st command and pipes it through the 2nd before showing results
69
In Linux and macOS, how is media made accessible if there are no hard drives?
they're mounted as directories
70
In macOS, where is media mounted?
/Volumes
71
In Linux, where are drives and removable media mounted? (2)
Drives = /mnt Removable Media = /media/username
72
What commands do you use to make a directory in Windows? What's the difference? Which one can you use on all OS?
md or mkdir md = requires an argument (name of directory) mkdir = compatible with all OS
73
Can you create 2 files/directories with the same name but different case in Windows?
No, because Windows doesn't identify files by case so you can't have 2 files/folders with the same name
74
What OS is case-sensitive for paths?
Linux, macOS
75
How do you create a directory in Linux/macOS? What command?
mkdir
76
Windows: To delete a directory, what command only works in Windows? Which works on all 3 OS?
Windows only: rd 3 OS: rmdir
77
Windows: Since you can't delete a non-empty directory with simple rd or rmdir commands, what's the syntax to delete one?
rmdir /s rd /s (these don't end up in the recycle bin)
78
How do you remove a directory AND its contents on Linux? What's the syntax?
rm -r
79
What are 2 ways you can run a program from the command line on Windows?
1. Change to the working directory the .exe file is in, type the name 2. Type the complete path to the .exe file from current working directory ex mmc or C:\Windows\System32\mmc
80
Files with what 2 extensions are programs?
.exe and .com
81
What color are executable files in Linux?
green
82
What are the 2 types of exectuable files in Linux?
1. Individual built-in programs (built-in commands) 2. Executable programs not built-in (download, run it)
83
Wildcards come in what 2 forms? (All 3 OS)
1. Asterisk * 2. Question Mark ?
84
What commands do wildcards work with?
All commands that deal with multiple files or directories (like dir)
85
What does the syntax look like if you're trying to find every file in a directory that starts with a? (Windows example)
C:\>dir a*.*
86
What does the syntax look like if you're trying to find every file in a directory that starts with sa? (Linux example)
ls sa* -l (included -l long listing to have a detailed list of the files)
87
For Windows, how do you delete files? (2 ways)
1. del 2. erase (be sure to include their file extension in the syntax)
88
For Linux, how do you delete files?
rm (also works to remove filled/not filled directories with rm -r )
89
How do you delete all files in a directory on Windows? What's the syntax look like?
del *.* del star dot star
90
What are the 2 commands to remove a directory in Windows?
1. rd 2. rmdir (removing full directories requires the /s switch)
91
What are the 2 commands to copy or move **files** in Windows?
1. copy 2. move
92
What are the 2 commands to copy or move **files** in Linux/macOS?
1. cp 2. mv
93
To see the short-name alias (8-3 name) of files, what's the syntax? Windows
dir /x
94
What's a workaround to commands getting confused by spaces in filenames?
Use the file's 8-3 short-name alias (dir /x) so you can refer to the file by the first 6 letters and its sequential number
95
How do you rename files and directories in Windows?
ren oldname newname
96
How do you rename files and directories in Linux/macOS?
mv oldname newname
97
In Windows, what command do you use to copy over multiple directories? What switches does it accept? (leveled up version of copy)
xcopy /s (copy all sub-directories, no empty) /e (copy empty directories)
98
What's the difference between Window's xcopy and copy?
copy (and move) works on files and only one directory at a time xcopy is multiple directories and files
99
In Linux, what's the leveled-up version of mv and cp?
mv and cp don't need a leveled up version like Windows. To copy a sub-directory and all its files you only need to add -R recursive switch (but the mv command doesn't even need a special switch!)
100