Top 50 Commands for Beginners on Kali Linux

chmod: Changes file permissions (read, write, execute).

  • Example: chmod +x script.sh (makes a script executable).

chown: Changes file owner.

  • Example: chown kali:kali file.txt

id: Prints real and effective User IDs (UIDs) and Group IDs (GIDs).

ip a (or ifconfig): Displays network interface information (IP addresses, MAC addresses).

ping: Tests connectivity to a host on a network.

  • Example: ping google.com

netstat: Displays network connections, routing tables, and interface statistics.

ssh: Secure Shell client for securely connecting to a remote machine.

  • Example: ssh user@192.168.1.10

wget: Downloads files from the web non-interactively.

curl: Transfers data from or to a server, supporting various protocols (used for web requests).

traceroute: Displays the route/path a packet takes to reach a host.

grep: Searches for a pattern in files or command output. (One of the most powerful commands).

  • Example: cat logfile.txt | grep "ERROR" (searches for “ERROR” in the log file).