employees at Bell Labs(1969-1971) • Rewritten in C (1972) - C was developed for the Unix OS - C allowed Unix to be portable • Unix spread outside AT&T (1975) - Government agencies, universities, corporation - Free licenses and source code • Branches and improvements (1977-present) - Open source: BSD, Linux - Closed source: Solaris, AIX, HP/UX - Mixed source: Mac OS X (Apple) • “Unix” now means a “Unix-like system”
of a graphical user interface (GUI)? - Difference in power and control • Similar to car transmissions - Automatic: give up control for convenience - Manual: give up convenience for control
• Control + a: Move cursor to start a line • Control + e: Move cursor to the end of line • Tab: Try to complete the command or filename • Tab + Tab: When tabs doesn't complete, show list of possible matches.
- Allocates time and memory to programs • Shell - Outer layer of the OS - Interacts with user - Sends requests to kernel - Most unix use bash shell, but includes other choices
/sbin System binaries, system programs /dev Devices: hard drives, keyboard, mouse, etc. /home User home directories /lib Libraries of code /tmp Temporary files /var Various, mostly files the system use /usr /usr/bin /usr/etc /usr/lib /usr/local User programs, tools and libraries (not files)
not user-friendly • vi (visual editing mode), vim (vi improved) - Modal, fingers rarely leave keyboard home row • GNU Emacs (editor macros) - Macros to automate work, swiss army knife • pico (pine composer), nano (1000x larger than pico) - Basic features, easy to use