- This event has passed.
Intro to the Unix Shell
February 20, 2020 @ 2:10 pm - 4:00 pm
Instructor: Dr. Seth Frey
Date: February 20, 2020
Time: 2:10-4pm
Location: DataLab classroom (Shields 360)
Description:
This workshop provides an introduction to working with the Unix shell. It is also referred to as the terminal or command line. Shell scripting can help automate tasks to improve efficiency and is fundamental to using a wide range of other powerful tools and computing resources (including HPC). This workshop will provide an overview of the command shell, its use, and common commands and actions.
Learner objectives:
At the end of this workshop learners should be able to:
* explain the directory structure and use the tree command
* navigate across and within files and directories
* create, copy, delete and edit files
* use grep and find to locate files and things in files
* combine commands using pipes and filters
* use loops to perform actions multiple times
* write and run a basic shell script
* create and change variables
* use manual (man) pages
* identify where to go to learn more!
Prerequisites:
This workshop is designed for learners from all domains with little to no prior experience working in command line. Learners should come prepared with their laptops setup for using the Unix shell. Some computers include a default Unix shell program while others (particularly Windows machines) will need to install Bash.
* macOS: the default shell is available via the terminal within the utilities folder. To open terminal, go to menu, select utilities, locate Terminal and open it. If your machine is set up to use something other than Bash, you can type bash in the terminal.
* Windows: these machines do not come with a Unix shell program automatically installed. We recommend you install git for Windows which includes bash. Go here to install: https://gitforwindows.org/ .
* Linux: the default Unix Shell for Linux operating systems is usually Bash and is typically accessible by running the (Gnome) Terminal (https://help.gnome.org/users/gnome-terminal/stable/) or (KDE) Konsole (https://konsole.kde.org/) or xterm (https://en.wikipedia.org/wiki/Xterm).
About the Instructor:
Dr. Seth Frey is an Assistant Professor of Communications at UC Davis. His research focuses on human decision behavior in complex social environments. He is a member of the Computational Communications lab (http://c2.ucdavis.edu/) and faculty in the Computational Social Sciences designated emphasis. He received his PhD in Cognitive Science and Informatics at Indiana University, and completed postdocs at Duke and Disney Research prior to joining UC Davis.