logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files?


  • Options
  • A. -l
  • B. -d
  • C. -r
  • D. -b
  • E. None of the above

  • Correct Answer
  • -l 


  • Unix problems


    Search Results


    • 1. Which command is used with vi editor scroll half page backward?

    • Options
    • A. [Control-d]
    • B. [Control - u]
    • C. [Control-c]
    • D. [Control -P]
    • E. None of the above
    • Discuss
    • 2. Which command is used with vi editor to move the cursor to the left?

    • Options
    • A. i
    • B. j
    • C. k
    • D. h
    • E. None of the above
    • Discuss
    • 3. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has

    • Options
    • A. executable permission only
    • B. write and executable permissions
    • C. both read and executable permissions.
    • D. both read and write permissions
    • E. None of the above
    • Discuss
    • 4. Which symbol will be used with grep command to match the pattern pat at the end of a line?

    • Options
    • A. ^pat
    • B. $pat
    • C. pat$
    • D. pat^
    • E. None of the above
    • Discuss
    • 5. Which of following commands is used for an automatic reminder service?

    • Options
    • A. write
    • B. mesg
    • C. calendar
    • D. mail
    • E. None of the above
    • Discuss
    • 6. Which of the following command is used to go to home directory?

    • Options
    • A. cd..
    • B. cd/
    • C. cd
    • D. cd HOME.
    • E. None of the above
    • Discuss
    • 7. Which of the following keys is used to delete the character beneath the cursor?

    • Options
    • A. x
    • B. X
    • C. dd
    • D. D
    • E. None of the above
    • Discuss
    • 8. Which of are following internal commands is used in mail to forward mail to user in user-list?

    • Options
    • A. r user-list
    • B. m user-list
    • C. d user-list
    • D. e user-list
    • E. None of the above
    • Discuss
    • 9. Which of the following command is used to count just the number of lines contained in a file?

    • Options
    • A. wc -l
    • B. wc -c
    • C. wc -w
    • D. wc -r
    • E. None of the above
    • Discuss
    • 10. Which of the following special shell variables is used to process number of the current shell?

    • Options
    • A. $!
    • B. $$
    • C. $0
    • D. $*
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment