logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which command is used to display the end of the file?


  • Options
  • A. head - r
  • B. tail
  • C. eof
  • D. bof
  • E. None of the above

  • Correct Answer
  • tail 


  • Unix problems


    Search Results


    • 1. 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
    • 2. Which command is used to print a file?

    • Options
    • A. print
    • B. prn
    • C. pg
    • D. lp
    • E. None of the above
    • Discuss
    • 3. 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
    • 4. 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
    • 5. Which of the following is invalid filename?

    • Options
    • A. shutry
    • B. TRY
    • C. trial
    • D. my .file
    • E. None of the above
    • Discuss
    • 6. Which command is used to display the device name of the terminal you are using?

    • Options
    • A. who
    • B. ls
    • C. tty
    • D. stty
    • E. None of the above
    • Discuss
    • 7. Which commands is used to assign executable permission to all of the files named "letter"?

    • Options
    • A. chmod ugo+r letter
    • B. chmod ugo+rw letter
    • C. chmod u+x letter
    • D. chmod ugo+x letter
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory?

    • Options
    • A. copy programs/wb misc/wbx
    • B. cp programs/wb misc/wbx
    • C. tar programs/wb misc/wbx
    • D. copy a:programs/wb b:misc/wbx
    • E. None of the above
    • Discuss
    • 9. The command chmod 761 note is equivalent to

    • Options
    • A. chmod 167 note
    • B. chmod u=rwx, g=rw, o=x note
    • C. chmo a =761 note
    • D. chmod 4=7, g=6,0 =1 note
    • E. None of the above
    • Discuss
    • 10. The seventh field of /etc/password is

    • Options
    • A. password
    • B. login
    • C. shell
    • D. home
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment