top of page

A Simple Makefile
Click [here] for a simple Makefile and the UDPEchoClient.c and UDPEchoServer.c code from p. 54-59 of TCP/IP Sockets in C: Practical Guide...


TCPEchoClient.c With More Error Checking
Take a look at https://www.centennialsoftwaresolutions.com/blog/tcpechoclient-c-with-more-error-checking to see a derivative of...

find every file updated by a command
touch start;
<DO STUFF>;
find . -cnewer start -printf "%T+\t%p\n" | sort

Find all text files
This blog is a repost of the best answer I've found to-date for: find all text files. It also contains some additional info on how the...

Name and Contents of Each File in a File
while read FILENAME

Comment-out printks with Vim
:%s/\(printk(.*);\)/\/* \1 *\//gc

Find files updated less then 3 minutes ago, less then 10 minutes ago
To find a file that was update 3 minutes ago on Linux type find . -cmin 3 To find a file that was updated 10 minutes ago type: find . -cmin

Print the name of a file and the file's contents
This post lists a Linux command that will print the name of a file and then print the contents of that file. The following command will...
bottom of page