Practical Linux Bash tasks for new users

This wiki gives you reusable scripts for common Linux jobs: networking, hostname changes, permissions, users, password resets, services, logs, backups, updates, and basic security checks.

Safety first

  • Read each script before running it.
  • Use non-production systems first when possible.
  • Only run commands with sudo when you understand why root permissions are needed.
  • Back up important files before making system-level changes.

Quick deploy pattern

  1. Open a script in the library and click Copy Script or Download.
  2. Save it as a file, for example my-script.sh.
  3. Give execute permission: chmod +x my-script.sh.
  4. Run it: ./my-script.sh (or sudo ./my-script.sh only if needed).

If you are unsure, open Guide & Glossary for beginner explanations and troubleshooting.

Script Library

Loading scripts…

Need beginner help?

Open the guide for command meanings, safety habits, and solutions for common errors like permission denied, missing commands, or service failures.

Open Guide & Glossary