IT340 CHAPTER 1

IT340 CHAPTER 1

Assessment

Flashcard

Information Technology (IT)

University

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

19 questions

Show all answers

1.

FLASHCARD QUESTION

Front

You type a command into bash and pass a long filename to it, but after you enter the command, you receive a File not found error message because of a typo in the filename. How might you proceed? Options: Retype the command, and be sure you type the filename correctly, letter by letter. Retype the command, but press the Tab key after typing a few letters of the long filename to ensure that the filename is entered correctly. Press the Up arrow key, and use bash’s editing features to correct the typo. Any of the above. None of the above.

Back

Any of the above.

2.

FLASHCARD QUESTION

Front

Which of the following commands is implemented as an internal command in bash? cat, less, tee, sed, echo

Back

echo

3.

FLASHCARD QUESTION

Front

You type echo $PROC, and the computer replies Go away. What does this mean?

Back

You, one of your configuration files, or a program you’ve run has set the $PROC environment variable to Go away.

4.

FLASHCARD QUESTION

Front

What does the pwd command accomplish?

Back

It prints the name of the working directory

5.

FLASHCARD QUESTION

Front

What is the surest way to run a program (say, myprog) that’s located in the current working directory?

Back

Type ./ followed by the program name: ./myprog.

6.

FLASHCARD QUESTION

Front

How does man display information by default on most Linux systems?

Back

using the less pager

7.

FLASHCARD QUESTION

Front

You want to store the standard output of the ifconfig command in a text file (file.txt) for future reference, and you want to wipe out any existing data in the file. You do not want to store standard error in this file. How can you accomplish these goals?

Back

ifconfig > file.txt

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?