$ ls -lh ./posts
// also on this box: ./practice, ./tools and ./games
Linux: Execute commands in parallel with parallel-ssh
parallel-ssh is an asynchronous parallel SSH library designed for large scale automation.
cat linux-execute-commands-in-parallel-with-parallel-ssh.md →Linux: disable ssh password login for specific users only
Recently i had the following scenario: we needed a local user which can
cat linux-disable-ssh-password-login-for-specific-users-only.md →Bash: how not to print first or last N lines of a file
Assume we have the following file named file.txt
cat bash-how-not-to-print-first-or-last-n-lines-of-a-file.md →Linux: How to kill a process using its listening port or used files!
To kill a Linux process you need to know either its PID or the process name, but there is also another way not so well known but still very…
cat linux-how-to-kill-a-process-using-its-listening-port-or-used-files.md →How to configure a MongoDB
MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents…
cat how-to-configure-a-mongodb.md →Linux: How to configure logrotate: A mongodb example
Log files can quickly become very large and take up a lot of disk space. This can cause performance issues and can even lead to system…
cat linux-how-to-configure-logrotate-a-mongodb-example.md →How to avoid multiple sudo commands in one-liners
We all love one-liners but soon one-liner like this will destroy the coolness of using oneliners
cat how-to-avoid-multiple-sudo-commands-in-one-liners.md →Linux: text parsing tools and techniques
Knowing how to parse text files in Linux is essential in order to troubleshoot and analyze log files, in this example i will show you…
cat linux-text-parsing-tools-and-techniques.md →Linux: find used ports quickly
If you work with Linux most likely you had to troubleshoot why and application is not starting, one reason would be that the port must bind…
cat linux-find-used-ports-quickly.md →