Random Linux+ Question #60

Discussion in 'Linux+' started by tripwire45, Aug 11, 2005.

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    You have just deleted a user with the "userdel" command. You have checked in the /etc/passwd, /etc/shadow, and /etc/group files and all references to them are gone. You cd to the /home directory and see that the user's home directory is still present. While in the /home directory, what command must you issue to delete the now defunct user's home directory? Select only one answer.

    1. rmdir /username
    2. rmdir -f /username
    3. rmdir -fm /username
    4. rm -df /username
    5. rm -R /username
    6. None of the above commands will delete the user's home directory.

    Answer later.
     
    Certifications: A+ and Network+
  2. ffreeloader

    ffreeloader Terabyte Poster

    3,661
    106
    167
    It's the big 50, oh, wait, that was a couple of years ago. It's 5. :twisted:
     
    Certifications: MCSE, MCDBA, CCNA, A+
    WIP: LPIC 1
  3. starfury6

    starfury6 Nibble Poster

    53
    0
    33
    I'd use rm -rf /home/username myself but 5 will do :)
     
    Certifications: RHCT4, RHCT5
    WIP: SCSA
  4. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    Answer time. Correct answer is #5.
     
    Certifications: A+ and Network+

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.