Home / CSE / Unix :: Section 3

CSE :: Unix

  1. The File that contains a set of instructions which are performed when a user logs in, is

  2. A.
    .exrc
    B.
    .profile
    C.
    .autoexec
    D.
    autoexec.bat
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. The octal representation 652 indicates

  4. A.
    Execute permission for the owner
    B.
    Write permission for others
    C.
    Read and write permission of groups
    D.
    All of the above
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following command is used to count just the number of lines contained in a file?

  6. A.
    wc -l
    B.
    wc -c
    C.
    wc -w
    D.
    wc -r
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which of the following command is used to go to home directory?

  8. A.
    cd..
    B.
    cd/
    C.
    cd
    D.
    cd HOME.
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which command is used to move all files to the bin sub-directory of the parent directory?

  10. A.
    mv *.* /bin/
    B.
    mv * /bin/*
    C.
    mv * ../bin
    D.
    mv * ../bin *.*
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which command is used to save the standard output in a file, as well as display it on the terminal?

  12. A.
    more
    B.
    cat
    C.
    grep
    D.
    tee
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. The command that can be used to restrict incoming messages to a user is

  14. A.
    mesg
    B.
    grep
    C.
    halt
    D.
    sleep
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following commands is used to copy directory structures in and out

  16. A.
    cp
    B.
    cpio
    C.
    cp - p
    D.
    copy
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of following commands is used for an automatic reminder service?

  18. A.
    write
    B.
    mesg
    C.
    calendar
    D.
    mail
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which command allows you to view your file 24 lines at a time?

  20. A.
    more
    B.
    pg
    C.
    cat
    D.
    lp
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum