0% found this document useful (0 votes)
15 views8 pages

Essential Kali Linux Commands Guide

This document lists Kali Linux commands and their functions. Some key commands include apt-get/aptitude for installing packages, grep/fgrep for searching files, ls for listing files and directories, and cd for changing directories. Other commands provide functions such as compressing files (bzip2), editing text files (nano), and managing processes (top, kill).

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views8 pages

Essential Kali Linux Commands Guide

This document lists Kali Linux commands and their functions. Some key commands include apt-get/aptitude for installing packages, grep/fgrep for searching files, ls for listing files and directories, and cd for changing directories. Other commands provide functions such as compressing files (bzip2), editing text files (nano), and managing processes (top, kill).

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Kali Linux Command Function

A
It is used to search within the pages of the manual.
about and the descriptions
Search and install software packages
apt-get (Debian)
Search and install software packages
aptitude (Debian)
aspell Spell checker
awk Find and replace text
B
List directory and the suffix of names of
basename file
bash GNU Bourne-Again Shell
bc Arbitrary precision language calculator
bg Send to background
break Exit from a loop
builtin Execute an internal shell command
bzip2 Compress or decompress files
C
cal Show a calendar
case Execute a command conditionally
Concatenate and display the content of
cat the files
d Change of directory
Manages the partition table for
cfdisk Linux
chgrp Change the group property
chmod Change the access permissions
chown Change the owner of the file and the group
Execute a command with a root directory
chroot different
chkconfig System services (execution level)
checksum Print CRC checksum and byte counts
clear Clear the screen
cmp compare two files
Comparison of two files ordered by
comm lines
Execute a command - ignoring
command de las funciones de shell
continue Resume the following iteration of a loop
cp Resume the next iteration of a loop
cron Run scheduled commands
crontab Program a command to run in a
later moment
Divide a file into context chunks
csplit determined
cut Split a file into several parts
D
date View or change the time and date
dc Desktop Calculator
Convert and copy a file, write
dd disk headers, the boot records
ddrescue Data recovery tool
declare Declare variables and give them attributes
df Show the free disk space
diff Show the differences between two files
diff3 Show differences between the three files
dig DNS search
directory List the summary of the directory content
dircolors color configuration
directory name Convert a full path to just a route
dirs Show the list of saved directories
Prints messages from the Kernel and from the
dmesg controllers
you Estimate the use of file space
E
echo Show Message on the screen
Searching for files for the lines that
egrep match an extended expression
eject Eject removable media
enable Activate and deactivate shell commands
env Environment variables
ethtool Ethernet card configuration
eval Evaluate various commands / arguments
exec Execute a command
exit Exit the shell
Automate arbitrary accessed applications
expect through a terminal
expand Convert tabs to spaces
export Set an environment variable
expr Evaluate expressions
F
false Do nothing
fdformat Low-level format of a floppy disk
fdisk Manage the Partition table for Linux
fg Send work to the foreground
Search for files for which lines
fgrep match a fixed string
file Determine file type
Search for files that meet certain
find desired criteria
fmt Change the paragraph text format
Adjust text to fit a width
fold specified
for Expand the words and execute commands
format Format disks
free use of memory
Verification and repair of files of the
fsck system
ftp File Transfer Protocol
function define function macros
Identify/remove the process that is
fuser accessing a file
G
gawk Search and replace text within the file
getopts analyze positional parameters
Search for files that match the
grep lines of a given pattern
groupadd Add a user security group
groupdel Delete a group
groupmod Modify a group
groups Print group names
compress or decompress file with the
gzip file name
H
Remember the full path of an argument of
hash name
head Output of the first part of the file
help Show the help for a command
history Command history
hostname Print the system name
I
Convert a set of characters from a
iconv file
id Print user and group identifiers
if Conditionally show a command
ifconfig Configure a network interface
ifdown Stop a network interface
ifup Start a network interface
import Screenshot of an X server and
save the image in a file
install Copy files and set attributes
J
jobs List the active jobs
join One lines in a common field
K
kill Stop a running process
killall Kill processes by name
L
Show the output of a single screen
less time
Perform arithmetic operations on
let shell variables
ln Create a symbolic link to a file
local Create the variables
locate Find the files
logname Show the current session name
logout Exit a shell
Show lines that start with a
look given chain
lpc Printer control program
lpr print line
lprint Print a file
lprintd Abort a print job
lprintq Write the print queue
lprm Remove jobs from the print queue
ls List information about files
lsof List of open files
M
make Recompile a group of programs
man Help Manual
create directory Create new folder
make FIFO Create FIFO
Create a hybrid file system
mkisofs ISO9660/JOLIET/HFS
Make characters or blocks files
mknod specials
The output display of a screen to the
more time
mount Set up a file system
mtools Manipulate MS-DOS files
mtr Network diagnostics (traceroute / ping)
move Move or rename files or
directories
mmv Move and rename (files)
N
netstat Network Information
nice Establish the priority of a command or task
nl Number of lines written in a file
nohup Execute a command immune to blocks
notify-send Send desktop notifications
Queries to the name servers of
nslookup interactive domain
O
open Open a file in its default application
op operator access
P
password Change a user password
paste merge lines of files
pathchk check the portability of the file name
ping Network connection test
pkill Stop the processes that are running
popd Restore the previous value of the current directory
pr Prepare files for printing
printcap printer capacity database
printenv printing environment variables
printf Printing format and data
ps Process State
pushd Save and then change the current directory
pwd Print working directory
Q
quota Visualize disk usage and limits
Scan a file system for usage
quotacheck from the disk
quotactl Installments joint record disks
R
ram Device RAM
rcp Copy files between two machines
read Read a line from standard input
Read from the standard input into a variable
readarray matrix
Mark variables and functions as only
read-only reading
reboot Restart the system
rename Change the name of files
renice Modify the priority of the processes in
execution
remsync Synchronize remote files via e-mail
return Exit a shell function
rev reverse lines of a file
rm delete files
remove directory delete folders
copy of remote files (Synchronize trees
rsync of files)
S
multiple terminal, execute remote shell
screen via SSH
scp backup (remote file copy)
sdiff Combine two files interactively
sat Simple editor
select Accept keyboard input
seq Print numerical sequences
set Manipulate shell variables and functions
sftp Secure file transfer program
shift Shift positional parameters
shop Shell options
shutdown Shut down or restart Linux
sleep Delay for a specified time
slocate Find files
sort Sort text files
source Execute commands from a file
Split a file into fragments of size
split fixed
Secure Shell client (access program
ssh remote
strace calls to the tracking and signaling system
his the identity of the substitute user
sudo Execute a command as another user
Print a checksum of a
sum file
suspend Suspend the execution of the Shell
symlink Create a new name for a file
sync Synchronize data on the disk with memory
T
tail Output of the last part of the file
tar tape archive
tee Redirect the output to multiple files
test Evaluate a conditional expression
time Measure runtime program
times user and system times
touch file modification timestamps
list the processes that are running on the
top system
traceroute Host Trace Route
Execute a command when set
trap a signal (bourne)
tr Translate and/or remove characters
true Doing nothing, successfully
topological sort topological classification
Print file name from the terminal in
tty the standard input
type Describe a command
U
ulimit User resource limits
umask Users creation mask file
umount Disassemble a device
unalias Remove an alias
username Print the system information
unexpand Convert spaces to tabs
allows to remove or show repeated lines
unique from a file
units Convert units from one scale to another
unset Remove variable or function names
Shell script sequences of
unshar file unpacking
until Execute commands (until error)
uptime Display uptime
useradd Create a new user account
usermod Modify user account
users List of logged-in users
uuencode Encode a binary file
uudecode Decode a file created by uuencode
V
List the contents of the directory in more detail
v (`ls -l -b ')
More detailed list of the directory contents
vdir (ls -l -b ')
vi Text editor
vmstat Virtual Memory Statistics Report
W
wait Wait for a process to complete
watch Run / view a program
periodically
wc Print byte, word and line counts
Search user route, manual pages and
where is source code files of a program
Find the user's path for a file of
which program
while Run commands
Print all usernames
who currently logged in
whoami Print the current user ID and name
Recover web pages or files through
wget HTTP, HTTPS or FT
write Send a message to another user
X
Run utility, passing a list of arguments
xargs built
Open a file or URL in preferred application
xdg-open from the user
Y
Yes Print a string until it is interrupted

You might also like