Chapter 08 Exam

Channel 2 is:
  • STDERR
Which of the following commands will append its output to output.file?
  • echo Testing >> output.file
Which option of the head command will display only the first five lines of a file?
  • -n 5
The grep command can be used with glob characters.
  • True
Which of the following commands will display only lines that begin with test?
  • grep ^test file.txt
Which of the following commands can be used to scroll through a text file?
  • more
  • less
The find command can search for files based on the size of the file.
  • True
Which option for the cut command is used to specify the field?
  • -f
Which option for the wc command will print the total number of words in a file?
  • -w
The command echo "text" >> file.txt will not overwrite file.txt if it already exists.
  • True
SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

    Blogger Comment
    Facebook Comment

0 comments:

Posting Komentar