Quantcast
Channel: Frank Sun » SHELL
Browsing all 7 articles
Browse latest View live

"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 Article



POSIX 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 Article

What 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 Article

stdin, stdout, and stderr

the integer file descriptors associated with the streams stdin, stdout, and stderr are 0, 1, and 2, respectively.

View Article

Error: [: = 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 Article


Comparison & Merge files

http://www.chemie.fu-berlin.de/chemnet/use/info/diff/diff_toc.html

View Article

diff 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
Browsing all 7 articles
Browse latest View live




Latest Images