jan 25
Jim says
First I'd like to talk more about some possible
topics on upcoming weeks.
Then I'd like to kick off by looking at
the command line and environment
variables. This will be review for some folks,
but still a good place to start.
I've put some links on the resources page on this topic,
and will likely do some show and tell during class.
topics, people, weeks
- Fri Feb 1 - Alec and package managers
- Fri Feb 8 - Isaac and filesystem layout and variations
...
getting comfortable on the command line
$ man man
$ apropos foo
$ whoami
$ who
$ ps
$ ls
$ ls -sCF
$ ls -al
$ cd ..
$ cd ~
$ pwd
/user/mahoney
$ cd start_typing<tab>
$ more filename
$ whereis someprogram
$ printenv
$
$ ./run_some_script_in_this_directory
$ nano filename
$ ssh user@host
$ scp file_here user@host:file_there
$ scp user@host:file_there file_here
$ cd ~
$ more .profile # see my startup stuff
$ more .bashrc # or this, depending on system
$ nano .bashrc # edit it - talk about examples
$ curl http://host/new-software.tar.gz # 1. get some software
$ wget http://host/new-software.tar.gz # or this this
$ tar zxf new-software.tar.gz # 2. unpack it
$ ls -sCF # 3. look for it
new-software.tar.gz new-software/ # 4. see new directory
$ cd new-software
$ ls -sCF
$ more README.txt # 5. read about it.
...
$ ./configure
$ make
$ make install
to do
- get everyone into the course roster
- explain how to use the course wiki
- get everyone a shell account on cs
- ... and talk about connecting to it