Skip to main content
  1. /classes/
  2. Classes, Spring 2026/
  3. CS 2470 Spring 2026: Course Site/

Notes: 01-23 Basic Linux

·105 words·1 min·

More topics:

  • Built-in types in C: char, short, int, long
  • Types have sizes: sizeof(…)
  • Concept: Pointers
  • Strings are a trick.

Basic Linux and Vim
#

  • Working on the Linux command line.
  • Command line basics: command, arguments
  • Directories, pwd, cd, mkdir, rmdir

vim editor

  • syntax highlighting and auto-indentation
  • editing modes
  • combining
  • navigating with relative moves
  • cutting and copying lines and groups of lines
  • navigating with ? and /

Directories
#

  • Directories, pwd, cd, mkdir, rmdir
  • Demonstrate ;, ||, &&, >, », <, and &.
  • That feeds into bg, fg, jobs, etc.

Overflow
#

Go ahead and actually explain pointers, at least to single items and strings.

Nat Tuck
Author
Nat Tuck