}

Articles tagged "shell"

8 min readIntermediate

awk, sed, and grep for Linux Sysadmins: Practical Guide with Real Examples (2026)

Master awk, sed, and grep for Linux sysadmin work in 2026. Parse nginx logs, edit configs in-place, filter processes, and build log analysis pipelines. Every example is real-world.

1 min readBeginner

Bash: How to Check if a directory exists?

If you need to check if directory exists use: if [ -d "$DIR" ];. Check here for details when you have symbolic links.

1 min readBeginner

How can I concatenate strings in Bash?

Check here some string concatenation examples using bash. Lean how to program bash and manipulate strings, in this case using concatenation. We propose different approaches to solve the problem with bash.

2 min readBeginner

How to Call an external command with Python?

We show how to use python to call an external program or command. We show examples with python 2 and 3