These tutorials will cover some of the basic commands which are common to
most of the Unix shells available and some applications. Thus, when you are
finished with these tutorials, you will be able to interact with any Unix
system as seamlessly as if you had a windowing system available to you.
These tutorials assume you have never used a command prompt or shell before.
While this would have been unthinkable ten years ago, the ubiquitousness of GUIs
as a front end to operating systems seldom makes it necessary to use, for
example, a DOS prompt.
Required Topics
All students are required to understand the first fourteen topics.
- Introduction
- Review of Terminology for Directories
- File Types
- Logging into Unix
- Passwords
- Terminals and Basic Unix Commands
- Basic File Editing (pico)
- File Management
- Copying Files to Unix
- dos2unix
- Using g++
- Re-directing Output
- Other Useful Tools
- History of Commands
Advanced Topics
These additional topics are for the interest of the students who would
like to gain some deeper knowledge of Unix and shell programming.
If there are further topics which you would like to see discussed, please
contact me.
- Shells
- Real Editors
- Command-Line Editing
- File Examination Commands
- Other Directories Commands
- Jumping between Directories
- Permissions
- Process Management
- Miscellaneous Other Commands
- Manipulating Historic Commands
- Executable Scripts
- Customizing Your Environment
- Regular Expressions
- Revision Control (tracking your changes)
If you need help with Unix, assuming you have read these pages, you can
always talk to a lab instructor, a course teaching assistant, or any
friend in your class who has Linux installed on his or her home computer.
Reference
If you intend to use Unix often (or even occasionally), I would strongly
recommend you purchase Jerry Peek, Grace Todino-Gonguet, and John Strang's
Learning the Unix Operating System, published by O'Reilly and Associates, Inc.
For details, see the O'Reilly web store.
Acknowledgments
I'd like to thank Timothy Li and Roger Chang Su for their comments and
criticisms.