logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • 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

  • Correct Answer
  • mv * ../bin 


  • Unix problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. 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
    • 4. 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
    • 5. 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
    • 6. 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
    • 7. 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
    • 8. 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
    • 9. 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
    • Discuss
    • 10. 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


    Comments

    There are no comments.

Enter a new Comment