CSE105

CSE105

University

15 Qs

quiz-placeholder

Similar activities

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Briefing Besar PIM III

Briefing Besar PIM III

University

20 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

REMEDIAL PAS DDG GANJIL

REMEDIAL PAS DDG GANJIL

University

20 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Porcentajes

Porcentajes

University

12 Qs

CSE105

CSE105

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Pushpendra Pateriya

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is implemented as an internal command in bash?

cat

echo

tee

sed

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the pwd command accomplish?

It prints the name of the working directory.

It changes the current working directory.

It prints wide displays on narrow paper.

It parses Web page URLs for display.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

directory?

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

Type the program name alone: myprog.

Type run followed by the program name: run myprog.

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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. How can you do so?

ifconfig < file.txt

ifconfig >> file.txt

ifconfig > file.txt

ifconfig | file.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of the following command?

$ ./myprog &> input.txt

Standard error to myprog is taken from input.txt.

Standard input to myprog is taken from input.txt.

Standard output and standard error from myprog are written to input.txt.

All of the above.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many commands can you pipe together at once?

2

3

4

An arbitrary number

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A text-mode program, verbose, prints a lot of spurious “error” messages to standard error.

How might you get rid of those messages while still interacting with the program?

verbose | quiet

verbose &> /dev/null

verbose 2> /dev/null

verbose > junk.txt

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?