COMMANDAS AND PARAMETERS Flashcards

1
Q

The del command deletes one or more files. When using this command, you need to be aware of the following parameters:

A

/P – Prompts for confirmation before each deletion.

/F – Forces deletion of read-only files.

/S – Deletes specified files from all subdirectories.

/Q – Uses quiet mode. This prevents prompting of the user.

/A – Selects files to delete based on file attributes.

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

The tasklist command displays a list of all running processes. When using this command, you need to be aware of the following parameters:

A

/S system – Specifies the remote system to use.

/U domain_name\user_name – Specifies the user context for the command.

/P password – Specifies password for user account.

/SVC – Specifies services hosted in each process.

/V – Displays verbose tasks information.

/pid process_ID – Terminates the process with the given process ID.

/f – Forces termination.

/t – Terminates all child processes of the specific process that is being terminated.

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

The shutdown command schedules a system shutdown. When using this command, you need to be aware of the following parameters:

A

/S – Turns the computer off.

/R – Restarts the computer.

/M \computer_name – Specifies the remote computer to shutdown/restart.

/C comment – Displays the given comment prior to shutting down.

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

The sfc command verifies the version of system files running on the computer. Corrupted files will be replaced with correct versions. When using this command, you need to be aware of the following parameters:

A

SCANNOW – Scans protected files immediately.

/SCANONCE – Scans all protected files once.

/SCANBOOT – Scans all protected files every time the computer reboots.

/VERIFYONLY – Scans the protected files, but does not make repairs or changes.

/SCANFILE – Scans only the specified file.

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

The bootrec command interacts with the Master Boot Record (MBR), boot sector, or boot configuration data (BCD) store. It is considered a replacement for the Recovery Console. When using this command, you need to be aware of the following parameters:

A

/FIXBOOT – Writes a new boot sector.

/FIXMBR – Writes a new MBR.

/REBUILDBCD – Rebuilds BCD store.

/SCANOS – Scans all disks for installations the Boot Manager menu is not listing.

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

Windows is reporting that a system file is corrupt on a Windows computer. You have already run chkdsk /f and rebooted the machine, but the error message shows that the file is still corrupt.

Which command-line tools would you use next?

A

System File Checker (SFC) is the tool that fixes corrupt system files. To identify which system files need repair, open an elevated command prompt and run sfc /verifyonly. To repair those files, run sfc /scannow.

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