Use the grep command to search the /usr/include/bits/socket.h file and display the lines that contain the string SOCK_. What command line did you use?

Use the grep command to search the /usr/include/bits/socket.h file and display the lines that contain the string SOCK_. What command line did you use?


```
$ cat /usr/include/bits/socket.h | grep SOCK_
SOCK_STREAM = 1, /* Sequenced, reliable, connection-based
#define SOCK_STREAM SOCK_STREAM
SOCK_DGRAM = 2, /* Connectionless, unreliable datagrams
#define SOCK_DGRAM SOCK_DGRAM
SOCK_RAW = 3, /* Raw protocol interface. */
#define SOCK_RAW SOCK_RAW
SOCK_RDM = 4, /* Reliably-delivered messages. */
#define SOCK_RDM SOCK_RDM
SOCK_SEQPACKET = 5, /* Sequenced, reliable, connection-based,
#define SOCK_SEQPACKET SOCK_SEQPACKET
SOCK_PACKET = 10 /* Linux specific way of getting packets
#define SOCK_PACKET SOCK_PACKET
$
```

Computer Science & Information Technology

You might also like to view...

The __________ method copies the sourceArray to the targetArray.

a. System.copyArrays(sourceArray, 0, targetArray, 0, sourceArray.length); b. System.copyarrays(sourceArray, 0, targetArray, 0, sourceArray.length); c. System.arrayCopy(sourceArray, 0, targetArray, 0, sourceArray.length); d. System.arraycopy(sourceArray, 0, targetArray, 0, sourceArray.length);

Computer Science & Information Technology

Referential ________ is a set of rules that Access uses to ensure that the data between related tables is valid

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which one is not a type of file system?

A. FAT B. FAT 32 C. NTFS D. FAT 64

Computer Science & Information Technology

Which of the following is the metric used for OSPF?

A. Latency B. Cost C. Bandwidth D. Next hop

Computer Science & Information Technology