Feeling generous? Fund my lavish lifestyle 💅.

🔑 4A72 3993 EA02 5855 E799 A0C1 CF39 A7C1 D2E1 C8EC / RSS

A Blog by Expatriotic

Terminal

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"

#linux #terminal #tips