UNIX Tutorial for Beginners

Description

A beginners guide to the Unix and Linux operating system. Eight simple tutorials which cover the basics of UNIX / Linux commands. http://www.ee.surrey.ac.uk/Teaching/Unix/

Audience

Undergraduate

Time

~ 3 Hours

Objective

Tutorial One

  • Listing files and directories
  • Making Directories
  • Changing to a different Directory
  • The directories . and ..
  • Pathnames
  • More about home directories and pathnames

Tutorial Five

  • File system security (access rights)
  • Changing access rights
  • Processes and Jobs
  • Listing suspended and background processes
  • Killing a process

Tutorial Two

  • Copying Files
  • Moving Files
  • Removing Files and directories
  • Displaying the contents of a file on the screen
  • Searching the contents of a file

Tutorial Six

  • Other Useful UNIX commands

Tutorial Three

  • Redirection
  • Redirecting the Output
  • Redirecting the Input
  • Pipes

Tutorial Seven

  • Compiling UNIX software packages
  • Download source code
  • Extracting source code
  • Configuring and creating the Makefile
  • Building the package
  • Running the software
  • Stripping unnecessary code

Tutorial Four

  • Wildcards
  • Filename Conventions
  • Getting Help

Tutorial Eight

  • UNIX variables
  • Environment variables
  • Shell variables
  • Using and setting variables

This excellent tutorial developed by Michael Stonebank,  School of Electronics and Physical Sciences at the University of Surrey, is used annually at the IRIS Undergraduate Internship Orienation for a "work at your own pace" lab session for all students.  Depending on prior exposure to Unix, some students get close to finishing within about 2 hours.  However, most only get through about #5 with a bit of debriefing at the conclusion . This tutorial is also available as a download to allow students to work off line on their projects (.tar file 352kb).

Links to More Learning Unix Resources and Tutorials