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.

Submit your answers

Work through the Question 1.x boxes on this page, then enter all your answers in the CMSDAS@LPC2027 answer form for Episode 1. You can resubmit at any time; we keep your latest answers. Stuck? Ask on Mattermost.

All CMSDAS@LPC 2027 participants should answer the questions in these exercises. Each episode has its own section in the answer form, linked in the box above.

The rest of the pre-exercises take place in Unix. If you have never used it, work through the HEP Software Foundation training, up to at least “3. Working With Files and Directories.”

Question 1.1

Check that you have a working Unix shell on your personal laptop. Copy-and-paste the following into your shell:

echo "$(whoami) $(date)"

This prints your username followed by the current date and time. Enter the output in the answer form.

Key Points

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