logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which of the following commands is used to have a two-way communication with any person who is currently logged in?


  • Options
  • A. mail
  • B. mesg
  • C. write
  • D. grep
  • E. None of the above

  • Correct Answer
  • write 


  • Unix problems


    Search Results


    • 1. The UNIX file system stores a data in physical blocks of

    • Options
    • A. 1024 bytes
    • B. 2048 bytes
    • C. 512 bytes
    • D. 256 bytes
    • E. None of the above
    • Discuss
    • 2. You can append to a file instead of overwriting by using the

    • Options
    • A. > symbols
    • B. >> symbols
    • C. < symbols
    • D. << symbols
    • E. None of the above
    • Discuss
    • 3. Which command allows you to view your file 24 lines at a time?

    • Options
    • A. more
    • B. pg
    • C. cat
    • D. lp
    • E. None of the above
    • Discuss
    • 4. Which command is used to move all files to the bin sub-directory of the parent directory?

    • Options
    • A. mv *.* /bin/
    • B. mv * /bin/*
    • C. mv * ../bin
    • D. mv * ../bin *.*
    • E. None of the above
    • Discuss
    • 5. Which of the following signs is used to back up over typing errors in vi?

    • Options
    • A. @
    • B. #
    • C. $
    • D. !
    • E. None of the above
    • Discuss
    • 6. The special shell variable $* is used

    • Options
    • A. to exit status of ast command executed.
    • B. to process number of the current shell
    • C. to list the positional parameters
    • D. to name the command being executed
    • E. None of the above
    • Discuss
    • 7. Major expressions used with find command to select file is it has been accessed in more than 375 days, is

    • Options
    • A. -atime +365
    • B. -mtime + 365
    • C. -atime -365
    • D. -mtime -365
    • E. None of the above
    • Discuss
    • 8. The command that can be used to restrict incoming messages to a user is

    • Options
    • A. mesg
    • B. grep
    • C. halt
    • D. sleep
    • E. None of the above
    • Discuss
    • 9. Which command is used to display all the lines with the string 'sales' from the file empl.lst?

    • Options
    • A. cut sales empl.lst
    • B. /sales > empl.lst
    • C. grep sales empl.lst
    • D. cat | /sales > empl.lst
    • E. None of the above
    • Discuss
    • 10. Which command is used to save the standard output in a file, as well as display it on the terminal?

    • Options
    • A. more
    • B. cat
    • C. grep
    • D. tee
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment