Home / CSE / Unix :: Section 1

CSE :: Unix

  1. Which command is used to display and create files?

  2. A.
    cat
    B.
    vi
    C.
    ed
    D.
    lyrix
    E.
    None of the above

  3. The second set of the three permissions (r-) indicates that

  4. A.
    group has read permission only
    B.
    other has read permission only
    C.
    owner has read permission only
    D.
    group has write permission only
    E.
    None of the above

  5. Which column contains all details of the permissions of a file when you issue the ls -l command?

  6. A.
    second
    B.
    fourth
    C.
    third
    D.
    first
    E.
    None of the above

  7. Which of the following commands is used to display your working directory?

  8. A.
    dir
    B.
    prompt $p$g
    C.
    pwd
    D.
    path
    E.
    None of the above

  9. While working with mail command, which command is used to save mail in a separate file?

  10. A.
    s
    B.
    r
    C.
    w
    D.
    d
    E.
    None of the above

  11. The command used to compare the files is known as

  12. A.
    comp
    B.
    cmp
    C.
    do
    D.
    ccp
    E.
    None of the above

  13. Which command is used to terminate a process?

  14. A.
    shutdown
    B.
    haltsys
    C.
    cancel
    D.
    kill
    E.
    None of the above

  15. Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?

  16. A.
    -m.n
    B.
    +m.n
    C.
    + n.m+1
    D.
    +(m+l).n
    E.
    None of the above

  17. The cp command uses:

  18. A.
    standard input file
    B.
    standard output file
    C.
    both input and output file
    D.
    neither standard input nor standard output file
    E.
    None of the above