DCCN HPC wiki
2.0
  • The HPC environment
  • Linux tutorial
  • BASH tutorial
    • Get started
    • Useful information
    • Exercise 1: script
    • Exercise 2: programming
  • The HPC cluster
  • The project storage
  • Tutorials
DCCN HPC wiki
  • Introduction to the Linux BASH shell
  • View page source

Introduction to the Linux BASH shell

  • Get started
    • The first script in action
    • Interpreter directive
    • Comments
    • Shell commands
    • Variables
  • Useful information
    • cheat sheet
    • key-combinations in terminal
    • Handy commands
    • Changing the PATH variable
    • Changing the $HOME/.bashrc
    • When to Use Quotes and Which Quotes to Use
    • Process control (killing hung jobs)
    • Odd things to be aware of
  • Exercise 1: script
    • Preparation
    • Task
  • Exercise 2: programming
    • Introduction
    • Task 1: simple for loop
    • Task 2: Use the for loop in a BASH script
    • Task 3: simple if statement
    • Task 4: Comparitive statements
    • Task 5: Put if and for together
    • Solutions
Previous Next

© Copyright 2025, Donders Centre for Cognitive Neuroimaging.

Built with Sphinx using a theme provided by Read the Docs.