This is an old revision of the document!
Linux/Unix
Basic Linux/Unix skills are needed to use a cluster, emphasizing use of an editor and the command-line interface.
Basics
- Linux Basics I provides a basic introduction of Linux using a command-shell window and command line, not a GUI (mouse) interface. This session explores the details of the command-shell window, command line input and output, and overall command syntax including wildcards and redirection for STDIN and STDOUT. You will also learn how to get help, the basics of files, directories and permissions, and what editors are available to create and edit files.(slides) (video)
- Linux Basics II provides a basic introduction to the bash shell and scripting with bash and Python. (video)
- An example script project is used to explain the basic bash scripting concepts. It is based on using the Gnuplot program which reads a command file to create a data file and write an image file as an x-y plot. Firefox is used to view the image. (slides)
- A basic Python script is used to demonstrate Python scripting and how to call it from a bash script. (slides)
Recommended tutorials for Linux/Unix Basics
- Index of Linux and Unix Commands (Computer Hope)
- UNIX Tutorial (UC Berkeley School of Information)
- Unix Tutorial for Beginners (U. Surrey, UK)
- Linux (for HPC) Basics (ORNL National Lab)
- Bash Scripting Tutorial (Linuxconfig.org)
- Advanced Bash-Scripting Guide (The Linux Documentation Project)
- Regular Expressions Tutorial (RegexOne.com)
Recommended tutorials for Linux/Unix Editors
- Interactive Vim tutorial (henrik.huttunen@gmail.com)
- Vi For Smarties (jerry_y_wang@yahoo.com)
- A Guided Tour of Emacs (GNU Operating System)