0% found this document useful (0 votes)
386 views11 pages

Linux Commands Used in VLSI

Uploaded by

Prajwal S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
386 views11 pages

Linux Commands Used in VLSI

Uploaded by

Prajwal S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Linux

Commands
used in VLSI

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
2. Whoamit thiswill
show your username
20
bid-print working directory
3. man bid-printpad manual
to realpath - show absolute direction

for a
file.
5. Cd ->
changing directory
60 back
Caloo OMCdoo) ->
moving one

level
Fu ls -> list files
with details
es-l- long list
Us-a - show hidden files
Is-r-> reverse order
Is-h- human readable
Is-t- sort
by modification time

8. display the
groups - you can
groups your
user

9. Chmod ->
changes access permission
Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
⑧ permission
---

no

--
X I execut

- W- 2 writ

-
WK 3 write, execute
M --
4 read

r - X 3 Mad, execute
ew 6 read, write
MwX 7 read, while, execute

chmod chmod7t
rwx,-rwx,=rx-
u=

X
user
group offer

chmod -> chmod 750


u
rwx,g=rx, o
=

10. Chown-
change owner

11.
Chgrp-change group
Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
12.
history -> it
display the command

history
130 Ctrl+a-> Go to the
beginning
of
line

14. Ctrl+e-> Go to the end


of the line
150 We- print the lines,
number
of
words, bytes files
in

WC
COPTION] (FILE]
-

- lines
the
-
- printthe length of
line
Longest
w-
print the word counts
-

16. touch - touch creates a new and

empty file
17. Mkdir- It makes
directory
medir <dir name?
-

b->--barents
Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
18. umdie-> memovs
directory
umdir <dirname

190 Mm -> removes a file


rm ftheame)
· Mm-r <file>-> removes contents

of a directory recursively
·
rmif (file-forced
·
rm-i<fil)-ask for confirmation

20.cp-> copies a file/directory


Cp lobtion] <
source-file) (dultination)

recursively
·
cp-r ->

cp-f -> force


·

·
cp-l -> linkfile instead
of
copying

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
21 mv- moves a file

my
coption] (source fille) (destination
file)

·
mv-f -> force
· mu-v-> verbase

22. gzip- compress the file

grip<file>
23. gunzip- uncompress the file

gunzip file.gzib

34. du o estimate the


file space usage
du Coption] (file)
· du-h- human readable

du-s-Summarize
·

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
25. df ->
display the of disk space
amount
available on
filesystem
of Lobtion] (file)

If-h:-
·
human readable

The
260
pipes: -

standard output a command

can be reditucted as the input


to another command the Symbal())
using
example-
history I less


· used to viewfiles
in

a
quick an easy manner
·

display tenton
pages

27.
diff-> compare tiles line
by line and

print out the differences

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
28. tkoliff - it isused to view
differences
side
by side with
calar highlight

99. globally regular explosion parser


grup -

front

grep Coption] pattern file-name


S ↓
example group "error"file.
Log

grp-i - with care ignored (-i)


·

·
grp-c - count of matching times
v

grp-w - match whole word


·

thatmatches
grp-1-> display the file names
·

the battern.
·

grp-e ->
multiple patterns

grup-e"erar-e "warning"file log

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
30. Sorts sortthe lines
of input file
are
by
characters and the
display standardoutbut


sort file to
- Sort file.tcl->
-

the
sort

content in
nurse order

sor t sortthe
->

or file felt content

of file reverse
in order

displays the
and
only once
uniquelines.

- Sort-n -> sort


numerically
-> Sort
- sort-c
dictionally order
-> sort-k# - sort
by column
↳ column
no
of
-> sortf ill file -> sort multiple files

31 echo it
is
-> used to
display text

echo "Hello"

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
Regular expression with
GREP-

a match at the
-> expression start
->

of
line.
->
$ - the
at end of line.

'n
error' file tel-error at start
·

grep of time
grp'crarl' file tel
·

↳ at end
error
of
line

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143
GVIM commands


quine fibotch
0 -
beginning of current line
i -> enter insert mode

V- enter visual mode

gg -> firstline of file


G -> Last line
of file
:W - Save the wont file
·q- More without
file saving
I word - find the nextoccurence of 'word

? word- search backward for the


word.

n - repeat search in same direction

N - repeatsearch in opposite direction


·

is cold/newly-replace all old with


new throughout file
(om] (enter to that the
·

line in
-

go
file

Vivek Arya
https://www.linkedin.com/in/vivek-arya-532558143

You might also like