Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Linux Basic commands for beginners

#
Command Text
Description
1
Cd /
Go to root
2
Ls
Show all folder file directory names

Ls  -l
Show file permissions
3
Cd
Change directory

Cd ..
Go back one step
4
Mkdir directory-Name
Create directory
5
Touch app.txt
Create file
6
Vi app.txt
Edit file (vi default editor),
7
Insert mode
Press I to insert mode, escape to out
8
Cat app.txt
Show/print content
9
Cp app.txt  /home/faizan/desktop
Copy file to specific director
10
Mv file name directory
Cut paste
11
Rm file name
Delete
12
Man command name
Help how command work
13
Find search-path “filename with extension”
Find command for file
14
Find search-path -name “filename with extension or directory”
Search directory of file