CSE 278 Lecture Notes - Lecture 2: Bourne Shell, User Interface, Environment Variable
Document Summary
Cse 278 gnu/linux operating system and gcc. It controls execution of application programs: an interface between user and hardware, collection of programs to do the above. Tasks of an operating system: program execution, user interface (api, process control and scheduling, virtual memory (loading jobs in and out of memory, memory management, multiprocessing and multitasking, device management, hardware interrupts, storage and communication. We use the bashshell, which was derived from the popular bourne shell sh. Variables: most shells allow the use of variables, set with: var=value, access with: , a process (program) invoked by a shall, requires certain settings. These settings are specified in an environment variable: conventionally differentiated from normal variables by uppercase. It"s important to specify: man 1 time is the time function. Building c++ programs: three sections of program described, c libraries (like java import statements, declarations, definitions (methods are defined, lines of code are put here)