Anonymous user
Open Source Comes to Campus/Curriculum/Saturday/CLI: Difference between revisions
Open Source Comes to Campus/Curriculum/Saturday/CLI (view source)
Revision as of 19:35, 23 February 2012
, 12 years ago→Lecture portion
imported>Paulproteus |
imported>Paulproteus |
||
Line 18:
* Ask people what their experiences with the command line have been so far. (If necessary, skip pieces of the discussion.)
* With a diagram of a directory hierarchy, discuss different paths like /home and /usr.
* Explain the core concepts behind the filesystem hierarchy standard: what's available at boot, /usr vs. /.
* Explain the concept of "PATH". Point out that "." is usually not in the path by default.
* Split the screen into half Nautilus, half Terminal, and show how they are different views of the same thing.
* Explain that programs like "apt-get" install software, and to demonstrate this, use apt-get on
** Demonstrate where the resulting files went with dpkg -L.
** Install something that puts its binary in /usr/sbin program, and show that it's not on the path by default, but can be run by specifying the path.
** Maybe do the same for something in /usr/games.
* Explain the concept of dependencies, both build-dependencies and runtime depencies, perhaps by showcasing a package via packages.debian.org or via apt-cache show + apt-cache showsrc.
* Then, tell students to do the tasks in the "Individual work" section.
|