Loyola University Chicago

- Navigation -

Loyola University Chicago

Web Support

Unix Commands

To work on Loyola's Web server, Orion, you must know some basic Unix commands. All commands in Unix are case-sensitive. Use the appropriate case when typing commands and file names in Orion. The words, dir and file are emphasized to let you know when to type the specific directory or file name you wish to work with.

cd Return to your home directory.
cd dir Change the directory.
cd .. Move up a directory level.
mkdir dir Make a directory.
pwd Display the current directory.
rmdir dir Remove (delete) a directory.
id Display information about your ID.
quota Display your quota information.
man command Display information on commands.
cp filepath Copy file to specified path
ls Display only the file name, listed in columns. Similar to the DOS "dir" command.
ls -l Display files in the "long" form.
ls -la Display files in the "long" form, including hidden files.
ls -la| more Display one screen at a time.
more file View a file.
pico file Text editor. Edit a specified file.
rm file Remove (delete) a file.
chmod rights file Change the rights for the file.*
chgrp group file Change the group to which a file belongs.
passwd Change your password.

*"Rights" (or "permissions") give Internet users the ability to read (view), write (edit), and execute files and directories. To allow everyone access to read and execute your directory, use this command: chmod 755 dir. With this command, you solely retain the right to edit (or "write") the directory. If you want to give others in your group the same right, then use this command instead: chmod 775 dir.

To give everyone the right to read your file, use this command: chmod 644 file. With this command, you retain sole permission to write to the file. If you want to give others in your group the same right, then use this command instead: chmod 664 dir. With either command, you are publishing your file for the world to see.

PROGRAMS (Type in the name at the command line and press Enter to run these programs.)
pico Text editor**
sz file SendZmodem
telnet site Login to another computer on the Internet
ncftp FTP to another site

**Type pico file to edit that file on Orion.


Web Support
1032 W. Sheridan Ave. · Chicago, IL 60660

Notice of Non-discriminatory Policy