In this post we are going to discuss, the most commonly used linux/unix commands while performing your duties as an engineer in VLSI domain. This post will be immensely helpful for those who are just starting in VLSI domain. Also, For students going to do internship in VLSI companies. VLSI industry uses Linux/Unix environment. Terminal is your friend as there are thousands of files/reports that need to be analyzed/ verified on daily basic. Command line is what all EDA CAD tools support. Some of the most commonly used linux terminal commands are given below. Please comment in the post below if you use any other highly helpful command for you day-to-day work because learning doesn’t have a timeline.
This post is arranged like an Question Answer type.
How to print in terminal ?
Printing in terminal can be done using ‘echo’ command.
echo ‘hello vlsigyan.com’
root $> echo 'hello vlsigyan.com' hello vlsigyan.com
How to quickly find details about a Linux command ?
From terminal only you can find details ( manual ) about a Linux command. ‘man’ command is used for this purpose. Man will open a page in terminal containing all the information about the command. You can type ‘Q’ to go back to terminal.
How to create a file from terminal?
To create a file from terminal we can simply use redirection ( > ) command.
echo ‘hello vlsigyan.com’ > a.txt
root $> echo 'hello vlsigyan.com' > a.txt
How to append text to a file from terminal?
To append to a file from terminal we can simply use double redirection ( >>) command.
echo ‘hi vlsigyan.com’ >> a.txt
root $> echo 'hi vlsigyan.com' >> a.txt
How to view contents of a file in terminal without opening it?
To view contents of a file without opening it in terminal we can simply use cat command. cat command is very helpful for viewing small files. But, if the file is big and lot of line is present then only the last lines will be seen terminal.
root $> cat a.txt hello vlsigyan.com hi vlsigyan.com