gvim commands for VLSI engineer
The majority of EDA tools are only Linux compatible for VLSI Design Engineers. In Linux, the Command-Line Interface is the primary method of OS interaction (CLI). Since there are many instructions to learn and we are accustomed to using a GUI interface, it may seem a bit tedious initially, but you will quickly come to enjoy it. Some of the useful gvim commands are following.
cat
: stands for concatenate
which
: Path of the command
ls
: list files and directories
clear
: clear the terminal (but keep the history of commands intact)
man
: Show a manual of commands and switches written in detail.
pwd
: Print Working Directory, The directory where you are currently.
cp
: copy command
rm
: remove file/directory
which
: Path of the command
find
: searching a file/directory
history
: Get the list of executed commands
chmod
: Change mode, change the permission of file/directory
touch
: create a new file
head
: To read the first 10 lines of a file in CLI
sort
: To sort the list
unique
: An utility for filtering the repeated lines in a file
less
: to read the text file in the command line
tkdiff
: find the difference between two files/dir.
wc
: word count of a file
top
: It will show the status of various resources and tasks
ps
: Known as Process Status
kill
: To terminate a process
w
: information about current logged users and what they are doing
users
: Display all current users’ name in a single line
last
: it displays the list of users who logged into the system
free
: Used to check available physical memory and swap memory
uptime
: Gives the time how long the system is running
Use
Gives the duration of the system running
reboot
: Will shutdown and restart the machine instantly
shutdown
: Can be used to shut down or restart the machine
cal
: Will display the calendar of the current month in terminal
env
: Used to print all the present environment variables and their value
whoami
: prints the username of the current user
uname
: It provides kernel versions and other details
Set Options
- Prints all option settings: set all
- Enables option ‘option’ :set option
- Disables option ‘option’ :set nooption
- Prints modified options: set
- Show Line Numbers: set nu
- Hide Line Numbers: set nonu
- Set Auto Indent :set ai
- Set Ignore Case: set ic
GVIM daily useful commands
- Save/Quit:w
- Quit without saving file:q
- Save and quit:wq
- Forcefully Save:w!
- Forcefully Quit q!
- Forcefully Save & Quit: :wq!,