This is a summary of my notes on operating systems file allocation methods. In the context of operating systems file allocation refers to managing files on disk such that disk space is effectively utilized and files are accessed quickly. Contiguous Allocation All blocks of the file are consecutive on disk Deleting files leaves gaps Compacting
This is my cheat sheet for SCCS the UNIX source code control system SCCS Commands To edit a file: sccs edit To unedit a file: sccs unedit To check in a file: sccs delget To list all the files that are checked out: sccs info To see the history of a file: sccs prt To
Problem You have a log file on UNIX operating system. Each line in the log file contains an IP address in the 10th column where columns (or fields) are separated by a space. How can you print the unique IP addresses in the log file using UNIX shell Solution This is the same problem as