CS 314 - Spring, 2008

Back to Frames version.

Dilbert

News

(jump to FOTW)

Feature Of The Week

(jump back to News)

Unix: sort

Emacs: M-x goto-line


Unix: history

Emacs: M-x spell


Unix: diff

Emacs: C-q


Unix: ln
Using the -s option will create symbolic links.

Emacs: C-x C-o and M-\


Unix: head, tail, more and less

Emacs: C-x ( and C-x )


Unix: grep

Emacs: M-a and M-e


Unix: du and df

Emacs: M-j


Unix: foreach (t/csh), for (bash)

Emacs: C-t, M-c, M-u, M-l


Unix: ls options

The man pages will show you more options than a swiss army knife. Many of them act as filters. For instance, you can sort files in reverse time-stamp order to find your most recently modified files. One option you may find extremely useful is -F.

Emacs: C-x 4


Unix: subdirectories

You would be well advised to group your files within subdirectories. An obvious suggestion is to keep files pertaining to each project in their own directories. Perhaps within those project directories, you could have further subdirectories for test files. Keeping your files organized should be a natural extension of the idea in keeping your desk or important papers organized. Do you remember what '.' and '..' refer to?

Emacs: M-C-f, M-C-b, M-C-n, M-C-p


Unix: man or woman

Emacs: M-x apropos

Each week, I will try to have a "Feature Of The Week". These first features come first because they are the ones that you use to find out about the other ones: Each provides documentation of a Unix or Emacs feature. This week, type man man as a shell command to see the Unix manual page on the man program. Then, in Emacs, type M-x (that's meta-x, or ESC x if you prefer) describe-function apropos to see how the apropos command works. If you want to know about a command by its keystroke form (such as C-f) because you don't know its long name (such as forward-character), you can say M-x describe-key C-f.

- with credit & thanks to Dr. Brian Harvey


If you have time conflicts, email me; we can try making an appt.
Office: CoRE 334
Hours: Th, 4:30-6:30

Updated: 4/29/2008

jhom@cs.rutgers.edu

Best viewed with
iCab
Homepage