EE 564

 

 

Home
Up
DRC Rules
Getting Started
Unix Basics
Overview
DA Tutorial
Quicksim Tutorial
IC Station Tutorial
Accusim Tutorial
Extraction Tutorial
Layout Editing Tips
Hierarchical Design
Mentor FAQ

Related Links
Dr. Mason's Web
UK EE Dept.
UK CoE
UK Home

 

UNIX Basics

Most of the commands used in the UNIX environment are similar with those in MS-DOS, and they are typed in at a command prompt within a command terminal console (window).  The following describes some basic commands that you will need to navigate and function in the UNIX environment.  Only a brief description is provided, but you can learn more about each command using the “man” command (see 1 below).

1.  man
Displays reference manual pages.  This command is very useful to learn more about UNIX commands.
Format:
> man [-] [-adFlrt] [-M path] [-T macro-package]
> man –e command
Example:
> man ftp   //will provide information about the FTP command

2.  pwd
Display the work directory that you now are in.
Format:
> pwd <enter>

3.  ls
List contents of directory. (Same as the command “dir” in DOS)
Format:
> ls [-aAbcCdfFgilLmnopqrRstux1] [file …]
Example:
> ls -al /class/ee564           //will list the files in the specified directory, including normally hidden files

4.  cp
Copy files.(Same as the command “copy” in DOS)
Format:
> cp [-fip] sourcefile targetfile  

5.  mkdir
Make directories. (Same as the command “md” in DOS)
Format:
> mkdir [-m mode] [-p] dir

6.  rmdir, rm
Remove directory entries. (Same as the command “deltree” and “del” in DOS)
Format:
> rm [-f] [-I] file

7.  mv
Move files. (Same as the command “move” in DOS)
Format:
> mv [-fi] source_file target_file

For more information, see

Working in the UNIX Environment

Working in the Mentor Environment