Flashcards · Linux Commands · Free
Linux Commands flashcards, generated for you.
Example Linux Commands study cards to learn from right now — then generate a full set from your own notes (plus a practice quiz) and export to Quizlet or Anki. Free, no account needed.
Example Linux Commands flashcards
How do you check the status of a service in systemd?
systemctl status <service-name> — shows if service is running, enabled, and recent logs
What command starts a service and enables it to start on boot?
systemctl start <service> && systemctl enable <service> — or use 'systemctl enable --now <service>'
How do you view real-time service logs?
journalctl -u <service-name> -f — follows logs for specified service; omit -f to view history
What's the difference between 'systemctl restart' and 'systemctl reload'?
restart stops and starts the service (drops connections); reload reloads config without restarting (if supported)
How do you find which process is listening on port 8080?
lsof -i :8080 or ss -tlnp | grep 8080 — shows PID and service using that port
What command lists all running services and their status?
systemctl list-units --type=service --state=running — shows all active services
How do you check if a service is enabled to start on boot?
systemctl is-enabled <service-name> — returns 'enabled' or 'disabled'
What's the best way to tail multiple log files simultaneously?
tail -f /var/log/syslog /var/log/auth.log — or use 'less +F' for interactive following
How do you find the PID of a running service by name?
systemctl show -p MainPID <service-name> or pgrep -f <process-name>
What command gracefully stops a service and prevents auto-restart?
systemctl stop <service> && systemctl disable <service> — stops and removes boot-time startup
Make your own Linux Commands study set
Flashcards for related topics
Studying Linux Commands to build with AI? MindloomHQ turns it into real skills — structured courses, agent projects, and certificates.
Explore MindloomHQ →