Linux CLI
Tools/Skills: Linux CLI
I've learned and practiced with linux CLI for years. Some commands I've seen only once, others I know like the back of my hand, and some I know they exist and would have to do a brief search to remind myself how to use them. And, there are some I don't know exist, but I know how to look for them.
Some of the projects or challenges I've done with Linux CLI:
Projects & Challenges
1. Linux 101
Tools/Skills: Linux CLI - ls, pwd, cat, rm, cd, chmod, grep, find, history, ps aux, netstat, curl, kill
Tools/Skills: Linux CLI - ls -a -l -d, chmod
Tools/Skills: Linux CLI, assigned privileges, command injection, privilege escalation
Tools/Skills: Linux CLI - pwd, ls, cd, cat, whoami, echo, ping, curl, ifconfig, nmap, ssh, john, hydra, rm, loic, nitro_exp, netstat, iptables, kill
(Attempted) Summary of Known Linux Commands
It's difficult to remember everything I've done, let alone document it. Below is my best attempt at summarizing various commands I've used.
Navigation:
cd: Change directoryls: List directory contentspwd: Print working directorymkdir: Create a directoryrmdir: Remove an empty directoryfind: Search for files and directoriesln: Create hard or symbolic linkscp: Copy files or directoriesmv: Move or rename files or directoriesrm: Remove files or directoriestouch: Create an empty file
Text Processing:
cat: Concatenate and display the content of fileshead/tail: Display the beginning or end of a filemore/less: Display content page by pagegrep: Search for patterns in fileswc: Count lines, words, and charactersdiff: Compare files line by linejoin: Join lines of two files on a common fieldecho: Display text or variables to the terminal. Used for printing information or messages to the standard output.
User and Permission Management:
sudo: Execute a command as another user (usually root)su: Switch user or become superuserpasswd: Change user passwordusers: Display current userschmod: Change file permissionschown: Change file owner and groupadduser/useradd: Create a new userdeluser/userdel: Delete a userpasswd: Change user passwordwhoami: Display effective user ID
Process Management:
ps: Display information about running processeskill: Terminate a process
Package Management:
apt/apt-get: Package management commands for Debian-based systemsdpkg: Package manager for Debian-based systems
Network Tools:
ping: Check network connectivitytraceroute/tracepath: Trace the route of packets to a destinationnslookup/dig: DNS lookup toolsifconfig/ip: Configure network interfacesroute: Show or manipulate the IP routing tablenetstat: Display network connections, routing tables, interface statistics, masquerade connections, and multicast membershipstcpdump: Dump traffic on a networknmap: Network exploration tool and security scannerarp: Display or modify the ARP cacheroute: Manipulate IP routing tableswget: Non-interactive network downloadercurl: Command-line tool for transferring data with URL syntaxssh: Secure Shell client and serverufw: Uncomplicated Firewall
Last updated