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

Quiz
•
Computers
•
University
•
Hard
Pushpendra Pateriya
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Soal Photoshop Dasar 1

Quiz
•
1st Grade - University
11 questions
Linux Commands

Quiz
•
University
12 questions
C++ Faili (1)

Quiz
•
University
15 questions
File Types and Formats Quiz

Quiz
•
8th Grade - University
20 questions
Python Functions and File Operations Quiz

Quiz
•
University
10 questions
Tes Awal AlPro Modul 6

Quiz
•
University
20 questions
NTFS

Quiz
•
University
10 questions
Programming in C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade