Kali Linux Commands List for Beginners – 100+ Commands with PDF Download

Are you just starting to use Kali Linux? If yes, then you may find it hard to use Kali Linux with commands, so in this article I will share a complete Kali Linux commands list with over 100+ commands, from basic to advanced. I will cover various types of commands, from basic to networking, and at the end you will also get a Kali Linux commands list PDF file for free, which includes 100+ commands from basic file management to cybersecurity tools.

Kali Linux Commands list
Kali Linux Commands list

What is Kali Linux?

Kali Linux is a popular Linux-based lcomputer operating system mostly used by people who are interested in cybersecurity, ethical hacking, and penetration testing because it comes with many powerful tools like Metasploit, Nmap, Wireshark, and more.

Kali Linux Basic Commands

Kali Linux basic commands
Kali Linux Basic Commands

The following are the commonly used Kali Linux basic commands that can help you to explore and use the terminal easily.

1. ls – Show Files and Folders

This command shows all the files and folders present in your current directory (folder).

ls

You can also use:

ls -l

to get more details like file size, date, and permissions.

2. pwd – Show Current Location

Want to know where you are in the system? This command shows your current working directory (folder path).

pwd

Example output:

/home/kali/Desktop

3. cd – Change Directory

Use the cd command to change your current working folder (directory).

cd folder-name

To go back one step:

cd ..

To go to your home directory:

cd ~

4. mkdir – Make a New Folder

Use this command to create new folders (directory).

mkdir example_folder

It will create a new folder named “example_folder”.

5. rm – Delete Files or Folders

Use this command to remove (delete) files or directories.

To delete a file:

rm filename.txt

To delete a folder and its contents:

rm -r foldername

Be careful! This command deletes files or folders permanently.

6. cp – Copy Files and Folders

This command helps you copy files and folders.

To copy a file:

cp source.txt destination.txt

To copy a folder:

cp -r folder1 folder2

7. mv – Move or Rename Files

You can use this command to move or rename files and folders.

To move:

mv file.txt /home/kali/Desktop

To rename:

mv oldname.txt newname.txt

8. clear – Clear the Terminal

This simple command clears your screen and makes the terminal clean.

clear

You can also press Ctrl + L as a shortcut to clear the terminal screen.

9. ifconfig – Show Network Information

This command shows network interfaces and their informations.

ifconfig

It will show all your active network informations.

10. apt update && apt upgrade – Update System

These commands are used to keep Kali Linux updated.

First, update the list of software:

apt update

Then, upgrade the installed packages:

apt upgrade

You can also combine both:

apt update && apt upgrade

Use sudo before these commands if you’re not logged in as root.

See also  Termux Commands List (Basic to Advanced) – With PDF | 2025

These are some commonly and frequently used Kali Linux commands that you must know before using the terminal.

Kali Linux Commands List

Kali Linux Commands List
Kali Linux Commands List

There are hundreds of commands in Kali Linux, and each command has its own purpose. Below is a complete Kali Linux commands list from basic to advanced, that covers the most useful commands.

Basic Kali Linux Commands

These are the most basic commands that help you get started with navigation and file handling in kali linux.

  1. pwd : Shows the current folder path.
  2. ls : Displays files and directories present in the current working location.
  3. cd : Used to move into a folder or directory.
  4. cd .. : Goes back to the previous folder.
  5. mkdir folder : Creates a new folder.
  6. touch file.txt : Creates a new empty file.
  7. rm file_name : Deletes a file.
  8. rm -r folder_name : Deletes a folder.
  9. clear : Clears the terminal screen.
  10. exit : Closes the terminal.

File and Folder Commands

This section helps you to manage your files and directories like copying, moving, editing, and searching.

  1. mv file1 file2 : Moves or renames a file.
  2. cp file1 file2 : Copies a file.
  3. cp -r folder1 folder2 : Copies a full folder and its content.
  4. cat file.txt : Displays content of a file.
  5. nano file.txt : Opens file in the nano text editor.
  6. vi file.txt : Opens file in the vi editor.
  7. find / -name file : Searches for a file in the entire system.
  8. locate filename : Quickly finds a file using a pre-built index.
  9. file filename : Shows file type info.
  10. stat file.txt : Displays detailed file information.

