Today, my classmates presented a PPT on Linux commands. It was very useful, and we learned a lot from the session. Our teaching style was clear and effective.
They covered many important Linux topics, and our teacher also explained them during the session. For me, there were some commands I didn’t know before, so I kept watching closely to understand better. I already knew a few commands, but I learned even more today.
They gave examples and explained topics like:
Files & Directory Management:
• - ls: List files and directories
• - cd: Change directory
• - pwd: Show current directory path
• - mkdir: Create directory
• - rmdir: Remove empty directory
• - touch: Create empty file
• - cp: Copy files/directories
• - mv: Move/rename files
• - rm: Remove files/directories
Viewing & Editing Files:
• - cat: View file content
• - less/more: Paginate file output
• - head: Show first 10 lines
• - tail: Show last 10 lines (tail -f for live logs)
• - nano/vim: Terminal-based text editors
File Permissions:
• - chmod: Change file permissions
• - chown: Change file ownership
• - ls -l: Detailed file info including permissions
Searching Files:
• - find: Locate files (find . -name "file.txt")
• - grep: Search inside files (grep "text" filename)
• - locate: Fast file searching
Process Management:
• - ps: List running processes
• - top/htop: Monitor processes and resources
• - kill: Terminate process by PID
• - killall: Kill processes by name
Networking:
• - ping: Test network connectivity
• - curl: Access URLs/APIs
• - wget: Download files
• - netstat: Network connections info
• - ssh: Remote server access
Disk & Space Management:
• - df -h: Show disk usage
• - du -sh: Show directory size
Package Management(Ubuntu/Debian):
• - apt update: Update package lists
• - apt upgrade: Upgrade packages
• - apt install: Install new packages
• - apt remove: Remove packages
• - tar -czf: Compress files to .tar.gz
• - tar -xzf: Extract .tar.gz files
• - zip/unzip: Handle .zip files
Version Control (Git Basics):
• - git init: Initialize repo
• - git clone: Clone repository
• - git add: Stage changes
• - git commit: Commit changes
• - git push/pull: Push/Pull code
• - git status: Repo status
• - git log: Commit history
Miscellaneous Useful Commands:
• - echo: Print text
• - history: Show previous commands
• - clear: Clear terminal
• - alias: Set command shortcuts
It was a very informative presentation, and it helped deepen my understanding of Linux commands.
Top comments (0)