The substitution option is one of the most useful options of a sed command. In particular, it allows to search a text file for lines that contain particular string (SEARCH_STRING), word or match some regular expression and replace all occurrences of such lines with some REPLACEMENT_LINE. To replace the whole line using sed, it is […]
Tor Browser is widely used for anonymous web-surfing and protection against traffic analysis. It is also can help to bypass Internet filters and access blocked websites. This is a simple step by step guide that covers the installation process of the Tor Browser on such Linux systems as Ubuntu, Kali Linux, Debian, Linux Mint, Fedora […]
Linux stores users’ encrypted passwords, as well as other security information, such as account or password expiration values, in the /etc/shadow file. Someday you may need to edit the /etc/shadow file manually to set or change ones password.
If you try to upgrade salt-minions from the salt-master, in most cases salt-master would probably lose access to the minions. If the access is lost, you would have to log in to each host and restart the salt-minion service manually to make it communicate back with the salt-master. This problem is caused by the salt-minion […]
In salt, there is a useful file.managed state that can download files over HTTP/HTTPS and save them on the target system. Unfortunately for the moment it is not possible to download a file using salt in an normal way without knowing the file’s hash. If you try to download a file using salt state without […]
Sometimes it is required to merge several PDF files into a one PDF file. In Linux we can easily join multiple PDF files using the command line utility called convert that is a part of ImageMagick software suite. From this article you will learn how to merge entire PDF files into one PDF file or […]
The mod_wsgi is an Apache module that provides a WSGI compliant interface and serves for hosting Python based web applications under Apache (for example Django). To find out which version of mod_wsgi is installed or compiled, it is required to create a simple WSGI application. From the following article you will learn how to create […]
The mod_wsgi serves for hosting Python based web applications under Apache. This short article describes how to create a basic WSGI application and run it on Apache using mod_wsgi. Below you would find how to create a virtual host in Apache and publish a simple WSGI application that just prints “Hello World!”.
Apache has a lot of modules (or “mods”) that extend its core functionality for special purposes. How to list installed Apache modules – is a common question as it is very often required to check which Apache modules are loaded/enabled. List of installed Apache modules can be found using special option for httpd/apachectl (CentOS, RHEL […]
Telnet is a tool for connecting to servers on a given port for troubleshooting connection issues. One of the most common tasks that you can do via telnet – is connect to some web server and verify its health by checking the response code in HTTP header. Or you can get the content of a […]