Introduction to VLSI Design

Commonly used UN*X commands: cd

Change directory command is a simple command that will allow you to change directories, basic usage is:

	cd directory
E.g.
	cd mydir
	cd ..
	cd ~
	cd
	cd ~/mydir
	cd /cad/cadence

In the first example, the current working directory will be changed to "mydir". In the second example a special notation is used ".." is used in UN*X to denote the parent directory. The third example is again a special notation "~" refers to user's home directory. The default behavior of cd is to change the current directory to home directory so the third and fourth examples produce identical results. The next example is an absolute directory definition. Regardless of the current directory, after the command, the new directory will be the same directory "mydir" located under the home directory. Finally the last example gives a basic absolute path example, the directory will be changed to "/cad/cadence".

Whenever in doubt, the command Print Working Directory:

	pwd

can be used to display the current working directory.



Unix Commands
Course web-site

a production of


VLSI CAD Laboratory


Analog/Digital Microelectronics Group

Cadence is a trademark of Cadence Design Systems, Inc., 555 River Oaks Parkway, San Jose, CA 95134.
Please read this DISCLAIMER

KGF 10/31/1998