Category Archives: UNIX

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 [hanief@master ~]$ mv 2017 /archive [hanief@master ~]$ sudo mkdir 2018 [hanief@master ~]$ cd 2018 [hanief@master ~]$ vi [hanief@master ~]$ chmod +x [hanief@master ~]$ nohup ./ & [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 , , , , , , , ,

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 , ,

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 , , ,

How to Browsing the Web Using SSH Tunnel

Assalamualaikum, Sometimes you need to configure something on your client office (router/firewall), but the only way to do that was to be on the their internal network and browse to it using a browser. Trying text based browsers didn’t work, … Continue reading

Posted in Browser, Linux, UNIX | Tagged , ,

How to Enable su Access in FreeBSD

Assalamualaikum, How can a “normal” user get root rights, or actually switch to root account using the su command when working under FreeBSD? To do that, that “normal” user needs to be in wheel group. So this command will enable … Continue reading

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