





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This study guide covers essential commands and concepts for the csci 1730 final exam. It includes file manipulation commands (mv, cp, rm, mkdir, rmdir), process management (ps, exit), and network utilities (wget, find, ssh). The guide also details system calls (open, close, read, write, lseek), socket programming (socket, af_inet, sock_stream), and network concepts (datagram, connection-oriented protocol). Key topics include byte ordering (little endian, big-endian) and network troubleshooting tools (ifconfig, nslookup, ping, traceroute, netstat).
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!






Renaming a file: mv
<dir_name>
[email protected] 0 can be replaced by 1,2 or 3
File I/O process management Inter-process communication (IPC) - pipe, signals, sockets, ... Single handling
<sys/socket.h> int socket(int domain, int type, int protocol);
between peers for them to communicate
connection between communicating nodes before it will transmit data. (it is like making a phone call you first have to ensure the other person in on the phone)
<sys/socket.h> int shutdown(int sockfd, int how);
independently of the number of active file descriptors referencing it. It is also sometimes convenient to shut a socket down in one direction only. Close will deallocate the network endpoint only when the last active reference is closed.
computer on the network and the service, represented by a port number helps identify the particular process on the computer
cast to a generic sockaddr