Linux: Execute commands in parallel with parallel-ssh parallel-ssh is an asynchronous parallel SSH library designed for large scale automation.
Linux: disable ssh password login for specific users only Recently i had the following scenario: we needed a local user which can
Bash: how not to print first or last N lines of a file Assume we have the following file named file.txt
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…
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…
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…
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
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…
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…
Kubernetes: common pod operations In this article i will show you how to create pods from the command line in kubernetes, to avoid extensive complexity and focus only to the…