Linux HW2 Study Qs Flashcards

  • 10,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 10
  • Tình trạng: Còn hàng

Students also studied

Study guides

Practice questions for this set

Which optional parameter would you use with the Linux sort command to tát ignore case sensitivity?

Which of the following consists of supporting files for an application that are installed on a Linux computer?

Using the screenshot below, which Linux command line tool would give you the following output.

____ are collections of programming functions that can be useful to tát many programs.

What are the two types of outputs that can result using basic redirection operators in Linux? (Choose all that apply.)
-uniform error
-uniform output
-Standard output
-Standard Error

standard output
standard error

Which single keyboard character represents any single character except in a new line in a regular expression in Linux?

!
.
$
#

Which Linux directory usually holds the system configuration files?

A _____ is when the standard output from one program is redirected as the standard input to tát a second program.

Which wildcard character can be matched for any one symbol in a filename?

*
?
/
+

Which of the following redirection operators appends a program's standard output to tát an existing tệp tin, without overwriting that file's original contents?

|
2>
&>
>>

Which of the following commands would you type to tát rename a tệp tin called newfile.txt to tát afile.txt?

The gzip, bzip2, and xz programs all perform ______ compression, in which the decompressed data exactly matches the original pre-compression data.

What is the filename extension for the bzip2 compression program?

True or False: The find command enables you to tát locate tệp tin based on their sizes.

Complete the following command to tát redirect both standard output and standard error from the bigprog program to tát the tệp tin out.txt:
$ bigprog ____ out.txt

You want to tát copy a directory, MyFiles, to tát a USB flash drive that uses the FAT filesystem. The contents of MyFiles are as follows:
$ ls -| MyFiles/
total 276
-rw-r--r-- 1 jen users 129840 Nov 8 15:13 contract.odt
-rw-r--r-- 1 rod users 42667 Nov 8 15:12 coutlinbe.pdf
-rw-r--r-- 1 sam users 105979 Nov 8 15:12 Outline.PDF

The USB flash drive is mounted at /media/usb, and ví you type cp -a MyFiles/media/usb. what problem will occur when you attempt to tát copy these files?

One tệp tin will be missing from the USB flash drive

True or False: You can phối a directory's time stamps with the touch command.

Using the image below, what does the yellow dot best represent?

[yellow dot is next to tát leaves on a tree]

Which of the following directories is where you would find the new mount point for removable truyền thông in the Linux OS?