Logging Onto and Navigating the UNIX SystemLogging On to the System1. Once you have connected to the i4 machine, you will receive the prompt: login:
Enter your NetID at the login prompt, and press the 2. You will next receive the prompt Password:
Enter your password. Your password is your NetID password. Note, the characters will not be echoed on the screen as you type them in. As before, press If you have not entered the login information correctly, you will get the message "Login incorrect"; try reentering your NetID and password. If you have correctly entered your NetID and password, you should be greeted with a sign-on message. After a few moments, the system prompt will appear. |
Directories, Files, and PathnamesYou are always in a working directory. Your home directory is the working directory in which you find yourself when you log in. The contents of a working directory may include files as well as other directories. When a directory contains other directories, it is often referred to as a parent, and the directories it contains are its children. The arrangement (called a directory tree) is something like a family tree: each directory has a parent one level up from it in the tree. In the example below, The pathname of a directory or file indicates its place in the directory tree, starting from the root of the tree. In our example, the pathname of On UNIX systems running at NYU, file names and directory names may be up to 31 characters long. When you first receive your account, your home directory will contain a few files which have been placed there by the system manager so that your account will operate properly. Normally, in a new account, the home directory will contain no further directories, but at NYU, there will also be a directory called bin, which is a receptacle for your personal executables and shell programs. Commands that you can use to create your own files and directories are given in the next section. |
