Ethnical hacking (Kali linux) - erikpa1/MyExperience GitHub Wiki

Data source:

https://www.youtube.com/watch?v=3Kq1MIfTWCE&t=33637s&ab_channel=freeCodeCamp.org

Change password:

(For kali linux default password is kali

passwd

Print working directory

pwd

Print info about every file in directory:

ls -la

Creat new file with predefined text:

echo "hello" > new.txt

Copy file

cp new.txt ./new1.txt

Move file

mv new.txt ./new1.txt

**Delete file **

rm new1.txt

Find file on disc:

1. sudo updatedb
2. locate new.txt

We have to update db because it indices file system.

Get manual to any command

man [command]
man ls