Basic Commands Kali Linux Flashcards
This commands update all the apts and update it a basic update command
apt update
Don’t use apt-get
What command restarts your kali Linux machine,like windows restart button, or reboots it
reboot
What command prints the current directory you are in
Pwd
What command is know as list, and list the directory’s and files
Ls
What command shows hidden files and hidden directory’s
ls -la
What command clears the terminal so you can start at the top of the terminal again
clear
What command can put you in another directory, this command also stands for change directory
cd
What command can make files in a directory
touch
You can use this command by type I get any name you want to name the file after the touch command like this
touch file.txt
What command lets you remove files
rm
What command lets you make a directory/folder
mkdir
This command stands for make directory and you use it like
mkdir kali
You can use any name I just used kali for example
Are directory’s and files different colors
And what color are executable files
YES
In kali 2020.4 files are WHITE and directory’s are BLUE
Executable files are Green
What command do you use to remove a directory
rm kali -r
I used kali as a directory use any directory there though but to remove a directory you must put a -r at the end
What command deletes all the files in a directory
rm * -r
This command can be dangerous if you type it in the root directory you will delete most of the files on kali Linux
What command can take you out of a directory or lead you a directory back one
cd ..
What command tells who the current user of a terminal is
whoami