COMP 206 Chapter Notes - Chapter 2: Filename Extension
Document Summary
Software systems, by joseph vybihal & danielle azar. Data files contain factual and textual information that cannot be executed; it can only be read from or written to. Text-file executables are script files, containing os commands and script programming commands, interpreted/executed by the shell. Binary executables are os drivers, libraries or compiled programs; can be created using a compiler (drjava, eclipse, etc. ) File name syntax is generally as follows: name. extension: name any alphanumeric string, extension is optional (file names can be extension-less) but must be alphanumeric or _ and $ As already mentioned in previous notes, the ls command displays the content of the given directory: the l switch will display the files in a long format. This format shows all the following information about the files: N" size of file in n bytes. Yyyy-mm-dd" last day the file was updated/written to. Hh:mm" the time the file was last updated/written to.