Home / CSE / Learning Linux :: Section 1

CSE :: Learning Linux

  1. How can you add Amit, a new user, to your system?

  2. A.
    Using useradd
    B.
    Using adduser
    C.
    Using linuxconf
    D.
    All of the above
    E.
    None of the above

  3. What file specifies the order in which to use specified name services?

  4. A.
    /etc/services
    B.
    /etc/nsorder
    C.
    /etc/nsswitch.conf
    D.
    /etc/hosts
    E.
    None of the above

  5. How many primary partitions can exist on one drive?

  6. A.
    16
    B.
    4
    C.
    2
    D.
    1
    E.
    None of the above

  7. In which directory can you store system user default files used for creating user directories?

  8. A.
    /usr/tmp
    B.
    /etc/default
    C.
    /etc/skel
    D.
    /etc/users
    E.
    None of the above

  9. How could you install the file ipchains-1.3.9-5.i386.rpm?

  10. A.
    rpm -qip ipchains
    B.
    rpm -Uvh ipchains
    C.
    rpm -i ipchains* .i386.rpm
    D.
    rpm -e ipchains-1.3.9-5.i386.rpm
    E.
    None of the above

  11. What does FSF stand for?

  12. A.
    Free Software File
    B.
    File Server First
    C.
    First Serve First
    D.
    Free Software Foundation
    E.
    None of the above

  13. Which of the following is a valid format for mounting a CD-ROM drive?

  14. A.
    mount -t iso9660 /dev/cdrom / mnt/cdrom
    B.
    mount /dev/cdrom
    C.
    mount /mnt/cdrom
    D.
    All of the above
    E.
    None of the above

  15. What command do you use to create Linux file systems?

  16. A.
    fdisk
    B.
    mkfs
    C.
    fsck
    D.
    mount
    E.
    None of the above

  17. Which of the following command can you execute to count the number of lines in a file?

  18. A.
    lc
    B.
    wc - l
    C.
    cl
    D.
    count
    E.
    None of the above

  19. Which of the following is not a communication command?

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