High-Performance Computing (HPC)

SECTION 1: LINUX

LINUX COMMAND-LINE INTERFACE 1

Exercise 1: watch the following video up to 29:23 and follow the instructions in the video to try out the following commands and their different options: apropos, whatis, whereis, man, info, alias, unalias, lsExercise 2: watch the following video from 29:24 till the end and follow the instructions in the video to try out the following commands and their different options: pwd, cd, mkdir, rm, touch, echo, understand how to use wild cards * and ?

LINUX COMMAND-LINE INTERFACE 2

Exercise 3: watch the following video to 38:42 and practice mv, cp, ln and their options.Exercise 4: watch the following video from 38:43 to 46:46 and practice head, tail, cat and their options.Exercise 5: watch the following video from 46:47 to end and practice less.

Exercise 6: complete all tasks listed in this file before the due date (11:00 am Feb. 10th, 2017).

LINUX COMMAND-LINE INTERFACE 3

Exercise 7: watch the following video to 20:28 and practice chmod. If you have a Mac or Linux machine of your own, you can practice chown and chgrp on your own machine.Exercise 8: watch the following video from 20:29 to 26:22 and practice du.Exercise 9: watch the following video from 26:23 to the end and practice find, grep.

LINUX COMMAND-LINE INTERFACE 4

Exercise 10: watch the following video to 4:05 and practice locate, which, whereis.Exercise 11: watch the following video from 4:06 to 10:55 and practice sort.Exercise 12: watch the following video from 10:56 to 19:10 and practice diff.Exercise 13: watch the following video from 23:53 to 53:13 and practice ps, top.Exercise 14: watch the following video from 53:14 to end and practice bg, fg, jobs, screen.

Exercise 15: complete all tasks listed in this file before the due date (11:00 am Feb. 17th, 2017).

LINUX COMMAND-LINE INTERFACE 5

Exercise 16: watch the following video to 7:00 and practice nice, renice.Exercise 17: watch the following video from 7:01 to 29:09 and practice input/output/error redirection.Exercise 18: watch the following video from 29:10 to 39:19 and practice the pipe | and xargs.Exercise 19: watch the following video from 39:20 to end and practice combining commands with &&, ||, ;.

LINUX COMMAND-LINE INTERFACE 6

Exercise 20: watch the following video to 4:58 and practice nano.Exercise 21: Complete either (a) or (b): (a) watch the following video from 4:59 to 18:25 and practice vi; (b) watch the following video from 18:26 to 35:13 and practice emacs.Exercise 22: watch the following video from 35:14 to 52:14 practice sed, awk.Exercise 23: watch the following video from 52:15 to 59:45 practice tar.

Exercise 24: complete all tasks listed in this file before the due date (11:00 am Feb. 24th, 2017).

SECTION 2: SCRIPTING

BASH SHELL SCRIPT 1

Exercise 25: watch the following video and write and test the bash shell scripts, script1-4.sh, using either emacs or vi.

BASH SHELL SCRIPT 2

Exercise 26: watch the following video and write and test the bash shell scripts, script4-7.sh, using either emacs or vi.

BASH SHELL SCRIPT 3

Exercise 27: watch the following video and write and test the bash shell scripts, script7-9.sh, using either emacs or vi.

Exercise 28: complete all tasks listed in this file before the due date (11:00 am Mar. 3rd, 2017).