Before participating in this workshop, attendees should have:
- A computer with some free disk space, running a current version of Windows, macOS, or Linux.
- Terminal access (see WSL installation below for Windows users)
This workshop introduces participants to the fundamentals of UNIX operating system, basic commands, syntax and shell scripting.
-
Enable the Windows Subsystem for Linux
Open PowerShell as Administrator and run:
wsl --install -
Set up your Linux distribution
After installation, you will need to set up your Linux distribution (e.g., Ubuntu). Restart your computer if necessary.
Before you begin the workshop, you'll need to download the required data files. We provide a convenient shell script (download_data.sh) to automate this process.
-
Open your Terminal or WSL Terminal (for Windows users).
-
Clone the Workshop Repository
Open your Terminal or WSL Terminal and run
git clone https://github.com/QLS-MiCM/Intro-to-UNIX.git
-
Navigate to the Repository's Root Directory
cd Intro-to-UNIX -
Navigate to the Data Directory
From the root of the repository, change to the directory where the download script is located:
cd Exercises/data -
(Optional) Install or Upgrade gdown
Ensure you have Python and pip installed, then install or upgrade
gdownby running:pip install --upgrade gdown
-
Make the Download Script Executable
Set the appropriate permissions on the script:
chmod +x download_data.sh -
Run the download script
Execute the script to download all required files into the current folder
./download_data.sh
The script uses gdown to download files directly from Google Drive. You should see output indicating the progress of the downloads. Once complete, the necessary files (e.g., cars.csv, cars.tsv, countries.txt, happiness.complete.tsv, happiness.complete.txt, and happiness.csv) will be available in the Exercises/data directory.
-
Navigate to the Slides Directory
Change to the Slides directory:
cd ../../Slides -
Make the download script executable
Set the proper permissions on the script:
chmod +x download_slides.sh
-
Run the download script
Execute the script to download the slides:
./download_slides.sh
By following these steps, you'll have all the necessary data and slides to participate in the "Intro to UNIX" workshop. If you have any issues, please verify that you have the required tools installed (such as Git, Python and pip) and that your network allows downloads from Google Drive.
Enjoy the workshop!