Kali Linux Quick Reference Guide

With Kali Linux freshly installed on a Virtual Machine using VMware Workstation Player, I’ve set out to complete the Beginner Network Pentesting course provided for free on Youtube by freecodecamp.org and hosted by Heath Adams (@thecybermentor). (Enough links? Jeez).

As I make my way through this course, I’ll be leaving my notes below primarily so I have something to reference back to if needed, but who knows – maybe someone else will find it useful too! We’re going to start off pretty simple here, so bare with me…

Kali Linux Quick Reference Guide –
Basic Terminal Commands

Listed below are some basic commands to help get you around the file system using the terminal

//Change directory
root@kali:~# cd

//Go back to previous directory
root@kali:~# cd ..

//Return to root
root@kali:~# cd ~

//Navigate to Desktop
root@kali:~# cd ~/Desktop/

//Switch user
root@kali:~# su "username"

//List folder contents
root@kali:~# ls

//List folder contents including hidden files
root@kali:~# ls -la

//Print working directory (Shows which directory you're in)
root@kali:~# pwd

//Show manual
root@kali:~# man

//Show history of commmands
root@kali:~# history

//Show history of particular command
root@kali:~# history | grep "command"


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *