- 5paisa
- AdSense
- Android
- Asphalt 8 : Airborne Mod Apk 4.9.1b Unlimited Money
- Battlegrounds Mobile India
- Blogger
- Blogging
- Bug Hunting
- cloud storage
- Cmd
- Damn vulnerable Web Application
- Demat Account
- Difference between
- dj alok
- dj alok in free firefree
- Doodle Army 2 : Mini Militia 5.2.0 Apk + Mod for android
- DVMA
- E-books
- earn Bitcoins
- Ethical hacking tutorials
- Express vpn
- EXPRESSVPN PRO APK 7.12.1
- EXPRESVPN CRACKED APK
- fire dj alok
- Freefire
- Gaming
- Google drive
- Google llc
- gplink
- Groww App
- Health
- helo
- helo mela
- helo app
- Helo app earn paytm
- Helo app full guide
- Helo app invite and earn
- Helo app redeem proof
- Helo app refer and earn
- Helo app unlimited trick
- Helo app withdraw proof
- Helo Mela Offer: Get Rs.2 Free Paytm Cash + Win Upto Rs.10000 Paytm Cash
- helo refer and earn
- How to
- How to combine two Wifi Connections to get a faster Internet
- how to get dj alok for free
- how to get free dj alok
- how to get free dj alok in free fire
- How to install DVWA on Kali Linux 2020.2
- How To Use Light Speed WebCache on Your website
- ICICI Direct
- IOS
- kali linux
- Live streaming
- makeup
- meesho
- Money Earning
- My poems
- Netflix
- Netflix mod
- Netflix premium
- News
- online courses
- Pentesting
- programming
- PUBG
- Puffin Browser Pro 8.3.0.41446 (Full) Apk + Mod for Android
- Puzzles
- Recharge offers
- Refer and Earn
- Reviews
- SEO
- shell Scripting
- Shortlink
- Spotify Music 8.5.57.1164 APK Mega Mod Cracked Latest Android
- stylish name
- Technology
- Tips&Tricks
- Township Mod Apk 7.5.0 Unlimited Money
- Udemy
- Udemy courses
- Udemy free
- Udemy premium
- VClip app download link
- VClip app full details
- VClip app invitation link
- VClip app referral code
- VClip app referral link
- VClip app review
- Web designing
- What is
- WINDOWS
- Wishes
- Wordpress
- World Cricket Championship 2 2.8.9 Apk + Mod (Coins/Unlocked)
- Youtube tricks
- zoom app
- zoom bombing
- zoom call
- Zoom safety tips
Kali Linux Commands | Basic To Advanced Commands With Examples
Hello guys already i had taught cmd commands,shell scripting,Termux commands,installation procedure of kali linux .
But in this Tutorial i am going to teach you Kali Linux Commands to create,delete,files,directories and many more.To start this process open your Linux Terminal First.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cal
The cal command is used to displays a simple calendar in general format.
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
who
who command helps to find who logged into the system.
root@zeeroseven:~# who
root kumar 2020-07-12 09:53 (:0)
root thridev 2020-07-12 11:29 (:0.0)
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
man
This command helps us to find details of any special command.if you want to know more detaips then You have to read manual about how to use Oneplus phone.Like that you can get manual of any command by typing man and required manual of command you wish
root@zeeroseven:~# man whatis
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
whatis
This command helps to check description of any command.
root@seven:~# whatis ls
ls (1) - list directory contents
root@seven:~# whatis top
top (1)
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
which
This command is used to find path of executable file.
View System resources with Top
Have you ever checked How many processes running on your system currently.You can Use this Command to
check out it.
Rename files
To rename files we can use Mv Command.We can also use this command to move files from one place to another.
By executing above command then kumar.txt will be renamed to jeeru.txt.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
pwd
pwd stands for present working directory. This command helps to check present working directory.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cd
cd stands for change directory.This command helps you to change your present directory to some other direcroty you wish like Music folder with cd command.
cd ..
If you want to go to back any application then Esc Key can be used.But this button doesnot works in Linux.You can use a special command to go one directory back.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
clear
This command helps to clear the terminal.
ls
ls command helps to check all files / directories in our present working directory.
Desktop Downloads root
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
List hidden files and directories
ls -al lists all the hidden files and directories with details like file format,file permission etc.
total 156
drwxr-xr-x 22 root root 4096 Jul 18 02:35 .
drwxr-xr-x 23 root root 4096 Jul 14 05:02 ..
-rw-r--r-- 1 root root 0 Jul 16 02:42 backup.txt
-rw------- 1 root root 885 Mar 16 02:21 .bash_history
-rw-r--r-- 1 root root 3391 Jan 11 03:03 .bashrc
drwx------ 12 root root 4096 sep 15 12:29 .cache
drwxr-xr-x 12 root root 4096 Oct 15 12:29 .config
drwx------ 3 root root 4096 Feb 14 05:11 .dbus
drwxr-xr-x 5 root root 4096 Dec 18 02:44 Desktop
drwxr-xr-x 2 root root 4096 Jun 14 05:11 Documents
drwxr-xr-x 2 root root 4096 May 14 05:11 Downloads
drwx------ 3 root root 4096 Aug 18 02:07 .gconf
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
--help
if you have any doubts you can search on Google.
Help command gives brief information of all installed commands in Linux.
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Mandatory arguments to long options are mandatory for short options too.
-a, --all do not ignore entries starting with .
-A, --almost-all do not list implied . and ..
--author with -l, print the author of each file
-b, --escape print C-style escapes for nongraphic characters
--block-size=SIZE scale sizes by SIZE before printing them. E.g.,
`--block-size=M' prints sizes in units of
1,048,576 bytes. See SIZE format below.
-B, --ignore-backups do not list implied entries ending with ~
-c with -lt: sort by, and show, ctime (
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cat
This command helps to (view,create,merge)files
you can open a file with cat
if you want to create new file with cat
Tap Control+c to exit.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Delete a file
To delete a file/folder/directory rm command is used.
Lets checkout Syntax
rm [enter desired file name to delete].
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Copy files
This command helps to copy files and directories.
Syntax :
cp [name of file to copy ] [ Copy Directories
Like rm command we need to supply -r argument to copy directories.
cp -r [name of the file that you want to make copy of] [name of new copy]
root@zeeroseven:~# cp -r users userscopy ]
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Create Directories or folders
if you want to Create directories in linux.Do as follows.Lets checkout the syntax
mkdir [New directory name To create]
We can create multple directories with a single command:
Deleting directories is a little different than files.You have to use -r argument in addition with rm command in to delete a file. Syntax is very easy
rm -r [directory you want need to delete]
Copy Directories
as rm command we need to add -r argument to copy directories.
cp -r [file to copy ] [name of new copy]
But in this Tutorial i am going to teach you Kali Linux Commands to create,delete,files,directories and many more.To start this process open your Linux Terminal First.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cal
The cal command is used to displays a simple calendar in general format.
root@zeeroseven:~# calJuly 2020
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
who
who command helps to find who logged into the system.
root@zeeroseven:~# who
root kumar 2020-07-12 09:53 (:0)
root thridev 2020-07-12 11:29 (:0.0)
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
man
This command helps us to find details of any special command.if you want to know more detaips then You have to read manual about how to use Oneplus phone.Like that you can get manual of any command by typing man and required manual of command you wish
root@zeeroseven:~# man whatis
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
whatis
This command helps to check description of any command.
root@seven:~# whatis ls
ls (1) - list directory contents
root@seven:~# whatis top
top (1)
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
which
This command is used to find path of executable file.
root@seven:~# which chrome/usr/bin/chrome
root@seven:~# which who/bin/who
root@seven:~# which pwd/bin/pwd➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
View System resources with Top
Have you ever checked How many processes running on your system currently.You can Use this Command to
check out it.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
root@zeeroseven:~# top
Rename files
To rename files we can use Mv Command.We can also use this command to move files from one place to another.
root@seven:~# mv kumar.txt jeeru.txt
By executing above command then kumar.txt will be renamed to jeeru.txt.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
pwd
pwd stands for present working directory. This command helps to check present working directory.
root@zeeroseven:~# pwd/root
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cd
cd stands for change directory.This command helps you to change your present directory to some other direcroty you wish like Music folder with cd command.
root@zeeroseven:~# cd Musicroot@zeeroseven:~/Music#➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cd ..
If you want to go to back any application then Esc Key can be used.But this button doesnot works in Linux.You can use a special command to go one directory back.
root@seven:~/Desktop# cd ..root@seven:~#
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
clear
This command helps to clear the terminal.
root@zeeroseven:~# clear➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
ls
ls command helps to check all files / directories in our present working directory.
root@zeeroseven:~# ls
Desktop Downloads root
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
List hidden files and directories
ls -al lists all the hidden files and directories with details like file format,file permission etc.
root@seven:~# ls -al
total 156
drwxr-xr-x 22 root root 4096 Jul 18 02:35 .
drwxr-xr-x 23 root root 4096 Jul 14 05:02 ..
-rw-r--r-- 1 root root 0 Jul 16 02:42 backup.txt
-rw------- 1 root root 885 Mar 16 02:21 .bash_history
-rw-r--r-- 1 root root 3391 Jan 11 03:03 .bashrc
drwx------ 12 root root 4096 sep 15 12:29 .cache
drwxr-xr-x 12 root root 4096 Oct 15 12:29 .config
drwx------ 3 root root 4096 Feb 14 05:11 .dbus
drwxr-xr-x 5 root root 4096 Dec 18 02:44 Desktop
drwxr-xr-x 2 root root 4096 Jun 14 05:11 Documents
drwxr-xr-x 2 root root 4096 May 14 05:11 Downloads
drwx------ 3 root root 4096 Aug 18 02:07 .gconf
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
--help
if you have any doubts you can search on Google.
Help command gives brief information of all installed commands in Linux.
root@zeeroseven:~# ls --help
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Mandatory arguments to long options are mandatory for short options too.
-a, --all do not ignore entries starting with .
-A, --almost-all do not list implied . and ..
--author with -l, print the author of each file
-b, --escape print C-style escapes for nongraphic characters
--block-size=SIZE scale sizes by SIZE before printing them. E.g.,
`--block-size=M' prints sizes in units of
1,048,576 bytes. See SIZE format below.
-B, --ignore-backups do not list implied entries ending with ~
-c with -lt: sort by, and show, ctime (
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
cat
This command helps to (view,create,merge)files
you can open a file with cat
root@zeeroseven:~# cat players
if you want to create new file with cat
Tap Control+c to exit.
root@zeeroseven:~# cat>heaven
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Delete a file
To delete a file/folder/directory rm command is used.
Lets checkout Syntax
rm [enter desired file name to delete].
root@zeeroseven:~# rm filename.txt
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Copy files
This command helps to copy files and directories.
Syntax :
cp [name of file to copy ] [ Copy Directories
Like rm command we need to supply -r argument to copy directories.
cp -r [name of the file that you want to make copy of] [name of new copy]
root@zeeroseven:~# cp -r users userscopy ]
root@zeeroseven:~# cp rain brain
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Create Directories or folders
if you want to Create directories in linux.Do as follows.Lets checkout the syntax
mkdir [New directory name To create]
root@zeeroseven:~# mkdir kumar
We can create multple directories with a single command:
root@zeeroseven:~# mkdir kumar shell pyDelete Directory
Deleting directories is a little different than files.You have to use -r argument in addition with rm command in to delete a file. Syntax is very easy
rm -r [directory you want need to delete]
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
root@zeeroseven:~# rm -r kumar
Copy Directories
as rm command we need to add -r argument to copy directories.
cp -r [file to copy ] [name of new copy]
root@zeeroseven:~# cp -r gold goldpro
Also Read
KUMAR JEERU
. I am a Programmer and Pentester. I find and Fix loophole in websites and networks. Connect with me for queries , web developemnt , Scanning and Fixing website Security issues. My company gives special discount for independent entrepreneur , small and Medium size companies. Contact me directly on my face page
Post a Comment
Post a Comment