logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which command is used with vi editor to save file and remain in the editing mode?


  • Options
  • A. :q
  • B. :w
  • C. q!
  • D. :x
  • E. None of the above

  • Correct Answer
  • :w 


  • Unix problems


    Search Results


    • 1. The [line number G] key allows you

    • Options
    • A. to move cursor left by one position
    • B. to move cursor right by one position
    • C. to move cursor down by one line
    • D. to move cursor to the beginning of the line specified by the number
    • E. None of the above
    • Discuss
    • 2. Which command is used to save the standard output in a file, as well as display it on the terminal?

    • Options
    • A. more
    • B. cat
    • C. grep
    • D. tee
    • E. None of the above
    • Discuss
    • 3. Which command is used to display all the lines with the string 'sales' from the file empl.lst?

    • Options
    • A. cut sales empl.lst
    • B. /sales > empl.lst
    • C. grep sales empl.lst
    • D. cat | /sales > empl.lst
    • E. None of the above
    • Discuss
    • 4. The command that can be used to restrict incoming messages to a user is

    • Options
    • A. mesg
    • B. grep
    • C. halt
    • D. sleep
    • E. None of the above
    • Discuss
    • 5. Major expressions used with find command to select file is it has been accessed in more than 375 days, is

    • Options
    • A. -atime +365
    • B. -mtime + 365
    • C. -atime -365
    • D. -mtime -365
    • E. None of the above
    • Discuss
    • 6. Which command is used to terminate all processes in your own system except the login shell?

    • Options
    • A. kill 1
    • B. kill 0
    • C. cancel all
    • D. cancel 1
    • E. None of the above
    • Discuss
    • 7. Which of the following commands is used to display the filenames in multiple columns?

    • Options
    • A. ls
    • B. ls -1
    • C. ls -x
    • D. lc
    • E. None of the above
    • Discuss
    • 8. What package group will you select during the custom configuration to enable the machine to communicate with Windows clients?

    • Options
    • A. SMB (Samba) Connectivity
    • B. IPX/NetWare Connectivity
    • C. Dial-up Workstation
    • D. All of the above
    • E. None of the above
    • Discuss
    • 9. Which of the following tool allows you to change your default X Window desktop?

    • Options
    • A. switchdesk
    • B. intrc
    • C. xinitre
    • D. Xchange
    • E. None of the above
    • Discuss
    • 10. How many class A, B and C network IDs can exist?

    • Options
    • A. 128
    • B. 126
    • C. 16,382
    • D. 2,113,658
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment