Linux tutorial #1 |Basic 50 commands of kali linux | kali linux



 linux course for beginner

In this course we will learn basic to advance commands of kali linux:

let's start

step 1:open the terminal

for opening the terminal right click on dekstop of your window and select termail this type of window will show you 

It may be different in color

short cut keyboard key for terminal : ctrl+alt+zt


Linux course for beginner

In this course we will learn basic to advance commands of Kali Linux:

let's start

step 1:open the terminal

for opening, the terminal right-click on the desktop of your window and select termail this type of window will show you It may be different in color


Basic 50 commands for the terminal of kali linux and other open source windows


Basic commands:

command no.1 how to show time in Kali Linux through terminal:

Simply write "time" and press enter 

command no.2:

How to show date in kali Linux through terminal:

to show the current date through the kali Linux terminal write "date" and press enter 

Command no.3:

 how to show the running year or month calendar:

To show the full calendar of the current month simply write "cal" and press enter it will show the calendar of the present month.

the command for showing another year's calendar:

write a command in the terminal of kali Linux " cal 2020" (2020 mean any year which you want to see the calendar)

 command no.4: 

how to open directories or folders through the terminal in Kali Linux:

"mkdir /(name of the folder)" then press enter 


comand no.4.1

to see the files and under the *(name of the folder) 

write "ls" mean list then press enter 

all files and folder in your selected folders will be shown 

note: the green will be shown as files and blues are folders. kali differentiate through this way

command no. 5:

let's suppose you want to open the file after this:

for file use command " vim *the name of file " and then press enter


command no.6:

To withdrawn from the current file or to exite from current open file 

write " :q " you will be a step back from current step and other way which is not good to close the terminal


command no.7

how to clear all the commands from terminal:

To clear all the commands from terminal write "clear" and press enter key. it will clear All the commands.

command no.8

how to exit from the terminal through command:

to exit or close the terminal write " exit " and press enter key, the terminal will be closed.

command no.9

how to open desktop directory:

use " cd /root/desktop " now you are on desktop.

command  no 10.

how to make directory on desktop using linux terminal:

use command no. 9 and go to desktop then write the command " mkdir name-of-directory " hit the enter key.

A directory is created on the desktop or your current place where you want to creat.


command no.11:

how to make a file in directory using terminal in kali linux:

first enter in the directory by writting the command no.4 and hit enter

after entering in the right directory write a " touch filename " command to make a new file in the folder.

to see the new file which is just created use the command no. 4.1 you will be showing the list the file under the same folder.


command no.12:

how to write or edit in the new or previous file using terminal of kali linux:

use " vim filename "and press enter

now the file is open and then again press enter and then Press" I " to insert text in the file.

 command no.13:

how to save and exit the edited file from terminal in kali linux:

use command " :wq " to save and get escape from editable file.


command no.14

how to insert text in a file after opening it in terminal of kali linux:

use " I " to insert some data from terminal of kali linux.

command no. 14.1:

how to exit from insert command:

simple press the escape button 

command no. 15: how to check the data in the specific file:

 "cd /root/desktop " press enter

 "cd folder name " press enter 

 "vim file name " press enter

these three commands will help you to see the text in the file 

* use 1st point of this command only if the file is on the desktop. 




Post a Comment

Previous Post Next Post