Author Archives: admin

How to Identify the File System Type in Linux/Solaris

Salam.. There are few methods how to determine your linux file system. Below are commands that I usually use. Linux $ df -Th $ df -Th | grep “^/dev” $ fsck -N /dev/sd* $ lsblk -f $ mount | grep … Continue reading

Posted in freeBSD, Linux, Solaris, UNIX | Tagged ,

Happy New Year 2018!

.. Last login: Tue Jan 2 12:11:49 2018 from 104.223.123.98 [hanief@master ~]$ mv 2017 /archive [hanief@master ~]$ sudo mkdir 2018 [hanief@master ~]$ cd 2018 [hanief@master ~]$ vi goals.sh [hanief@master ~]$ chmod +x goals.sh [hanief@master ~]$ nohup ./goals.sh & [hanief@master ~]$ … Continue reading

Posted in Linux, UNIX | Tagged ,

CentOS-7 “Minimal Desktop” installation (GNOME)

Assalamualaikum.. For some reasons you need to install GUI on your CentOS server. In my case, I having a bad time to install Oracle Database 12c in my CentOS using CLI. I don’t have plenty of times struggling with CLI … Continue reading

Posted in Install, Linux, UNIX | Tagged , , , , , , , ,

Enable Snipping Tools in Win Server 2012 R2

Salam.. Snipping Tool is not enabled by default in Wndows Server 2012 R2. To install Snipping Tool, just follow the next instructions: Go to Server Manager Click Manage in the upper right corner. Click Add Roles and Features. Click Next … Continue reading

Posted in Windows | Tagged , , , , , , , , ,

How to Setup network on RHEL/CentOS 7 (Minimal)

Assalamualaikum… Issue: Not able to connect to network/internet. Caused by: Ethernet interfaces are not enabled by default. Step 1: First, type “nmcli d” command in your terminal for quick list ethernet card installed on your machine: Step 2: Type “nmtui” … Continue reading

Posted in Linux, UNIX | Tagged , ,

-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

Assalamualaikum, This warning/error ever happened to you? Whenever you try to ssh to your server or try to update your spamassassin (sa-update) you will get this error. Last login: Mon Nov 6 11:17:54 2017 from 192.168.88.14 -bash: warning: setlocale: LC_CTYPE: … Continue reading

Posted in Uncategorized

Create a Bash Alias in OSX/MacOS

Assalamualaikum, When I bought my Mac, the .bash_login file wasn’t there. I need to create it for myself so that I could put prompt info, alias, functions, etc. in it. Here are the steps if you would like to create … Continue reading

Posted in Mac, MacOS, OSX, UNIX | Tagged , , ,