Skip to main content

Become Ethical Hacker|The 22 most basic commands of Kali Linux|Install kali Linux

The 22 most basic commands of Kali Linux

This is a beginner’s guide to using the Kali interface. We will discuss some of the simplest yet very important commands that we recommend beginners to get comfortable with early on. We will show the syntax to each of these commands and demonstrate how they work.With the knowledge of these commands at your disposal, you’ll begin to learn Kali in no time.

We’ve divided these basic commands into five different 

 
  • General
  • Manipulation
  • Reading commands
  • Editing commands
  • Permission commands

Category 1: General

Let’s begin with the general commands first.

1. uname: Get detailed info on your system specifications with this command. Great place to start familiarizing yourself with Kali User Interface.

uname --help

2. pwd: This command prints the name of the working directory

pwd

A convenient way of showing the directory you’re working in. Especially useful for novices since Kali Linux has a command shell where it’s easy to get lost when you’re in the middle of something complicated.

3. ls: This command Displays what each file contains and the directories they’re stored in. An easy way to view all the contents (files) contained in a directory

ls

The -l  flag details each category, other than that, you can use -an attribute.

4. history: Get to know all the previously used commands and attributes with history command. It lists all the previous commands you entered (stored in bash shell).

history --help

5. macchanger:macchanger changes your mac address, essentially changing your identity.

It helps with protecting your anonymity on the internet, making your IP untraceable.

macchanger --help

6. ifconfig :ifconfig <=> interface configuration.

Lets you view current network interface settings and configure them.

ifconfig

7. echo: It’s like the basic print function you learned in GW basic. Prints any text to where you direct it to.

echo > [file name]  prints the copied text in a new file.
echo >> [file name]  prints the copied text to an existing file.
Using echo  without a ‘>’ will automatically create a new file for the text.

echo I am Younis Said

8. cat: Lets your read files and link them together, exchange their contents, etc.

Commonly used in Linux.

cat --help

9. Clear: Pretty self-explanatory, clears the terminal screen, and lets you fill it anew.

Category 2: Manipulation commands:

Manipulation commands let you make modifications to files and their content.s

10. mkdir:Creates a new directory.

To create a directory under Desktop called folder1, open a terminal and type this:

mkdir kalitesting

11. cd:changes the directory you’re working in. Very commonly used, and a very convenient way to shift directories.

cd ./kalitesting

12. cp:Serves the basic copy-text/something purpose. Use this to copy one or more files to a location of your choice. You can pretty much move entire directories with this command.

cp --help

13. mv:This command moves files between directories.

mv --help

14. rm:Very basic yet essential command, rm removes highlighted texts.

rm --help

PART THREE: Reading Commands

You get access to files with the following commands.

15. more:more gives you bird’s eye view of the contents of a file.

more --help

Use more to view contents in a file in a convenient manner, one page at a time instead of making you scroll down the whole thing.

16. less:does everything that more does, just saves you some RAM while it’s at it. Shows you what’s going on with a certain file, except it doesn’t completely load it.

less --help

17. sort:see information sorted, to see contents in a certain orderly arrangement. Use -r switch, to sort the contents in reverse order.

sort --help

PART FOUR: Editing Commands

Edit  your text files with either one of the following text editors:


Comments

Popular posts from this blog

IOT Projects souce code

IOT  Projects souce code What is IoT? The Internet of Things (IoT) is a network where everyday objects like devices, vehicles, and appliances have sensors and internet connectivity. It lets them gather and share data, work together, and perform tasks without human control. This helps boost automation and efficiency across different areas. You can learn IoT to understand its core components and get further knowledge of its functionalities. 20 IoT Projects with Source Code When it comes to IoT, there are many interesting ideas to explore, from making your home smarter to making an autonomous drone. No matter if you’re just starting or have experience, here are 20 Internet of things projects for beginners and advanced professionals. Simple IoT Project Ideas for Beginners For beginner-level, you can start with simple and fun IoT project ideas that involve basic components like sensors, actuators, and microcontrollers. Below are a few of them: 1. Smart Home Automation Smart home automat...

Connecting R to MySql in English #Training Trains

software design institute training

  ONLINE-OFFLINE IN-PLANT/INTERNSHIP With Certificate Training For B.E(ECE,EEE,CSE,IT,AI,ML,DataScience,Cyper Security),MCA, B.Sc,M.E,M.Tech. @ TrainingTrains.Online Classes Available 100 % Job placement Training Full Stack Developer | Placement Training In-plant Training/Internship Training with Project supports the various Engineering and Non-Engineering, Arts Students to develop their Skills on the IT Companies/Corporate Expectations. DURATION OF IN-PLANT TRAINING: 1 week and Above.DURATION OF INTERNSHIP: 1 Month and Above Internship-inplant training For All Departments students, Internship- inplant Training Python | Java | Full Stack Development | UI & UX | C& C++ | Php | Web Designing - HTML, CSS, Java Script, Bootstrap | MEAN Stack | MERN Stack | MEARNStack | Android | Kotlin | Flutter | Database - Oracle, Mongo DB, MySQL, MS SQL Serer | Visual Studio Code | Objective C | Swift | Go Lang | Frame work - Laravel, Django, Vue JS | Machine Learning | React JS | ...