Files
and Directories
- Creating
Directories
- Changing
Directories
- Deleting
Files/ Directories
- Moving
Files
- Printing
Files
Creating
Directories
When you
want to create a directory,
- At the
prompt in the Unix shell window (the winterm window),
type "mkdir".
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the directory that you want to create.
- Press
"Enter".
Changing
Directories
When you
want to change directories,
- Type "cd"
at the prompt for the Unix shell (the winterm window).
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the subdirectory that you want
- Press
"Enter".
If you want
to go from a subdirectory up to a higher directory,
- Type "cd"
at the prompt for the Unix shell (the winterm window).
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space, type "..", and press "Enter".
If you want
to get back to your "root" directory (i.e. the directory you were in when
you first logged in),
- Just type
"cd" at the command prompt for the Unix shell (the winterm
window).
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Press
"Enter".
Deleting
Files and Directories
To delete
a file,
- At the
prompt in the Unix shell (the winterm window), type "rm
-i ".
NOTE:
Using "rm" will completely remove your file. It will not place it in
some recycle bin. The file that you delete with "rm" will be gone FOREVER!
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the complete name of the file that you want to delete,
including its extension.
- Press
"Enter".
To delete
a directory,
- Make sure
the directory is empty of all files and subdirectories.
- Make sure
you change your directory until your in the directory that contains
the one you want to delete.
- At the
prompt in the Unix shell (the winterm window), type "rmdir".
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the directory that you want to remove.
- Press
"Enter".
Copying
Files
To create
a copy of a file,
- Type "cp"
at the prompt for the Unix shell (the winterm window).
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the file you want to copy.
- Enter
a space and type the name of the file that you're copying the file to.
- Press
"Enter".
You can also
copy a file to a different directory,
- Type "cp"
at the prompt for the Unix shell (the winterm window).
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the file you want to copy.
- Enter
a space and type the name of the directory to which you'd like to copy
the file.
- Press
"Enter".
Moving
Files and Directories
To move files
and directories, the commands are the same.
- At the
Unix shell prompt, type "mv".
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the file or directory that you want to
move.
- Enter
a space and enter the directory to which you'd like to move the file
or directory.
- Press
"Enter".
Printing
Files
If you want
to print a file,
- At the
winterm prompt, type "lp".
- If the
letter you are typing are not appearing in the window, make sure that
the mouse pointer is over the window.
- Enter
a space and type the name of the file that you want to print.
- Press
"Enter".
Your file
should be printed from the printer at the printer in Chemistry 1153.
|