LIST OF KALI LINUX COMMANDS FOR BEGINNERS

Kali Linux Commands

Kali Linux is an operating system similar to other Linux based operating systems. So basic Kali Linux commands are similar to others.

This Operating system is designed for penetration testing and Ethical hacking. Of course, It has a bunch of ultimate Free hacking tools used by black hat hackers.

Basic kali Linux commands are similar to other Linux operating systems but Advance commands are different and awesome.

It is very simple to open the terminal and type “a” and press the “tab” tab key from your keyword twice you will see all command start from “a” word.

I find 222 commands start from “a” at the time of writing this article. See in the image below.

Very basic kali linux commands can be used by Normal user. The identification of normal user ‘$’ sign, you can see in the following image vijay@kali:~$.

3865afc21c3d0acaf762f751e24548bf 1

1# Arch Command:

You can use the arch command to know computer architecture. Arch command prints things such as “i386, i486, i586, alpha, arm, m68k, mips, sparc, x86_64, etc.

You can use the following Syntax to check your system architecture:

#arch

2# Arp Command:

ARP stands for Address Resolution Protocol, which is used to find the address of a network neighbor for a given IPv4 address.

arp command is used to show the arp table of your Kali Linux system. You can use this command on other Linux systems as well as Windows operating systems.

arp without any option will print the current content of the ARP (MAC/CAM) table.

#arp

#3 arping Command

arping command is similar to ping command but it is working on an Ethernet layer. arping command gives the result of reachability and round-trip time on an IP address in a local network.

#arping -I eth0 -c 5 IPADDRESS

df0bc9c70fe6fd36f94f6a8bd8481de0 1

4# Aspell Command:

aspell is a spell checker command in Kali Linux, you can give file name or anything from standard input to check for misspellings.

Syntax: aspell check [options] filename

#aspell -c filename.txt

5# awk command”

awk command is used to manipulate data and generate a report in the scripting language. It allows the user to use a variable, functions both numeric and functions and logical operators.

You can write tiny and effective programs in the form of a statement by using awk utility in Kali Linux.

What can you do with awk?

  1. AWK Operations:
    (a) Scans a file line by line
    (b) Splits each input line into fields
    (c) Compares input line/fields to pattern
    (d) Performs action(s) on matched lines
    awk is Useful For:
    (a) Transform data files
    (b) Produce formatted reports
  2. Programming Constructs:
    (a) Format output lines
    (b) Arithmetic and string operations
    (c) Conditionals and loops

Syntax:

awk options ‘selection _criteria {action }’ input-file > output-file

6# bg command

bg command is used to control shell jobs. It resumes execution of a stoped or suspended process and bg command used to restart a stopped background process

Example
I used ping command followed by technicalustad.com then pressed CTRL +z to stop the service.

Next, I used jobs commands to see available jobs.

Again I used bg command to restart the stoped command “ping technicalustad.com”

8914a8bb83f276e00259e07541809050 1

7# basename command

You can use basename command to remove base directory information and suffixes from the file names. You can print any file name with any leading directory components removed

Syntax:

#basename NAME [SUFFIX]
or
#basename OPTION NAME

d9c8244fd6d256fad08662f89de98063

8# Bzip2

Bzip2 is a basic utility for compress and decompress files. It is pre-installed in kali Linux as other commands.

Syntax:

#bzip2 [Options] [filename]

An example:

I used cat command to create a new file name with the filename.txt

Later I used bzip2 command followed by -z (option for compress file) and file name.

Next option -d, I used for decompressing “filename.txt.bz2”

bc94c5288a1a5e82c65883f71bd48d6a

When you use bzip2 command to compress file, The new file will be created with .bz2 extension. You will decompress any file with .bz2 extension by using bzip2 command.

9# cal command:

Cal command is used to display calendar

$cal

root@kali:~#cal
    October 2019      
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 
root@kali:~#

10# cat command


This tutorial for hackers, So if you will get access to any computer of the drive then you will 100% find some files. so cat command is used to see, edit matter inside the file. You can create a file and add content inside the file.

How is it possible?

Simple use

$cat > ‘New File’ [Create a new file or overwrite data on the desired file] 

$cat “file name” [See matter inside file]

$ cat >> “filename” [add some data into file] 

Kali linux commands basic use cat

11# cksum command

cksum command stands for checksum is used to calculates a CRC (cyclic redundancy check) and byte count for each input file, and writes it to standard output.

In a simple way, this command is used to check file’s data for being corrupted when transferred one location to another.

Command syntax is simple and straight forward

#cksum filename

12# Clear command

Clear command is used to clear the terminal screen when you are running multiple commands in terminal the terminal screen getting full.

So use the clear command and enjoy a clean screen again.3

#clear

13# cmp Command:

the cmp command is used to compare two files byte by byte. If a difference is found, it reports the byte and line number where the first difference is found.

If no differences are found, by default, cmp returns no output.

Basic syntax of cmp command

#cmp file1.txt file2.txt

14# comm Command

you can use comm command to compare two sorted files line by line. The basic syntax to use this command:

#comm file1.txt file2.txt

15# cp command:

Cp command is used to copy one or more files from one location to another location.

#cp /source/location/path /destination/location/path

0Shares

Related Post

Leave a Reply

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