0% found this document useful (0 votes)
77 views1 page

Basic Kali Linux Commands Guide

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)
77 views1 page

Basic Kali Linux Commands Guide

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
  • Linux Simple Commands

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 [Link]

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

To move the file replace cp with mv

To write a content in text file through terminal we can use nano editor
> nano [Link]

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

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 bac

You might also like