System Info Commands

Use these to find out details about your Kali Linux system.

  1. uname -a : Shows system and kernel info.
  2. lsb_release -a : Shows detailed OS version.
  3. hostname : Displays the system’s hostname.
  4. whoami : Shows your current username.
  5. id : Displays user ID and group info.
  6. uptime : Shows how long the system has been running.
  7. date : Displays current date and time.
  8. cal : Shows a calendar.
  9. free -h : Displays human-readable memory usage.
  10. df -h : Shows disk space usage.

Network Commands

These commands are useful for testing and viewing network-related settings.

  1. ifconfig : Displays IP address and network interfaces.
  2. ip a : Shows network details (newer version of ifconfig).
  3. ping google.com : Tests internet connection of a website or IP address.
  4. netstat -tuln : Shows all open ports.
  5. traceroute website.com : Displays path packets take to reach a website.
  6. nslookup website.com : Resolves DNS info of a domain.
  7. dig website.com : Advanced DNS lookup.
  8. nmap [IP_address] : Starts a basic scan on a IP address.
  9. whois domain.com : Shows domain info and owner.
  10. curl website.com : Fetches website source code.

User Management Commands

These commands are helpful when creating, removing, or managing users.

  1. adduser [name] : Creates a new user.
  2. passwd [nam] : Changes the password of a user.
  3. deluser [name] : Use to permanently delete a user.
  4. usermod -aG group [name] : Adds a specific user into a group.
  5. su [name] : Switches to another user account.
  6. sudo [command] : Runs command as administrator.
  7. groups : Shows current user’s groups.
  8. id [username] : Shows the UID and GID.
  9. who : Lists all currently logged-in users.
  10. last : Displays recent login records.

Package Management (APT)

APT commands are used to install, update, and remove tools and software on Kali Linux.

  1. apt update : Updates the list of all installed packages.
  2. apt upgrade : Upgrades all installed packages.
  3. apt install [package_name] : Installs a specific package.
  4. apt remove [package_name] : Permanently deletes a package.
  5. apt purge [package_name] : Removes a package and its config files.
  6. apt autoremove : Cleans unused packages.
  7. apt list : Lists installed packages.
  8. apt search [package_name] : Searches for a package.
  9. dpkg -i package.deb : Installs a .deb file.
  10. dpkg -l : Lists all installed packages.
See also  How to Install Arch Linux on Android Without Root

Process Management

Process management are useful to monitor and control running process or tasks.

  1. ps : Shows running processes.
  2. ps aux : Displays information about running processes.
  3. top : Real-time system usage.
  4. htop : Advance version of top (if installed).
  5. kill [PID] : Kills a process using process ID (PID).
  6. killall [process_name] : Kills all processes with process name.
  7. nice -n 10 [command] : Starts process with a priority.
  8. bg : Sends process to background.
  9. fg : Brings background job to foreground.
  10. jobs : Shows background tasks.

File Permissions

You can use file permissions commands to control read and write access of files and folders.

  1. chmod 777 [file_name] : Gives usage permission of a file for all users.
  2. chmod +x [file_name] : Makes file executable.
  3. chown user [file_name] : Changes the owner of a specific file.
  4. chgrp group [file_name] : Changes group ownership.
  5. umask : Shows default permission mask.

Archive and Compression

Use these to compress and extract files or folders.

  1. tar -cvf file.tar [folder_name] : Archives a folder.
  2. tar -xvf file.tar : Extracts a tar file.
  3. zip file.zip [folder_name] : Compresses folder into zip.
  4. unzip file.zip : Extracts zip file.
  5. gzip [folder_name] : Compresses a file.
  6. gunzip file.gz : Decompresses a gzip file.

Ethical Hacking Tools in Kali

