First exam: Scheduled for Thursday, March 10 -- covers chapters 1-4.?.
First project due: Tuesday, March 8
ls
will list the files in a directory.
ls -a
will show the "dot files" in the directory
ls -l
will give a "long listing" in alphabetical order which will give you
lots of information about the files. This information includes information
about who hasread/write/execute privileges on the files (this is in three
groups -- rwe for owner, group, and world), who owns the files, how big
they are, when they were created, and their name!
ls -tl
will give the "long listing" ordered with files most recently written
appearing first.
More in tshell -- earlier you learned to use <ctrl>-p to get the previous unix command on the command line (and to cycle through that list). You can also edit the command line using regular emacs commands. This is useful if you have just typed a long command that is ALMOST what you want. Commands I use a lot: <ctrl>-a -- move to beginning of line, <ctrl>-f -- move forward 1 character, <ctrl>-d -- delete a character. Remember, you can always add characters to the middle of the line by simply moving your cursor to the right place and typing!
Just hit return when your changes are done and the new command will be executed.
Reading: D&D, through pp. 278
Exercises: pp. 246-248, # 3.40, 3.44