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