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

/Q

A

Performs a quick format. Note that this switch overrides /P.

26
Q

chkdsk command

A

Scanning a hard drive for errors from the command prompt.

27
Q

SFC stands for what?

A

System File Checker(SFC). Repairs critical Windows files based on the system store

28
Q

DSIM stands for what?

A

Deployment Image Servicing & Management(DISM). Repairs critical Windows files based on online system stores.

29
Q

Diskpart

A

Allows you to partition hard drives from the command prompt.

30
Q

xcopy

A

Is the original Windows tool to copy entire directory trees, including any files in the tree

31
Q

Robocopy

A

Is an improved version of xcopy, it’s faster and safer.

32
Q

“dd” Linux command

A

Is the xcopy/robocopy command in Linux

33
Q

Shutdown command

A

Shuts down your system. Can be paired with the switches /s and /r which are complete shutdown(/s) and shutdown and restart(/r)

34
Q

Tasklist/Taskkill

A

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
Q

“cls” command

A

clears the command prompt.

36
Q

gpupdate/gpresult

A

Gpupdate forces policy updates. And Gpresult lists the resultant policy.

37
Q

apt-get

A

Gives users access to the Debian repository on Linux

38
Q

apt-get update

A

Updating the program repository on Linux.

39
Q

apt-get upgrade

A

Upgrades/updates programs/applications on Linux

40
Q

apt-get remove

A

Removes programs/applications on Linux

41
Q

ps

A

the command in Linux that gives you control over processes.

42
Q

ps aux

A

shows all processes running on the system regardless of user on Linux.

43
Q

grep

A

only works with test files.

44
Q

Kill

A

kills or ends a process on Linux

45
Q

VI text editor

A

Very old text editor.

46
Q

icacls

A

Windows command that enables changing NTFS permissions from the command line

47
Q

chmod

A

Linux command that enables changing Linux Permissions

48
Q

chown

A

Linux command that enables root users to take control of any Linux folder or file.

49
Q

Batch file

A

A text file that stores a list of commands. That uses the extension “.bat”.

50
Q

Environment Variables

A

Are phrases that point to system-wide functions

51
Q

Windows Powershell

A

Can provide more powerful scripts than command prompt.

52
Q

Extension for Powershell is what?

A

.ps1

53
Q

ISE stands for what?

A

Integrated Scripting Environment.

54
Q

Linux Bash Shell

A

Bash shell scripts in Linux can also provide powerful scripting functions.

55
Q

“.exe” files are what?

A

Compiled code.

56
Q

Visual Basic - “.vbs”

A

Been around a long time.

57
Q

Variables

A

Are values that can change depending on how we define them.

58
Q

Integers and Strings

A

Integers are numbers in code and Strings are text in code.

59
Q

Comment syntax

A

Are just notes in code that don’t execute.

60
Q

Python code - “.py”

A

Very popular coding language, easy to read. And be ran on all OS’s.

61
Q

JavaScript code - “.js”

A

Another popular coding/programming language, Heavily used for web pages and animation.

62
Q

Client-side Application

A

The code from the server to show you a web page.