logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which of the following set options is used with vi editor to ignore case while searching for patterns?


  • Options
  • A. ic
  • B. ai
  • C. sm
  • D. ts
  • E. None of the above

  • Correct Answer
  • ic 


  • Unix problems


    Search Results


    • 1. Which of the following keys is used to overstrike a whole line?

    • Options
    • A. R
    • B. v
    • C. C
    • D. u
    • E. None of the above
    • Discuss
    • 2. The ls -l command tells

    • Options
    • A. who the owner of the file is
    • B. the name of the group owner of the file
    • C. how large the file is and when the file was last modified.
    • D. All of the above
    • E. None of the above
    • Discuss
    • 3. Which of the following commands is used to rename a file?

    • Options
    • A. rename
    • B. remove
    • C. mv
    • D. ren
    • E. None of the above
    • Discuss
    • 4. Which of the following commands can be used to get information about yourself?

    • Options
    • A. who am i
    • B. i /4
    • C. pwd
    • D. which
    • E. None of the above
    • Discuss
    • 5. If a file has read and write permissions for the owner, then the octal representation of the permissions will be

    • Options
    • A. 1
    • B. 6
    • C. 5
    • D. 3
    • E. None of the above
    • Discuss
    • 6. Which of the following is invalid filename?

    • Options
    • A. shutry
    • B. TRY
    • C. trial
    • D. my .file
    • E. None of the above
    • Discuss
    • 7. Which of the following commands is used to view your file 24 lines at a time?

    • Options
    • A. pg
    • B. cat
    • C. lp
    • D. /p
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to summarize the disk usage?

    • Options
    • A. chkdsk
    • B. fdisk
    • C. du
    • D. disk
    • E. None of the above
    • Discuss
    • 9. Which command is used to print a file?

    • Options
    • A. print
    • B. prn
    • C. pg
    • D. lp
    • E. None of the above
    • Discuss
    • 10. Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?

    • Options
    • A. find -mtime +365 | rm
    • B. grep (/usr/*) - mtime + 365 | -ok rm
    • C. find -name - mtime + 365 / - ok rm
    • D. find /user/* \(-mtime + 365 - a - atime +365 \) - OK rm {} \;
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment