Advanced Linux code.

| Jul 23, 2024 min read

Introduction Linux

  1. sort: Sorts the lines of a file.
  2. export: Sets environment variables.
  3. zip: Compresses files into a zip archive.
  4. unzip: Extracts files from a zip archive.
  5. ssh: Connects to a remote server using the Secure Shell protocol.
  6. service: Controls system services (start, stop, restart).
  7. ps: Displays active processes.
  8. kill and killall: Terminates active processes by process ID or name.
  9. df: Displays information about disk space usage.
  10. mount: Mounts file systems.
  11. chmod: Changes file permissions.
  12. chown: Changes file ownership.
  13. ifconfig: Displays network interface configuration.
  14. traceroute: Traces the network route to a destination.
  15. wget: Downloads files from the internet.
  16. ufw: Configures the Uncomplicated Firewall.
  17. iptables: Manages the Linux firewall rules.
  18. apt, pacman, yum, rpm: Package managers for managing software packages.
  19. sudo: Executes a command with elevated privileges.
  20. cal: Displays a calendar.
  21. alias: Creates custom shortcuts for commands.
  22. dd: Copies and converts files.
  23. whereis: Locates the binary, source, and manual pages for a command.
  24. whatis: Displays a brief description of a command.
  25. top: Displays live system resource usage and active processes.
  26. useradd and usermod: Adds or modifies user accounts.
  27. passwd: Sets or changes user passwords.