Easy Bash PS1 Generator http://ezprompt.net/ export PS1="\[\e[31m\]\u\[\e[m\]\[\e[37m\]@\[\e[m\]\[\e[33m\]\h\[\e[m\]:\[\033[01;36m\]\W\[\e[m\]$ "
hiredis 설치 [hiredis] # wget https://github.com/redis/hiredis/archive/v0.13.3.tar.gz # tar xzf v0.13.3.tar.gz # cd hiredis-0.13.3 # make # make install # cp hiredis.h /usr/include/hiredis # echo '/usr/local/lib' >>/etc/ld.so.conf # ldconfig # ldconfig -v | grep hiredis libhiredis.so.0.13 -> libhiredis.so.0.13 GITHUB https://github.com/redis/hiredis
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory ssh -i ~/aws-key.pem [email protected] login: Fri Sep 28 17:17:51 2018 from 10.10.20.84-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory # vi /etc/environmentLANG=en_US.utf-8LC_ALL=en_US.utf-8
IP geolocation from command line on OSXInternet contains zillion of sites bloated with banners, which basically give you the same data: given the IP address, provide some info on where this IP is coming from. Same basic information can be accessed from command line, here is how you configure it, assuming your OSX machine has brew/port, and can compile C source code. This will install geoiplookup..