| Kategory | Kommand | Miniscription | |
|---|---|---|---|
| aws-cli | aws s3 ls s3://<bucket> | List S3 bucket contents |
▲ 0
Display
|
| ssh | ssh -i ~/.ssh/key.pem ubuntu@<host> | SSH into EC2 with PEM key |
▲ 0
Display
|
| ssh | ssh-keygen -t ED25519 -C "<comment>" -f <keyname> | Generate ED25519 SSH key pair |
▲ 0
Display
|
| linux | du -hsx */ 2>/dev/null | Show subdirectory sizes |
▲ 0
Display
|
| linux | df -h | Show disk usage human readable |
▲ 0
Display
|
| linux | ps aux | grep <process> | Find running process by name |
▲ 0
Display
|
| linux | lsof -i :<port> | Find process using a port |
▲ 0
Display
|
| linux | kill -9 <pid> | Force kill process by PID |
▲ 0
Display
|
| linux | find . -name "<pattern>" -exec rm {} + | Find and delete matching files |
▲ 0
Display
|
| linux | rsync -r <source>/ <destination>/ | Recursively sync two directories |
▲ 0
Display
|
| linux | watch -n1 <command> | Repeat command every second |
▲ 0
Display
|
| linux | python3 -m http.server 8000 | Serve current directory over HTTP |
▲ 0
Display
|
| networking | host <domain> | Look up DNS records for domain |
▲ 0
Display
|
| networking | dig @8.8.8.8 A <domain> | Query Google DNS for A record |
▲ 0
Display
|
| networking | dig TXT <domain> | Check TXT records for domain |
▲ 0
Display
|
| networking | nc -tz <host> <port> | Test TCP connectivity to host |
▲ 0
Display
|
| networking | curl -sI <url> | Get HTTP response headers only |
▲ 0
Display
|
| networking | ngrok http 3000 | Expose local port 3000 publicly |
▲ 0
Display
|
| networking | ngrok config add-authtoken <token> | Configure ngrok authentication token |
▲ 0
Display
|
| github-cli | gh secret set <SECRET_NAME> | Set a GitHub Actions secret |
▲ 0
Display
|
| github-cli | cat <file> | gh secret set <SECRET_NAME> | Pipe file content as GitHub secret |
▲ 0
Display
|
| github-cli | gh repo list | List your GitHub repositories |
▲ 0
Display
|
| docker | docker ps | List running containers |
▲ 0
Display
|
| python | conda create --prefix ./env python=3.11 | Create conda env in local directory |
▲ 0
Display
|
| python | conda activate ./env | Activate local conda environment |
▲ 0
Display
|