CMSY 106 Chapter 2 Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

A Windows command syntax switch is expressed by using which character? / : \ -

/

Which of these characters gives you all possible switches for a Windows command? /P /H /? /S

/?

Which wildcard character replaces a single character in the command-line interface? % ~ ? +

?

Of the following, which best describes the function of the Windows gpresult command? Lists all recently updated group policies Lists all changes to a user's group policies since the last refresh Lists any and all conflicting group policies Lists the group policies applied to a user

Lists the group policies applied to a user

How do you run a command at the Windows command prompt with elevated or administrative privileges? The cmd command always runs with administrative privileges. Right-click a command-prompt shortcut and then select Run as PowerUser. Right-click a command-prompt shortcut and then select Run as administrator. Enter an elevated username and password at the command prompt

Right-click a command-prompt shortcut and then select Run as administrator.

Irene is reading a PowerShell script line by line to check for errors before it runs on the computer she's servicing. One line reads as follows: #Jumps to start What type of variable, condition, or command is this line? conditional comment string integer

comment

Which Windows command is functionally equivalent to the Linux ls command? command copy dir dd

dir

Which command pauses after displaying a screen's worth of directory contents? (Choose two.) dir /p dir p ls -p ls | more

dir /p ls | more

What is another name for a folder? System Directory Tree Program

directory

In older Windows versions, the filename was restricted to _______________ characters. six ten two eight

eight

What command, identical in both Windows and Linux, will tell you the name of a computer? whoami hosts | grep net name hostname

hostname

What Terminal command will display a workstation's IP address? wsgen ipconfig ifconfig iwconfig

ifconfig

What Linux command displays the current working directory? ls dir workdir pwd

ls

Which Linux command lists the contents of a directory? mv dir ls list

ls

Which of the following Linux commands will show detailed information about the contents of a folder? ls -h ls -e ls -l ls -k

ls -l

Which of the following commands will show you any line that has the string "fred" in it? ls -r | grep fred ls -a fred ls -r | less fred la -r fred

ls -r | grep fred

What Linux command describes the syntax and options of a specific command? man xcopy ls help

man

What can you type before a Terminal command to access help for that command? man /? help ?

man

Which command is used to create a new directory in Windows? mfolder md\ md newdir

md

Which of these is not a valid Microsoft Office file extension? .doc .pptx .docx .gif

.gif

In Windows, hard drive partitions usually start with the letter _______________. C: D: A: B:

C:

The part of a filename following the period (.) is called the _______________. Command Folder Extension Designation

Extension

In the Windows command-line syntax, a directory is referred to by which character(s)? .. \ / :

\

The file's ______________________ indicates what type of program uses the data by looking at the ________________________. extension; location privileges; association association; extension partition; extension

association; extension

Which command will allow you to go up a single directory level at a time? cd SPACE cd.. cd\ cd ENTER

cd..

Which Windows command always navigates the command-line interface back to the root directory? cd/ cd\.. cd\ cd..

cd\

What command do you type in the Search box to access the command-line interface in Windows? cmd msdos prompt c:

cmd

A text-based user interface, in which users type in instructions at a prompt, is also known as a _______________ interface. command-line graphical user mouse-enabled Windows-based

command-line

What Linux command is used to create a new directory? newdir mkdir dir make

mkdir

Which command can you use to determine an exact folder location or path in Terminal? pwd prompt dir path

pwd

Which of the following commands will delete all the files in a directory in Terminal? rm * rm all del * . * del all

rm *

The Windows xcopy command was superseded by the faster and more efficient __________________ command. rm copy robocopy dd

robocopy

On a Linux system it is considered bad manners to create files and folders in the ___________________ directory. root tree users home

root

Which of the following commands will shut down a Linux system immediately without restarting it? shutdown now shutdown -r now shutdown /r now shutdown -r -m

shutdown now

What Windows command can be used to copy entire directories, including sub-directories? xcmd xcomp xcopy xcompact

xcopy

In macOS and Linux, what is the shorthand character that represents a user's home directory? / \ ~ @

~


Set pelajaran terkait

Texas Law of Agency: Quiz Questions

View Set

Chapter 17 - Regulation of Gene Expression in Bacteria and Bacteriophages

View Set

CH 17: Investments -- True/False

View Set

2.7 Fair Credit Reporting Act (FCRA)

View Set

Ch. 6 Long bone Structure Written

View Set

GOVT2305: Chapter 5- Civil Rights

View Set

Java Foundations, Chapter 9, Polymorphism

View Set