{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreid3z3wjw5d6wdy73tea62q6np3x7f7y5ywa4v6gqz4utlmcbt4eb4",
"uri": "at://did:plc:25rdn5elo5izoxrmtis34zuk/app.bsky.feed.post/3mpek4boohun2"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreia5ci2puqi6bgmzqkuhgnlu7lxjqpmyzwjgroh2t5epepwvi5x7xy"
},
"mimeType": "image/webp",
"size": 169002
},
"path": "/ayesha_abbas/5-linux-commands-every-cybersecurity-student-must-know-n2c",
"publishedAt": "2026-06-28T17:28:59.000Z",
"site": "https://dev.to",
"tags": [
"linux",
"cybersecurity",
"ubuntu",
"networking",
"https://github.com/AyeshaAbbas-engg"
],
"textContent": "I'm Ayesha Abbas, a CS student, specializing\nin cybersecurity and cloud security. I use Linux every\nsingle day for my projects and studies. Here are 5 commands\nthat I consider absolutely essential for anyone getting\nstarted in cybersecurity.\n\n 1. netstat | See All Network Connections\n\n\n\nnetstat shows you every active network connection on\nyour system. As a cybersecurity student this is goldmine\ninformation.\n\nnetstat -tulpn\n\nThis shows all open ports and which process is using them.\nIf something suspicious is listening on a port you didn't\nopen, you have a problem.\n\n 1. grep | Find Anything Inside Files\n\n\n\ngrep searches for patterns inside files. You will use\nthis hundreds of times every week.\n\ngrep -r \"password\" /var/log/\n\nThis searches every log file for the word \"password\".\nUseful for log analysis, finding config values, and\nsecurity auditing.\n\n 1. chmod | Control File Permissions\n\n\n\nchmod controls who can read, write, or execute a file.\nWrong permissions = security vulnerability.\n\nchmod 600 private_key.pem\n\nThis makes your SSH key readable only by you. If your\nkey has wrong permissions, SSH will refuse to use it.\n\n 1. nmap | Scan Networks Like a Pro\n\n\n\nnmap is the most famous network scanning tool in\ncybersecurity. It maps open ports and services on\nany target.\n\nnmap -sV 192.168.1.1\n\nThis scans your router and shows every open port and\nwhat service is running on it. Essential for\nunderstanding your network.\n\nNote: Only scan networks you own or have permission\nto scan.\n\n 1. ss | The Modern netstat\n\n\n\nss is faster and more detailed than netstat. It shows\nsocket statistics in real time.\n\nss -tulpn\n\nUse this to quickly see what's running on your machine.\nI use this every morning when I boot up my Ubuntu system.\n\nFinal Thoughts\n\nThese 5 commands are just the beginning. Linux has\nhundreds of powerful tools for cybersecurity. but\nmaster these first and you will already be ahead of\nmost beginners.\n\nI am currently studying networking and Linux full time\nas part of my preparation for international research\nprograms.\n\nFind my projects on GitHub:\nhttps://github.com/AyeshaAbbas-engg\n\nStay secure. Keep learning.\n— Ayesha Abbas",
"title": "5 Linux Commands Every Cybersecurity Student Must Know"
}