Chapter 15 - Working with the Command-Line Interface Flashcards

1
Q

CLI stands for what?

A

Command-Line Interface(CLI). Very old but are kept up to date. a specific CLI is called a shell. Most OSes provide multiple shell options. All shells have a prompt to type in commands.

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

Linux Command is called what?

A

a Bash Shell. Have to use the “sudo” command to run command as an admin.

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

“dir’ command

A

shows dates and times of files and shows the folder that they are in.

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

What is a switch in the command prompt

A

The Switch is the end part added to the command line.

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

/? switch

A

this switch is very important followed by help and the command line you want to know about.

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

“LS” command

A

is the “dir(display)” command in Linux.

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

“man” command in Linux

A

is the /? switch just in Linux

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

“cd" command

A

The Change Directory(cd). Is a command in all operating systems to move the prompt to different folders/directories.

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

“cd ..” command

A

takes you into the next folder/directory upstream

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

“cd (name of folder)” command

A

To go to the next folder downstream.

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

“pwd” command in Linux

A

Just tells you want directory that your currently in.

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

“md” command

A

Make Directory(md). Allows you to make a folder in command prompt.

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

Windows vs. Linux command

A

Windows doesn’t care about Capital letters and uses (). Linux uses (/) and does care about Capital letters.

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

“rd” command

A

Remove Directory(rd). Allows you to remove/delete empty directories. You can’t delete directories using “rd” in windows. To delete directories, use the “rd /s” command.

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

“mkdir” command in Linux

A

Is the “md(make directory)” command just in Linux.

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

“rmdir” command in Linux

A

is the “rd” command just in Linux.

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

“del” command

A

Delete(del) command prompt to delete files in command prompt.

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

*. (file type)

A

Use *. followed by a file type named can be used with multiple commands to perform actions on a certain file type.

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

.

A

Use . can be used with multiple commands to perform actions on a entire folder.

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

copy

A
  1. Get to the directory with the files you want to copy. 2. Type copy followed by a space. 3. Type name of the file you want to copy followed by a space. 4. Type the path of where you want the file to go. 5. hit enter. copy fred.txt k:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

move

A

same steps just moving the file not actually making a copy.

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

Standard vs. Admin command prompt

A

Commands available with standard privileges vs. admin privileges.

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

/FS:filesystem

A

Specifies the type of the file system (FAT, FAT32, exFAT, NTFS, UDF, ReFS).

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

/FS:NTFS

A

Formats a hard drive to NTFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
/Q
Performs a quick format. Note that this switch overrides /P.
26
chkdsk command
Scanning a hard drive for errors from the command prompt.
27
SFC stands for what?
System File Checker(SFC). Repairs critical Windows files based on the system store
28
DSIM stands for what?
Deployment Image Servicing & Management(DISM). Repairs critical Windows files based on online system stores.
29
Diskpart
Allows you to partition hard drives from the command prompt.
30
xcopy
Is the original Windows tool to copy entire directory trees, including any files in the tree
31
Robocopy
Is an improved version of xcopy, it's faster and safer.
32
"dd" Linux command
Is the xcopy/robocopy command in Linux
33
Shutdown command
Shuts down your system. Can be paired with the switches /s and /r which are complete shutdown(/s) and shutdown and restart(/r)
34
Tasklist/Taskkill
Tasklist will list all the processes running on your system. Taskkill will let us shut down any of the processes running on your system.
35
"cls" command
clears the command prompt.
36
gpupdate/gpresult
Gpupdate forces policy updates. And Gpresult lists the resultant policy.
37
apt-get
Gives users access to the Debian repository on Linux
38
apt-get update
Updating the program repository on Linux.
39
apt-get upgrade
Upgrades/updates programs/applications on Linux
40
apt-get remove
Removes programs/applications on Linux
41
ps
the command in Linux that gives you control over processes.
42
ps aux
shows all processes running on the system regardless of user on Linux.
43
grep
only works with test files.
44
Kill
kills or ends a process on Linux
45
VI text editor
Very old text editor.
46
icacls
Windows command that enables changing NTFS permissions from the command line
47
chmod
Linux command that enables changing Linux Permissions
48
chown
Linux command that enables root users to take control of any Linux folder or file.
49
Batch file
A text file that stores a list of commands. That uses the extension ".bat".
50
Environment Variables
Are phrases that point to system-wide functions
51
Windows Powershell
Can provide more powerful scripts than command prompt.
52
Extension for Powershell is what?
.ps1
53
ISE stands for what?
Integrated Scripting Environment.
54
Linux Bash Shell
Bash shell scripts in Linux can also provide powerful scripting functions.
55
".exe" files are what?
Compiled code.
56
Visual Basic - ".vbs"
Been around a long time.
57
Variables
Are values that can change depending on how we define them.
58
Integers and Strings
Integers are numbers in code and Strings are text in code.
59
Comment syntax
Are just notes in code that don't execute.
60
Python code - ".py"
Very popular coding language, easy to read. And be ran on all OS's.
61
JavaScript code - ".js"
Another popular coding/programming language, Heavily used for web pages and animation.
62
Client-side Application
The code from the server to show you a web page.