Linux ch.8

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Which option of the head command will display only the first five lines of a file?

-n 5

Which option for the cut command is used to specify the field? 8.10

Not -d

Channel 2 is:

STDERR

The command echo "text" >> file.txt will not overwrite file.txt if it already exists.

True

The find command can search for files based on the size of the file.

True

The grep command can be used with glob characters.

True

Which of the following commands will display lines that contain either start or end?

egrep 'start|end' file.txt

Which of the following commands scans the file to determine file locations?

find

Which of the following commands will display only lines that begin with start?

grep ^start file.txt

Which command(s) can be used to sort the lines of list.file alphabetically and display it on the screen?

sort < list.file cat list.file | sort


संबंधित स्टडी सेट्स

F8 - EPS, Cash Flows, and NFP Accounting

View Set

ATI Reproductive and Genitourinary System

View Set

Ch. 40: legal issues, quality assurance, and infection prevention

View Set

SOCIOLOGY MIDTERM REVIEW CH1-CH4

View Set