Search
Lessons (8)
- Users, Permissions & sudo
Read rwx permissions, fix 'Permission denied' with chmod and chown, use groups and sudo correctly, and run your …
- Deploy a Node.js App to a VPS, Step by Step
… Add swap ( sudo fallocate -l 2G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile ), or …
- CI/CD with GitHub Actions
… Set up SSH run: mkdir -p ~/.ssh echo "${{ secrets.SSH PRIVATE KEY }}" ~/.ssh/id ed25519 chmod 600 ~/.ssh …
- SSH, Networking & Firewalls
… SSH refuses to use keys that others can read. bash chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized keys …
- Linux Troubleshooting Playbook & Interview Questions
… What does chmod 755 mean?</strong </summary Each file has an owner, a group, and read/write/execute …
- Bash Scripting & Scheduled Jobs
… if none was given echo "Hello, ${name}!" bash chmod +x hello.sh ./hello.sh Hello, world! ./hello.sh …
- Processes, Services & systemd
… KEY=value lines (secrets) from a file with chmod 600 ExecStart The command to run. Use full paths …
- Docker in Production on a Single Server
… Do ❌ Don't --- --- .env file on the server ( chmod 600 ), referenced with env file: ENV DB PASSWORD=… in …