"Make” Your Programs
A General Overview make is a command generator. Using a description file and some general templates, it creates a sequence of commands for execution by the UNIX shell. These commands commonly relate to...
View ArticlePOSIX Semaphores
The potential learning curve of System V semaphores is much higher when compared to POSIX semaphores. This will be more understandable after you go through this section and compare it to what you...
View ArticleWhat is /dev/shm and its practical usage
/dev/shm is nothing but implementation of traditional shared memoryconcept. It is an efficient means of passing data between programs. One program will create a memory portion, which other processes...
View Articlestdin, stdout, and stderr
the integer file descriptors associated with the streams stdin, stdout, and stderr are 0, 1, and 2, respectively.
View ArticleError: [: = unary operator expected
# Remove all shared memory segmentipcs -m |\while read key shmid owner perms bytes nattch statusdo if [ $owner = $USER ] then echo -e “\t removing shared memory segment \”$shmid\”" 1>&2 ipcrm -m...
View ArticleComparison & Merge files
http://www.chemie.fu-berlin.de/chemnet/use/info/diff/diff_toc.html
View Articlediff OUTPUT FORMAT
Showing Differences Without Context The “normal” diff output format shows each hunk of differences without any surrounding context. Sometimes such output is the clearest way to see how lines have...
View Article