logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Linux Comments

  • Question
  • What command is used to remove a file?


  • Options
  • A. del
  • B. mv
  • C. rm
  • D. remove
  • E. None of the above

  • Correct Answer
  • rm 


  • Linux problems


    Search Results


    • 1. Which of the following tool is used to partition your hard drive?

    • Options
    • A. mkfs
    • B. fdisk
    • C. fsck
    • D. mount
    • E. None of the above
    • Discuss
    • 2. Which of the following is not a filter command?

    • Options
    • A. sort
    • B. wc
    • C. grep
    • D. cat
    • E. None of the above
    • Discuss
    • 3. The location for subdirectories for local programs and executables for user and administrative commands, is:

    • Options
    • A. /usr
    • B. /tmp
    • C. /opt
    • D. /mnt
    • E. None of the above
    • Discuss
    • 4. What command is used to query for a specific package with RPM?

    • Options
    • A. rpm -q
    • B. rpm -a
    • C. rpm -d
    • D. rpm -1
    • E. None of the above
    • Discuss
    • 5. Where can system and mail logs be found in Ret Hat Linux?

    • Options
    • A. /var/log
    • B. /etc/log
    • C. /mail
    • D. All of the above
    • E. None of the above
    • Discuss
    • 6. What command is used to count the number of files in the current directory by using pipes?

    • Options
    • A. ls | ws - c
    • B. ls | wc - w
    • C. ls | wc - l
    • D. ls | wc
    • E. None of the above
    • Discuss
    • 7. What command is used with vi editor to move the cursor to the left?

    • Options
    • A. h
    • B. k
    • C. j
    • D. i
    • E. None of the above
    • Discuss
    • 8. Which daemon is used for the Apache server?

    • Options
    • A. apached
    • B. httpd
    • C. html
    • D. shttp
    • E. None of the above
    • Discuss
    • 9. The command chmod 761 letter is equivalent to

    • Options
    • A. chmod 4=7, g = 6, o = 1 letter
    • B. chmod a = 761 letter
    • C. chmod u = rwx, g = rw, o = x letter
    • D. chmod 167 letter
    • E. None of the above
    • Discuss
    • 10. What command is used to print a file?

    • Options
    • A. lp
    • B. pg
    • C. prn
    • D. print
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment