UNIX Tutorial


Table of Contents

1. Introduction

Introducing UNIX and the shell

2. Logging in, logging out

Logging into and out of your UNIX account, setting your password — commands: whoami, passwd, logout

3. Looking around

Introducing the filesystem, working with files and folders — commands: pwd, ls, cd

4. Managing files and folders

Creating, moving, and deleting files and folders, setting permissions — commands: mkdir, rmdir, cp, mv, rm, chmod

5. Viewing and editing files

Viewing and changing file contents — commands: cat, less, pico

6. Printing

Using the UNIX printing system — commands: lpr, lpq, lprm, enscript

7. Spying on your neighbors

Seeing who else is logged in and what they're up to — commands: who, w, last

8. Getting more information

Using the built-in UNIX documentation system — commands: man

9. Redirecting input and output

Using files for input and output instead of the keyboard and screen — commands: mail

10. Fun with pipes

Chaining commands together to create custom tools on the fly — commands: cut, sort, pr, wc

11. Viewing processes

Seeing what processess are running and how many resources they are using — commands: ps, top

12. Controlling processes

Starting and stopping processes — commands: bg, fg, suspend, kill, nice, nohup


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.