0% found this document useful (0 votes)
112 views

Kali Linux Simple Commands

Uploaded by

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

Kali Linux Simple Commands

Uploaded by

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

Kali Linux simple commands :

ls - to list dir/file
cd x(x: any dir/file) - to enter the x dir/file in terminal
cd .. - go back previous directory
pwd - print path
clear - to clear
mkdir x(name of dir) - make directory in the present path
rmdir x(name of dir) - remove empty directory in the present path
rm -r x(name of dir) - remove directory
touch x(name of file).format(ex - .txt) - create file
chmod +r x(name of file).format - to read the file
+w - to write the file
+x - to execute the file
We can also read text file through
> cat file.txt

To copy and paste the file go to the dir where file exist by cd x command then:
> cp file.format path(where to copy: /home/nirbhay/Downloads)/file.format

To move the file replace cp with mv

To write a content in text file through terminal we can use nano editor
> nano file.txt

sudo apt install (package name) to install used package name

You might also like