logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which of the following commands is used to obtain a list of all files by modification time?


  • Options
  • A. ls -1
  • B. ls -t
  • C. ls -i
  • D. ls -R
  • E. None of the above

  • Correct Answer
  • ls -t 


  • Unix problems


    Search Results


    • 1. Which of the following directories contain all the Alias created by a user, including his login directory?

    • Options
    • A. /tmp
    • B. /etc
    • C. /usr
    • D. /dev
    • E. None of the above
    • Discuss
    • 2. Which of the following commands is used to display your working directory?

    • Options
    • A. dir
    • B. prompt $p$g
    • C. pwd
    • D. path
    • E. None of the above
    • Discuss
    • 3. Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?

    • Options
    • A. chmod u+x emp[1-3]
    • B. chmod 777 emp*
    • C. chmod u+r ??? emp
    • D. chmod 222 emp?
    • E. None of the above
    • Discuss
    • 4. Which command is used to display the top of the file?

    • Options
    • A. cat
    • B. head
    • C. more
    • D. grep
    • E. None of the above
    • Discuss
    • 5. Which of the following keys is used to replace a single character with new text?

    • Options
    • A. S
    • B. s
    • C. r
    • D. C
    • E. None of the above
    • Discuss
    • 6. Which symbol will be used with grep command to match the pattern pat at the beginning of a line?

    • Options
    • A. ^pat
    • B. $pat
    • C. pat$
    • D. pat^
    • E. None of the above
    • Discuss
    • 7. The agency that sits between the user and the UNIX system is called the

    • Options
    • A. logic
    • B. profile
    • C. shell
    • D. erxc
    • E. None of the above
    • Discuss
    • 8. Which command is used to remove the read permission of the file 'note' from both the group and others?

    • Options
    • A. chmod go+r note
    • B. chmod go+rw note
    • C. chmod go-x note
    • D. chmod go-r note
    • E. None of the above
    • Discuss
    • 9. Which column contains all details of the permissions of a file when you issue the ls -l command?

    • Options
    • A. second
    • B. fourth
    • C. third
    • D. first
    • E. None of the above
    • Discuss
    • 10. The command used to compare the files is known as

    • Options
    • A. comp
    • B. cmp
    • C. do
    • D. ccp
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment