Mount ISO file under Ubuntu Linux

Today I had the challenge, that I wanted to copy a DVD and  play it with the VLC media player (http://www.videolan.org/vlc/index.html). Therefore I had to learn how to mount iso file(s) under Linux. In my case it was Ubuntu 16.04.1. (see also my article about how to get your Linux distribution and version). How to […]

No space left on device under Ubuntu Linux

Today I had problems (“No space left on device” errors) during a system upgrade of Ubuntu Linux. There where error messages telling me the boot Partition is full: update-initramfs: Generating /boot/initrd.img-4.4.0-47-generic gzip: stdout: No space left on device That’s why I had to find out, whats in this boot folder. $> ls -al /boot -rw-r–r– […]

Search query: list files containing a certain term

To get a list of files that contain a certain term for the current directory you can use this command to find the search query: $> grep -lr SEARCHTERM This shell command searches the current directory recursively (-r) and lists (-l) all files containing the search query SEARCHTERM. SEARCHTERM can also be a regular expression. Example result: […]

PHP version paths under Plesk ODIN

The different PHP versions unter Plesk ODIN are situated in /opt/plesk/php/. So the PHP paths are for example:  /opt/plesk/php/5.2/bin/php /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.5/bin/php /opt/plesk/php/5.6/bin/php /opt/plesk/php/7.0/bin/php Which PHP versions are available depends on the versions installed. You can see your installed versions under https://yourdomain.com:8443/admin/php-handler/list/ in the Plesk backend.

Plesk – move aliases to different domain

If you have read my article Plesk – get information about aliases you already know how to determine the aliases in the system. To get a list of configured domains, you can use the following query after connecting to the Plesk database via key: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa mysql> select * from domains; This will give […]

Formatted CSV output on Linux shell

If you want to output a CSV file on Linux shell, you could just open it with less, cat or nano (un-formatted CSV output): $> less mydummyfile.csv $> cat mydummyfile.csv $> nano mydummyfile.csv The problem with this approach is, that you will get an unformatted ugly chunk of characters like that: A much better way is it, […]