VLSI Design Flow: RTL To GDS (NPTEL Course)
Lab Tutorial 1
Objective: To get familiarized with the UNIX environment
Requirement: A UNIX system
If you have a system (such as laptop) with WINDOWS, you can download Windows Subsystem for Linux
(WSL) and start working on it. See the following link for more detail:
[Link]
Basic UNIX commands to start with:
Command Purpose Example
ls Lists files and directories ls
cd Change directory cd [directory_name]
pwd Outputs the full path name of the pwd
current working directory
mkdir Make new directory mkdir [directory_name]
mv Move/rename files mv [source_file] [destination_file]
cp Copy a file or a directory cp [source_file] [destination_file]
touch Create an empty file touch [file_name]
rm Remove files or directories rm [file_name]
cat Reads and shows contents of a file cat [file_name]
which Locate the executable file of any which [command_name]
command
man Display user manual/ man-page of man [command_name]
any command
sudo Allow user to run commands at sudo apt-get update
system/root level
du Measure disk space occupied by files du -h
or directories
df Displays amount of disk space df -h
available on file system
ps Lists active processes ps
top Dynamic real-time view of running top
system
bg Place a job into the background bg [job_spec]
fg Put a background job in foreground fg [job_spec]
history Displays list of commands used in the history
terminal
whoami Displays the username of the current whoami
user
See man pages of the commands for more information. Additionally, there are lots of useful material
on internet.