BillTech
MATTHEW 6:33
02/02/2025
Basic Linux Commands
10/01/2025
Dear AI . . .
Remember that AI isn’t a true creative, you are! 🫡
AI is a tool, not a replacement for human creativity and problem-solving. It can assist you, but it can’t replace the skills you’ll develop as a programmer.
Think of AI as a resource—like a search engine rather than something that competes with your ability to learn.
Think of it as StackOverflow in steroids haha.
Use AI to accelerate your learning.
For example, ask for explanations of concepts you’re stuck on or seek examples of code snippets.
LINUX BASIC COMMANDS đź’Ż
File and Directory Management
1. **ls:** List files and directories.
2. **cd:** Change directory.
3. **pwd:** Display the current directory.
4. **mkdir:** Create a new directory.
5. **rm:** Remove files or directories.
6. **cp:** Copy files or directories.
7. **mv:** Move or rename files.
8. **touch:** Create an empty file.
9. **tree:** Display directory structure.
File Viewing and Editing
10. **cat:** Display file content.
11. **less / more:** View files page by page.
12. **head:** Show the first 10 lines.
13. **tail:** Show the last 10 lines.
14. **nano:** A simple text editor.
15. **vi / vim:** An advanced text editor.
Search Operations
16. **find:** Locate files and directories.
17. **grep:** Search within files.
18. **locate:** Quickly find files using a database.
19. **which:** Locate a command’s path.
Disk and File System Management:
20. **df:** Display disk space usage.
21. **du:** Show directory or file size.
22. **mount / umount:** Mount or unmount file systems.
23. **lsblk:** List all block devices.
24. **fsck:** Check and repair file systems.
Process and System Monitoring
25. **ps:** Display running processes.
26. **top:** Monitor system processes.
27. **htop:** Interactive process manager.
28. **kill:** Terminate a process.
29. **uptime:** Show system uptime.
30. **free:** Check memory usage.
**Networking Commands:**
31. **ping:** Check connectivity.
32. **curl:** Transfer data to/from servers.
33. **wget:** Download files from the internet.
34. **ifconfig / ip:** View or configure network interfaces.
35. **netstat:** Show network statistics.
36. **ssh:** Remote access to servers.
**37. SCP: Securely Copy Files Between Systems**
**Permissions and Ownership:**
38. chmod: Modify file permissions
39. chown: Change file owner/group
40. umask: Set default permissions
**Archiving and Compression:**
41. tar: Archive and compress files
42. gzip/gunzip: Compress and decompress files
43. zip/unzip: Handle zip files
**System Information:**
44. uname -a: Show system information
45. hostname: Display system hostname
46. whoami: Current user
47. id: Show user and group IDs
48. dmesg: Kernel log messages
49. lscpu: CPU architecture information
50. lsusb: List USB devices
51. lspci: Show PCI devices
Click here to claim your Sponsored Listing.
Category
Website
Address
Manila