Some popular ethical hacking and cybersecurity tools you should definitely try in Kali Linux.

  1. nmap : Network scanner.
  2. sqlmap : Finds and exploits SQL injection.
  3. hydra : Brute-force login cracker.
  4. aircrack-ng : Cracks Wi-Fi passwords.
  5. burpsuite : Web application testing tool.
  6. metasploit : Powerful exploitation framework.
  7. wireshark : Captures and analyzes network traffic.
  8. john : Password cracking tool.
  9. nikto : Scans websites for vulnerabilities.
  10. recon-ng : Web reconnaissance framework.

Useful Shortcuts & Tips

Save time by using these keyboard tricks and shortcuts.

  1. !! : Runs the last command again.
  2. !abc : Runs last command starting with abc.
  3. Ctrl+C : Stops the current process.
  4. Ctrl+Z : Pauses current job.
  5. Ctrl+D : Logs out of terminal.
  6. Tab : Auto-completes command or filename.
  7. Up/Down arrow : Access command history.
  8. history : Displays all commands you typed in the current Terminal session.
  9. alias : Creates shortcut for a long command.
  10. unalias : Removes a shortcut command.

Extra Cool Commands

These are some cool kali linux commands that you try in your free time to have some fun in the terminal.

  1. neofetch : Shows system info with a logo.
  2. figlet Hello : Prints big ASCII text.
  3. lolcat file.txt : Rainbow-style text output.
  4. cowsay Hello : Cow says your message.
  5. watch date : Runs the date command every 2 seconds.

These are over 100+ Kali Linux commands that will help you to do many things like exploring, checking files, using tools, gathering website information, and many more. You can download the Kali Linux Commands List PDF file from below to practice these commands regularly.

Kali Linux Commands Table

Kali Linux Commands List in table format for better understanding
Kali Linux Commands List in table format

Below are the Kali Linux Commands explanation and examples in a table format so that you can easily understand.

Basic Kali Linux Commands

CommandWhat It DoesExample
pwdShows your current folderpwd
lsLists files and foldersls
cdGo to another foldercd Downloads
cd ..Go back one foldercd ..
mkdirCreate a new foldermkdir myfolder
touchMake a new filetouch file.txt
rmDelete a filerm file.txt
rm -rDelete a folderrm -r myfolder
clearClear the screenclear
exitClose the terminalexit

File and Folder Commands

CommandWhat It DoesExample
mvRename or move a filemv file1.txt file2.txt
cpCopy a filecp file.txt copy.txt
cp -rCopy a foldercp -r folder1 folder2
catShow file contentcat file.txt
nanoOpen a file in editornano file.txt
viOpen file in vi editorvi file.txt
findSearch for a filefind / -name file.txt
locateFast file searchlocate file.txt
fileShow file typefile file.txt
statShow file detailsstat file.txt

System Info Commands

CommandWhat It DoesExample
uname -aShows full system infouname -a
lsb_release -aShows OS versionlsb_release -a
hostnameShows computer namehostname
whoamiShows your usernamewhoami
idShows user ID infoid
uptimeHow long the system is onuptime
dateShows current date/timedate
calShows calendarcal
free -hShows RAM usagefree -h
df -hShows disk spacedf -h

Network Commands

CommandWhat It DoesExample
ifconfigShow IP address infoifconfig
ip aAnother way to see IPip a
pingTest internetping google.com
netstat -tulnShow used portsnetstat -tuln
tracerouteShow route to websitetraceroute google.com
nslookupCheck website’s IPnslookup facebook.com
digAdvanced DNS lookupdig facebook.com
nmapScan for open portsnmap 192.168.1.1
whoisGet domain infowhois google.com
curlShow website content in terminalcurl example.com

User Management Commands

CommandWhat It DoesExample
adduserAdd a new useradduser john
passwdChange user passwordpasswd john
deluserDelete a userdeluser john
usermod -aGAdd user to groupusermod -aG sudo john
suSwitch to another usersu john
sudoRun command as adminsudo apt update
groupsShow your groupsgroups
idShow ID infoid john
whoShow logged-in userswho
lastShow login historylast

