CMSDAS Pre-Exercise 1: Unix basics

Overview

Teaching: 25 min
Exercises: 5 min
Questions
  • How do I get started with Unix?

  • How do I navigate the filesystem?

  • How do I manipulate files and folder?

Objectives
  • Setup a working Unix environment on your laptop.

  • Learn how to use folders and files in Unix.

If you have never used Unix before, please follow the lesson on the HEP Software Foundation website, through at least “3. Working With Files and Directories.” The remainder of the pre-exercises takes place in Unix, so you will need to be familiar with the basics.

Question 1.1

All CMSDAS@LPC 2025 participants should submit answers to the questions in these exercises. Each lesson has it’s own Google form. Head to Google form 1. The first question verifies that you have a working Unix environment. Copy-and-paste the following into your shell:

echo "$(whoami) $(date)"

This should print your username followed by the current date and time. Copy-and-paste the output into the Google form.

Key Points

  • Unix is the primary OS used in HEP, CMS included.