A Blog by Expatriotic

Terminal Tips

Learn to use a terminal as a sys admin (system administrator). For every command, I will first show its abstract syntax, then provide a real-world example and explain why and when you would use it.

System Information

File Management

Viewing & Searching Files

User & Group Management

Package Management (Software)

System Monitoring

Networking

Service Management (systemd)

Your server applications (like bitcoind) run as services. systemd is the tool you use to control them.

The Pipe

The pipe (|) is a fundamental concept. It takes the output of the command on its left and "pipes" it directly as the input for the command on its right. This lets you chain simple tools together to perform complex tasks.

Real-world Example:

ls -la /etc | less

Another Example:

journalctl -u sshd | grep "Failed password"

#guides #linux #node