Linux/Unix

From Deskins Group Resources

There are many resources and tutorials for learning linux. Just google "linux tutorial" for many websites.

Advanced Resources

Try these after you've mastered basic linux.

Sed - An Introduction Sed is a great tool for manipulating text files.

Learning the vi Editor vi is a powerful text editor but the learning curve can be steep.

Learn Python


Linux Exercises

Here is a series of exercises to complete as you learn linux.

Use putty to login to the WPI linux machines.

Reading Assignment: Go through the following Tutorials Tutorials 1-4 from: http://www.ee.surrey.ac.uk/Teaching/Unix/

Code Academy Course Another course on linux.

Nano Tutorial: http://www.debianadmin.com/nano-editor-tutorials.html (nano is already installed, so no need to install)

1. Describe what the following commands do.

a. mv
b. copy
c. ls
d. mkdir
e. cd
f. pwd
g. rm
h. cat
i. less
j. grep
k. tail
l. wildcards
m. man
n. top

2. Create this directory in your home directory: “work1”. In “work1” create a file named “work1.inp” that has the following lines:

Test1
Test2
Test3
Use print-screen to show the contents of “work1.inp”, and show the directory “work1.inp” is in.

3. Rename the file “work1.inp” to “work1.txt”. Use print-screen to show the location of “work1.txt”. Now copy the file “work1.txt” to your PC (using winscp), then open in windows (or mac). Use print-screen to show the opened file in windows.