bash check if a folder is empty or not

To check if a folder is empty of not, you can use

If you want to reverse the checking, you can use !

See bash […]

Read More…

bash: warning: setlocale: LC_ALL: cannot change locale

On an Ubuntu server, when i login, i get following error

To fix this, run

See Errors […]

Read More…

Install libwebp

You can download webp from https://developers.google.com/speed/webp/community To install webp, run

webp install following executable files

[…]

Read More…

Install gifsicle

You can download gifsicle from https://www.lcdf.org/gifsicle/ To install gifsicle, run

Gifsicle binary file will be installed at

[…]

Read More…

Install optipng

You can download optipng from http://optipng.sourceforge.net To install optipng, run

Binary will be installed at

[…]

Read More…

Install jpegoptim

jpegoptim is an open source image optimizer for JPEG image format. https://github.com/tjko/jpegoptim You can download latest version of from https://www.kokkonen.net/tjko/projects.html To install jpegoptim, run

[…]

Read More…

Enable Logging on SFTP

To enable logging in SFTP, edit file

Find

Replace wih

Restart sshd

See sftp […]

Read More…

imunify360 find license details

To check if your imunify360 license is valid, run

Example

To get more details of imunify360 license installed on the server

Example

[…]

Read More…