0% found this document useful (0 votes)
13 views35 pages

Linux File Management Commands Guide

Uploaded by

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

Linux File Management Commands Guide

Uploaded by

vivekpvns678
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

l-lrt => long listing of file

hidden file starts with dot(.)

star wildcard operator => l-lrt *emp* search with file name emp

- If start with this then file


d starts with directory
To create the file with content

Cat>[Link]

--------------copy data………..

To see the content of the file  cat [Link]


Vi is also to create the file and by pressing esc+:wq quit or exit from file

Pwd- present working directory


777 => giving permission to everyone

-rw-rw-r-- (first represent user , then other people then grp of people)
u-> user

g-> group

a-> all

History 10 => last 10 command which run


Vi filename  show all content in the file

Nu=> set the line number

:wq => save and quit


Ofs=> output filed separator
Press G=> last of the line

1G => beginning of the line

Esc + $ => from beginning to last of the line

Page up and down to traverse

/string => to select

D=> delete

dd=> delete

esc+0 => blank line

substitution

You might also like