Default CentOS repositories contain only most popular packages and doesn’t offer useful packages that are available in other Linux distributions. EPEL repository is an Extra Packages for Enterprise Linux. It provides rebuild of Enterprise Linux packages of Fedora for EL6 and EL7. Generally using that repository is safe and significantly improves system functionality. How to install it? Continue Reading
DU command doesn’t take into account hidden files and directories. For example if you want check disk usage of all files and directories in current directory you can use the following command:
$ du -sm *
Unfortunately this command doesn’t show hidden files and directories. Continue Reading
Suppose we have text with vowels. Vowels are special characters used in some languages to mark a special sound. Example with Polish characters:
$ echo "ąćęłńóśź" ąćęłńóśź
Varnish is extremely fast and configurable reverse proxy server so it’s very popular. This examples shows how common task can be done using varnishadm command.
How to flush whole varnish’s cache?
# varnishadm ban "req.url ~ ."