This tutorial will walk a beginning UNIX user through some of the basic features of the UNIX operating system.
This tutorial has been developed to show new users how to get started in UNIX. Some topics in this tutorial will be familar to users of other operating systems, such as Microsoft Windows and Macintosh. Even if you are familar with other operating systems, you will still want to work through this tutorial to learn how these tasks are completed in UNIX.
UNIX is frequently installed on a network of many different computers. The Computer's Science Department's network includes hundreds of machines. For each user of this network, an "account" has been created for them by the administrator of the network. The Computer Systems Lab is responsible for maintaining and administrating many of the networks used by most (if not all) Computer Science students, teachers and researchers.
For example, all Computer Science students have been given an account on either one or both of the instructional machine networks connected to the main Computer Science network.
Note: This practice exercise assumes that your account has not been activated. If your account has been activated, you may skip step 3.
To activate your account:
You should see an empty "xterm" window, like this:
You should also see the "logout" button and possibly a mailbox and clock in the upper righthand corner of your screen:
You are now ready to enter commands for your UNIX shell to execute. Commands are typed and entered at a command prompt in an xterm window.
You can type "logout" to log out of UNIX. Or, you may left-click on the [Logout] button on your screen.
Most UNIX commands are run from within a shell. The shell program is started automatically when you login and provides a frame (window) inside the area of your monitor and a prompt for the command. Type the name of the command after the prompt and press [Enter].
Many commands allow you to type additional information after the command name that will change what the command does or what data it uses.
Note: This practice exercise assumes that you are logged in.
xterm
to open an xterm window.date
and press [Enter] to display the current date.
time
and press [Enter] to display the current time.
pwd
and press [Enter] to display your current working directory name.
ls
and press [Enter] to display the contents of your current working directory.
In this lesson you have learned about the UNIX on-line programmer’s manual.
As you work in UNIX and learn new commands, be sure to view the on-line documentation for more information.
man man
at a command-line prompt for even more
information about the man command.
Feedback, questions or accessibility issues.
Copyright © 2003 Deb Deppeler