logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Linux Comments

  • Question
  • Which of the following command can you execute to count the number of lines in a file?


  • Options
  • A. lc
  • B. wc - l
  • C. cl
  • D. count
  • E. None of the above

  • Correct Answer
  • wc - l 


  • Linux problems


    Search Results


    • 1. What shell's wild-card is used to match any number of characters including none?

    • Options
    • A. *
    • B. ?
    • C. [!ijk]
    • D. [ijk]
    • E. None of the above
    • Discuss
    • 2. What X-based tool is available for configuring the X Window system?

    • Options
    • A. XConfigurator
    • B. XF86Setup
    • C. xf86config
    • D. All of the above
    • E. None of the above
    • Discuss
    • 3. How many primary partitions can exist on one drive?

    • Options
    • A. 16
    • B. 4
    • C. 2
    • D. 1
    • E. None of the above
    • Discuss
    • 4. What command is used with vi editor to delete a single character?

    • Options
    • A. x
    • B. y
    • C. a
    • D. z
    • E. None of the above
    • Discuss
    • 5. Which of the following command is used to access an SMB share on a Linux system?

    • Options
    • A. NFS
    • B. SMD
    • C. smbclient
    • D. smbserver
    • E. None of the above
    • Discuss
    • 6. The physical layer of a network

    • Options
    • A. constructs packets of data and sends them across the network
    • B. controls error detection and correction
    • C. defines the electrical characteristics of signals passed between the computer and communication devices
    • D. All of the above
    • E. None of the above
    • Discuss
    • 7. What command is used with vi editor to save file and remain in the editing mode?

    • Options
    • A. x
    • B. q!
    • C. :w
    • D. :q
    • E. None of the above
    • Discuss
    • 8. Which of the following command is used to see the services running in NFS server?

    • Options
    • A. rpcinfo
    • B. serverinfo
    • C. NFSinfo
    • D. infserv
    • E. None of the above
    • Discuss
    • 9. What port does squid listen, by default?

    • Options
    • A. 4322
    • B. 2314
    • C. 7334
    • D. 3128
    • E. None of the above
    • Discuss
    • 10. ICMP (Internet Control Message Protocol) is

    • Options
    • A. a TCP/IP protocol used to dynamically bind a high level IP Address to a low-level physical hardware address
    • B. a TCP/IP high level protocol for transferring files from one machine to another
    • C. a protocol used to monitor computers
    • D. a protocol that handles error and control messages
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment