This workshop will introduce participants to the Linux filesystem and the Linux command line (specifically the bash shell). It will demonstrate how to navigate the filesystem, how to manage files and folders, how to work with files using some common Linux text utilities, and how to run programs. It will also cover additional filesystem concepts such as links, file permissions, environment variables, and startup files, and it will touch on more advanced concepts such as streams and pipelines. Participants will learn how to connect to remote machines (like the Princeton clusters) via SSH. Most of the workshop material translates to the command line on MacOS or other Unix systems (exceptions will be noted). While participants with some limited prior command line experience may find nuggets of useful information in this workshop, they may also find the material very slow and elementary at some points, since no prior knowledge of computer programming or of Linux/Unix is assumed.
This workshop is divided into two 90-minute sessions scheduled one week apart (participants should attend both sessions). Each session will be exercise-driven, with some light exercises assigned for practice between the first and second session.
Learning objectives: Attendees will learn how to navigate the Linux filesystem and run basic commands and how to connect to Princeton computing systems from their own laptops via SSH. They will also leave with resources for further learning and be armed with enough conceptual understanding of how Linux works “under the hood” to make sense of those resources.
Knowledge prerequisites: None
Hardware/software prerequisites: (1) Bring a laptop which can connect to the eduroam wireless network. You will also need to be able to Duo authenticate to use campus resources. (2) Register for an account on Adroit. This is the cluster we will use for demonstration purposes. It is nice if you have already installed an SSH client on your laptop and can connect to Adroit via SSH (as outlined in this guide), but SSH is not a prerequisite.
Workshop format: Presentation and hands-on
Please register at on the training site www.princeton.edu/training.