A to Z Kali Linux Commands

All Kali Linux Commands With Their Functions

Mati Aharoni, Devon Kearns and Raphaรซl Hertzog have developed a new version of linux specifically designed for digital forensic & penetration testing. The development of Kali Linux has been funded byย Offensive Security Ltd.

Download This Cheat Sheet To Learn Basic Linux Commands

Kali Linux is a distribution derived from Debian. The distribution comes withย 600 penetration-testing programs, including nmap (a port scanner), Wireshark (a packet analyzer), John the Ripper (a password cracker), Aircrack-ng (a software suite for penetration-testing wireless LANs), Burp suite and OWASP ZAP (both web application security scanners) all pre installed. The distribution can be run on a virtual machine or natively if installed on the computer’s hard drive. It can be booted using a CD or a live USB.ย It is a supported platform of the Metasploit Projectโ€™s Metasploit Framework, a tool for developing and executing security exploits.

Kali Linux Commands

Following is a list of all known Kali Linux Commands. We have sequenced it in an alphabetic order for the ease of search.

Kali Linux commands Function

A

ย apropos ย Search Help manual pages (man -k)
ย apt-get ย Search for and install software packages (Debian)
ย aptitude ย Search for and install software packages (Debian)
ย aspell ย Spell Checker
ย awk ย Find and Replace text, database sort/validate/index
B
ย basename ย Strip directory and suffix from filenames
ย bash ย GNU Bourne-Again Shell
ย bc ย Arbitrary precision calculator language
ย bg ย Send to background
ย break ย Exit from a loop
ย builtin ย Run a shell builtin
ย bzip2 ย Compress or decompress named files
C
ย cal ย Display a calendar
ย case ย Conditionally perform a command
ย cat ย Concatenate and print (display) the content of files
ย cd ย Change Directory
ย cfdisk ย Partition table manipulator for Linux
ย chgrp ย Change group ownership
ย chmod ย Change access permissions
ย chown ย Change file owner and group
ย chroot ย Run a command with a different root directory
ย chkconfig ย System services (runlevel)
ย cksum ย Print CRC checksum and byte counts
ย clear ย Clear terminal screen
ย cmp ย Compare two files
ย comm ย Compare two sorted files line by line
ย command ย Run a command โ€“ ignoring shell functions
ย continue ย Resume the next iteration of a loop
ย cp ย Copy one or more files to another location
ย cron ย Daemon to execute scheduled commands
ย crontab ย Schedule a command to run at a later time
ย csplit ย Split a file into context-determined pieces
ย cut ย Divide a file into several parts
D
ย date ย Display or change the date and time
ย dc ย Desk Calculator
ย dd ย Convert and copy a file, write disk headers, boot records
ย ddrescue ย Data recovery tool
ย declare ย Declare variables and give them attributes
ย df ย Display free disk space
ย diff ย Display the differences between two files
ย diff3 ย Show differences among three files
ย dig ย DNS lookup
ย dir ย Briefly list directory contents
ย dircolors ย Colour setup for `lsโ€™
ย dirname ย Convert a full pathname to just a path
ย dirs ย Display list of remembered directories
ย dmesg ย Print kernel & driver messages
ย du ย Estimate file space usage
E
ย echo ย Display message on screen
ย egrep ย Search files for lines that match an extended expression
ย eject ย Eject removable media
ย enable ย Enable and disable builtin shell commands
ย env ย Environment variables
ย ethtool ย Ethernet card settings
ย eval ย Evaluate several commands/arguments
ย exec ย Execute a command
ย exit ย Exit the shell
ย expect ย Automate arbitrary applications accessed over a terminal
ย expand ย Convert tabs to spaces
ย export ย Set an environment variable
ย expr ย Evaluate expressions
F
ย false ย Do nothing, unsuccessfully
ย fdformat ย Low-level format a floppy disk
ย fdisk ย Partition table manipulator for Linux
ย fg ย Send job to foreground
ย fgrep ย Search files for lines that match a fixed string
ย file ย Determine file type
ย find ย Search for files that meet a desired criteria
ย fmt ย Reformat paragraph text
ย fold ย Wrap text to fit a specified width
ย for ย Expand words, and execute commands
ย format ย Format disks or tapes
ย free ย Display memory usage
ย fsck ย File system consistency check and repair
ย ftp ย File Transfer Protocol
ย function ย Define Function Macros
ย fuser ย Identify/kill the process that is accessing a file
G
ย gawk ย Find and Replace text within files
ย getopts ย Parse positional parameters
ย grep ย Search files for lines that match a given pattern
ย groupadd ย Add a user security group
ย groupdel ย Delete a group
ย groupmod ย Modify a group
ย groups ย Print group names a user is in
ย gzip ย Compress or decompress named files
H
ย hash ย Remember the full pathname of a name argument
ย head ย Output the first part of files
ย help ย Display help for a built-in command
ย history ย Command History
ย hostname ย Print or set system name
I
ย iconv ย Convert the character set of a file
ย id ย Print user and group idโ€™s
ย if ย Conditionally perform a command
ย ifconfig ย Configure a network interface
ย ifdown ย Stop a network interface
ย ifup ย Start a network interface up
ย import ย Capture an X server screen and save the image to file
ย install ย Copy files and set attributes
J
ย jobs ย List active jobs
ย join ย Join lines on a common field
K
ย kill ย Stop a process from running
ย killall ย Kill processes by name
L
ย less ย Display output one screen at a time
ย let ย Perform arithmetic on shell variables
ย ln ย Create a symbolic link to a file
ย local ย Create variables
locate ย Find files
ย logname ย Print current login name
ย logout ย Exit a login shell
ย look ย Display lines beginning with a given string
ย lpc ย Line printer control program
ย lpr ย Off line print
ย lprint ย Print a file
ย lprintd ย Abort a print job
ย lprintq ย List the print queue
ย lprm ย Remove jobs from the print queue
ย ls ย List information about files
ย lsof ย List open files
M
ย make ย Recompile a group of programs
ย man ย Help manual
ย mkdir ย Create new folders
ย mkfifo ย Make FIFOs (named pipes)
ย mkisofs ย Create an hybrid ISO9660/JOLIET/HFS filesystem
ย mknod ย Make block or character special files
ย more ย Display output one screen at a time
ย mount ย Mount a file system
ย mtools ย Manipulate MS-DOS files
ย mtr ย Network diagnostics (traceroute/ping)
ย mv ย Move or rename files or directories
ย mmv ย Mass Move and rename files
N
ย netstat ย Networking information
ย nice ย Set the priority of a command or job
ย nl ย Number lines and write files
ย nohup ย Run a command immune to hangups
ย notify-send ย Send desktop notifications
ย nslookup ย Query Internet name servers interactively
O
ย open ย Open a file in its default application
ย op ย Operator access
P
ย passwd ย Modify a user password
ย paste ย Merge lines of files
ย pathchk ย Check file name portability
ย ping ย Test a network connection
ย pkill ย Stop processes from running
ย popd ย Restore the previous value of the current directory
ย pr ย Prepare files for printing
ย printcap ย Printer capability database
ย printenv ย Print environment variables
ย printf ย Format and print data
ย ps ย Process status
ย pushd ย Save and then change the current directory
ย pwd ย Print Working Directory
Q
ย quota ย Display disk usage and limits
ย quotacheck ย Scan a file system for disk usage
ย quotactl ย Set disk quotas
R
ย ram ย ram disk device
ย rcp ย Copy files between two machines
ย read ย Read a line from standard input
ย readarray ย Read from stdin into an array variable
ย readonly ย Mark variables/functions as readonly
ย reboot ย Reboot the system
ย rename ย Rename files
ย renice ย Alter priority of running processes
ย remsync ย Synchronize remote files via email
ย return ย Exit a shell function
ย rev ย Reverse lines of a file
ย rm ย Remove files
ย rmdir ย Remove folders
ย rsync ย Remote file copy (Synchronize file trees)
S
ย screen ย Multiplex terminal, run remote shells via ssh
ย scp ย Secure copy (remote file copy)
ย sdiff ย Merge two files interactively
ย sed ย Stream Editor
ย select ย Accept keyboard input
ย seq ย Print numeric sequences
ย set ย Manipulate shell variables and functions
ย sftp ย Secure File Transfer Program
ย shift ย Shift positional parameters
ย shopt ย Shell Options
ย shutdown ย Shutdown or restart linux
ย sleep ย Delay for a specified time
ย slocate ย Find files
ย sort ย Sort text files
ย source ย Run commands from a file
ย split ย Split a file into fixed-size pieces
ย ssh ย Secure Shell client (remote login program)
ย strace ย Trace system calls and signals
ย su ย Substitute user identity
ย sudo ย Execute a command as another user
ย sum ย Print a checksum for a file
ย suspend ย Suspend execution of this shell
ย symlink ย Make a new name for a file
ย sync ย Synchronize data on disk with memory
T
ย tail ย Output the last part of file
ย tar ย Tape Archiver
ย tee ย Redirect output to multiple files
ย test ย Evaluate a conditional expression
ย time ย Measure Program running time
ย times ย User and system times
ย touch ย Change file timestamps
ย top ย List processes running on the system
ย traceroute ย Trace Route to Host
ย trap ย Run a command when a signal is set(bourne)
ย tr ย Translate, squeeze, and/or delete characters
ย true ย Do nothing, successfully
ย tsort ย Topological sort
ย tty ย Print filename of terminal on stdin
ย type ย Describe a command
U
ย ulimit ย Limit user resources
ย umask ย Users file creation mask
ย umount ย Unmount a device
ย unalias ย Remove an alias
ย uname ย Print system information
ย unexpand ย Convert spaces to tabs
ย uniq ย Uniquify files
ย units ย Convert units from one scale to another
ย unset ย Remove variable or function names
ย unshar ย Unpack shell archive scripts
ย until ย Execute commands (until error)
ย uptime ย Show uptime
ย useradd ย Create new user account
ย usermod ย Modify user account
ย users ย List users currently logged in
ย uuencode ย Encode a binary file
ย uudecode ย Decode a file created by uuencode
V
ย v ย Verbosely list directory contents (`ls -l -bโ€™)
ย vdir ย Verbosely list directory contents (`ls -l -bโ€™)
ย vi ย Text Editor
ย vmstat ย Report virtual memory statistics
W
ย wait ย Wait for a process to complete
ย watch ย Execute/display a program periodically
ย wc ย Print byte, word, and line counts
ย whereis ย Search the userโ€™s $path, man pages and source files for a program
ย which ย Search the userโ€™s $path for a program file
ย while ย Execute commands
ย who ย Print all usernames currently logged in
ย whoami ย Print the current user id and name (`id -unโ€™)
ย wget ย Retrieve web pages or files via HTTP, HTTPS or FTP
ย write ย Send a message to another user
X
ย xargs ย Execute utility, passing constructed argument lists
ย xdg-open ย Open a file or URL in the userโ€™s preferred application
Y
ย yes ย  Print a string until interrupted

Do mention in the comments below if we have missed any Kali Linux Commands that you may know

Also read :ย 10 most lethal Linux commands you should never execute

Delwyn Pinto
Delwyn Pinto
A person proud to have an alternate view
spot_img

Read More

Suggested Post