logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which symbol is used to separate more than one command in the same command line?


  • Options
  • A. $
  • B. #
  • C. :
  • D. ;
  • E. None of the above

  • Correct Answer



  • Unix problems


    Search Results


    • 1. Which command is used to sort the lines of data in a file in reverse order

    • Options
    • A. sort
    • B. sh
    • C. st
    • D. sort -r
    • E. None of the above
    • Discuss
    • 2. Which command is used to remove a directory?

    • Options
    • A. rd
    • B. rmdir
    • C. dldir
    • D. rdir
    • E. None of the above
    • Discuss
    • 3. Which command is used to terminate a process?

    • Options
    • A. shutdown
    • B. haltsys
    • C. cancel
    • D. kill
    • E. None of the above
    • Discuss
    • 4. Which of the following keys is used to move the cursor to the end of the paragraph.

    • Options
    • A. }
    • B. {
    • C. |
    • D. $
    • E. None of the above
    • Discuss
    • 5. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

    • Options
    • A. tty ^c
    • B. stty intr \^c
    • C. stty echoe
    • D. stty echo \^a
    • E. None of the above
    • Discuss
    • 6. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

    • Options
    • A. tee
    • B. tr
    • C. sort
    • D. grep
    • E. None of the above
    • Discuss
    • 7. Which of the following files will displayed by this command cat *ch*

    • Options
    • A. patch
    • B. catch
    • C. .ch
    • D. All of the above
    • E. None of the above
    • Discuss
    • 8. Which of the following keys is used to replace a single character with new text?

    • Options
    • A. S
    • B. s
    • C. r
    • D. C
    • E. None of the above
    • Discuss
    • 9. Which command is used to display the top of the file?

    • Options
    • A. cat
    • B. head
    • C. more
    • D. grep
    • E. None of the above
    • Discuss
    • 10. Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?

    • Options
    • A. chmod u+x emp[1-3]
    • B. chmod 777 emp*
    • C. chmod u+r ??? emp
    • D. chmod 222 emp?
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment