Thursday, January 26, 2006

Unix OS minor

(1) On Unix, command interpreter-- shells
(2) On unix, command interpreter does not know the command, it uses the command to indentify the file to be loaded into memory and executed. Thus the Unix command to delete a file:

rm file.txt

would search for a file called "rm", load the file into memory, and execute it with the parameter
"file.txt" The function associated with the "rm" command would be definied completely by the code
in the file rm. In this way, new files with the proper name can be easily handled

No comments: