OS - Kali Linux
OS - Kali Linux
Installation of OS –
To install Kali Linux, there are many ways:
1. Using a bootable drive.
2. Using cloud-based server like AWS.
3. Using hypervisor like VirtualBox or VMware.
We will install it using Virtual Machines.
Now we will learn few things inside our kali Linux’s terminal.
Terminal
1. PWD
To check the current directory, we have to type
pwd command,
The default current directory is /home/kali
2. CD
To change the directory, we have cd (change directory)
command.
To change directory, first give cd command and then the
directory we have to change to.
Like here I’ve changed directory to Desktop
4. TOUCH
The touch command is used to create simple files.
For e.g.-
Same way, here now I have moved the same file from Public
directory to current directory. By using command
mv Public/abc.txt .
Same way, to rename file, we give mv command and then our
current file name, and then the name which we want to give.
mv abc.txt helloworld.txt
You can also move file and rename it at the same time, by first
giving current file name, then path, and then the name we want
to give it.
7. CP
The cp command is short for copy. This is used to copy file
from one location to another. Unlike mv command, cp retains
the original file at its original location, and just adds a copy of
file to destination set by user.
To copy, give cp command, then file name and then destination
where we want to copy it.