WebTeam Workshops


Module 1:
HTML Basics

Module 2:
UNIX

•Obtaining a UNIX Account
•Preparing your Account
•Creating Directories
•Changing Directories
•Setting Permissions
•Common UNIX Commands

Module 3:
Tables

Module 4:
e-Portfolio

Module 5:
Web Accessibility

Module 6:
CSS


glossary

disclaimer

Module 2: UNIX

Common UNIX Commands

Here is a list of common UNIX commands from the UH Information Technology Services web site. ITS also provides a very good web page that contains frequently asked questions about UH UNIX and individual user accounts.

Command

Description and Examples

ls

Displays a list of files and directories in the current directory.

ls -l

Displays a detailed list of files and directories in the current directory.

cd

Change directory or go to another directory.
Example: To move to subdirectory public_html.
cd public_html

pwd

Displays the full pathname of the current working directory.

rm

Delete a file.
Example: To delete a file named graph.jpg.
rm graph.jpg

cp

Copy or duplicate a file.
Example: To copy the file graph.jpg, where the new file is called interest.jpg.
cp graph.jpg interest.jpg

mv

Move or rename a file.
Example: To rename the file father.jpg to dad.jpg.
mv father.jpg dad.jpg

mkdir

Create a new directory.
Example: To create a new directory called public_html.
mkdir public_html

rmdir

Delete a directory. Note the directory must be empty.
Example: To delete a directory named project3.
rmdir project3

more

Displays the contents of a text file one screen at a time.
Example: To display the contents of a file called index.html.
more index.html

UNIX commands, descriptions, and examples from UH ITS web site,
Accessed [10.07.01]


top of page