logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which command is used to sort the lines of data in a file in alphabetical order?


  • Options
  • A. sort
  • B. sh
  • C. st
  • D. sort -r
  • E. None of the above

  • Correct Answer
  • sort 


  • Unix problems


    Search Results


    • 1. Which command of DOS is used to compare two floppy disks?

    • Options
    • A. DISKCOPY
    • B. DISKCOMP
    • C. DISKCOPY A: B/V
    • D. FORMAT A: B:
    • E. None of the above
    • Discuss
    • 2. Which combination of keys allows you to perform a warm boot?

    • Options
    • A. Ctrl+ESC
    • B. Ctrl+Alt+DEL
    • C. Ctrl+Shift+DEL
    • D. Ctrl+Shift+ENTER
    • E. None of the above
    • Discuss
    • 3. The autoexec.bat configuration file

    • Options
    • A. Is run after config.sys on system boot-up
    • B. Contains all windows configuration files
    • C. Is also known as config.sys
    • D. Checks for system polarity
    • E. None of the above
    • Discuss
    • 4. To conserve battery power on your laptop computer. What DOS v6.x command should you use?

    • Options
    • A. Powermon.exe
    • B. Power.exe
    • C. Idel.com
    • D. Pw.sys
    • E. None of the above
    • Discuss
    • 5. While working with MS-DOS, which command is used to copy all files from the currently logged drive and directory with the extension .TXT to the drive A?

    • Options
    • A. COPY A: *.TXT
    • B. COPY *.TXT A:
    • C. COPY *.TXT C:
    • D. COPY *.TXT ALL.TXT
    • E. None of the above
    • Discuss
    • 6. Which command will be used with vi editor to replace text from cursor to right?

    • Options
    • A. r
    • B. R
    • C. s
    • D. S
    • E. None of the above
    • Discuss
    • 7. Which of the following is not a filter?

    • Options
    • A. cat
    • B. grep
    • C. wc
    • D. sort
    • E. None of the above
    • Discuss
    • 8. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?

    • Options
    • A. copy wb ../misc collect ../misc mon ../misc
    • B. cp wb collect mon ../misc
    • C. copy wb collect mon /misc
    • D. tar wb collect mon /misc
    • E. None of the above
    • Discuss
    • 9. The commonly used UNIX commands like date, ls, cat, etc. are stored in

    • Options
    • A. /dev directory
    • B. /bin and /usr/bin directories
    • C. /tmp directory
    • D. /unix directory
    • E. None of the above
    • Discuss
    • 10. Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?

    • Options
    • A. ls -F -x
    • B. ls -l
    • C. ls ~ x
    • D. Ip
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment