Questions Related to technology

Multiple choice technology operating systems
  1. cat displays files cotents. if the file is large the contents scroll off the screen before we view it. commad 'more' is like a pager which displays the contents page by page

  2. more displays files cotents. if the file is large the contents scroll off the screen before we view it. commad 'cat' is like a pager which displays the contents page by page

  3. Both will not used to display

  4. Both will display page by page

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology operating systems
  1. Append the content in file1 and cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report

  2. cat file1>file1 - file emptied and cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report

  3. Both will do the same poeration. Will append the data to the destination files.

  4. cat file1>file1 - Wont do any operation in file 1 and cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology operating systems
  1. Tells the shell to arrange for the output of the preceding command to be passed as input to the following command

  2. It is just used to connect two diifferent commands

  3. It is useful when you use awk commands only

  4. Tells the shell to arrange for the output

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology operating systems
  1. cat file2 - it will take the content to the file 2 and cat>file2 will display an error

  2. Both used to display the contents

  3. cat file2 - it displays the content of the file 2 and cat>file2 - if the file is empty it creates the content into the file2 and if the file has contents it overwrittens

  4. Both used to append the contents

Reveal answer Fill a bubble to check yourself
C Correct answer