Kali Linux Commands Flashcards
What does ‘echo’ do ?
Output any text that we provide
What command outputs any text that we provide ?
echo
what does ‘whoami’ do ?
Find out what user we’re currently logged in as!
What command lets us know what user we are currently logged in as ?
whoami
What does ‘ls’ do ?
listing
What is the command for listing ?
ls
what does ‘cd’ do ?
change directory
What is the command to change directory ?
cd
What does ‘cat’ do ?
concatenate
What is the command to concatenate ?
cat
What is the command to print the working directory ?
pwd
What does ‘pwd’ do ?
Print Working Directory
How can you list the contents of a directory without having to navigate to it
‘ls’ and the name of the directory
e.g ‘ls my documents’
What does the concatenate command do ?
Output the content of a file. Not just the text files
Command to go back to previous directory
cd -
What does ‘cd -‘ do ?
go back to previous directory
If we remember the filename, what command can we use so that the command will look through every folder in our current directory for that specific file.
‘find -name’ and the name of the file
e.g ‘find -name password.txt’
what character is the wildcard ?
*