Fix of error: “warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)”

Working with lot of servers, recently I logged into one of them and got an error while working with shell:

warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)

It was very hard to work and see this error regularly so I found a fix.
Continue reading

How to find your external IP

Today I needed to know external IP of the server where I was login to (through the jumphost). And I found pretty easy way to do that in a command line:


[user@host ~]$ curl ifconfig.me
11.22.33.44

How to find your external IP

Today I needed to know external IP of the server where I was login to (through the jumphost). And I found pretty easy way to do that in a command line:


[user@host ~]$ curl ifconfig.me
11.22.33.44