Find us on GitHub

Teaching basic lab skills
for research computing

Systems Programming

Once programmers start to manipulate files and directories in more sophisticated ways, there comes a point when it makes sense to stop using shell scripts and start doing it with programming languages that have more sophisticated control constructs and data structures.

  • Programs can open and read directories to find out what files those directories contain.
  • They can work recursively on the contents of nested directories by walking the directory tree.
  1. Browsing Directories
  2. Browsing Directories Using walk
  3. Querying Directory Contents
  4. Directory and File Paths
  5. Manipulating Files and Directories