Package Management (APT)

CommandWhat It DoesExample
apt updateUpdate software listsudo apt update
apt upgradeUpgrade all softwaresudo apt upgrade
apt installInstall new softwaresudo apt install nmap
apt removeRemove softwaresudo apt remove nmap
apt purgeRemove with config filessudo apt purge nmap
apt autoremoveRemove unused packagessudo apt autoremove
apt listList installed packagesapt list
apt searchSearch for a packageapt search nmap
dpkg -iInstall .deb file manuallydpkg -i file.deb
dpkg -lList all installed packagesdpkg -l

Process Management

CommandWhat It DoesExample
psShow running processesps
ps auxFull process listps aux
topReal-time CPU & RAM usagetop
htopAdvanced top view (if installed)htop
killKill process using IDkill 1234
killallKill process by namekillall firefox
niceRun with prioritynice -n 10 app
bgSend task to backgroundbg
fgBring task to frontfg
jobsSee background jobsjobs

File Permissions

CommandWhat It DoesExample
chmodChange file permissionchmod 777 file.sh
chmod +xMake file executablechmod +x script.sh
chownChange file ownerchown user file.txt
chgrpChange group of filechgrp users file.txt
umaskShow default permissions settingumask

Archive & Compression

CommandWhat It DoesExample
tar -cvfMake tar filetar -cvf file.tar folder
tar -xvfExtract tar filetar -xvf file.tar
zipMake a zip filezip -r file.zip folder
unzipExtract zip fileunzip file.zip
gzipCompress filegzip file.txt
gunzipUncompress .gz filegunzip file.txt.gz

Ethical Hacking Tools (Pre-installed)

CommandWhat It DoesExample
nmapScan networks and portsnmap 192.168.1.1
sqlmapTest for SQL injectionsqlmap -u URL
hydraBrute force passwordhydra -L user.txt
aircrack-ngWi-Fi password crackingaircrack-ng file
burpsuiteWeb security testing toolburpsuite
metasploitExploitation toolmsfconsole
wiresharkCapture network trafficwireshark
johnPassword crackerjohn file.hash
niktoWeb scannernikto -h site.com

Useful Shortcuts & Tips

Shortcut / CommandWhat It DoesExample
!!Repeat last command!!
!nameRun last command starting with name!apt
Ctrl+CStop a running commandCtrl+C
Ctrl+ZPause a running commandCtrl+Z
Ctrl+DLogout from terminalCtrl+D
TabAuto-complete command or pathType cd Dow + Tab
↑ ↓ arrowCommand historyPress arrow keys
historySee past commandshistory
aliasMake shortcut for a commandalias ll='ls -l'
unaliasRemove a shortcutunalias ll

Extra Cool Commands

CommandWhat It DoesExample
neofetchShow system info in a cool wayneofetch
figletPrint big ASCII textfiglet Hello
lolcatAdd rainbow colors to outputcat file.txt | lolcat
cowsayShow text in cow speech bubblecowsay Hello
watchRepeat command every 2 secondswatch date

Kali Linux Commands List PDF Download

Download Kali Linux Commands List PDF file
Kali Linux Commands List PDF file

Kali Linux Commands in a PDF file will help you to remember commands quickly and practice regularly.

See also  How to Install Ubuntu in Android Without Root

In this PDF file you will get a complete Kali Linux commands list for package management, user management, file editing, networking, and more.

Click on the download button to download the complete Kali Linux commands list PDF file:

Conclusion

In this article, I shared over 100 Kali Linux commands in a very easy way. I started with the basic commands, like how to open folders and files, and then moved to advanced commands, like ethical hacking tools and system controls.

If you are a beginner, these commands will help you understand how to use Kali Linux effectively, and if you are already a Kali Linux user, then this article will remind you of all the important commands and their usage.

I have also shared a complete Kali Linux commands list PDF file so that you can use all these commands anytime.

SHARE THIS POST:

Leave a Reply

Your email address will not be published. Required fields are marked *