Category Archives: Solaris

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 ,

How to Find out Which Service is Running on Specific Port in Linux

Assalamualaikum.. Q: How do I find out which service is listening on a specific port? How do I find out what program is listening on a specific TCP Port? A: netstat -tulpn OR netstat -npl Wassalam..

Posted in Linux, Solaris | Tagged , ,

SCP Example Syntax

Assalamualaikum, Secure copy or SCP is a means of securely transferring computer files between a local host and a remote host or between two remote hosts. It is based on the Secure Shell (SSH) protocol. “SCP” commonly refers to the: … Continue reading

Posted in Linux, Raspberry Pi, Solaris | Tagged , ,

Quit Bash Shell Without Saving Bash History

Bismillahirrahmanirrahim.. Sometimes it is very useful to delete / remove Bash history partially or completely when log out. Here is my favourite methods howto log out / quit / exit Bash shell without saving Bash history. Remove Only Current Session … Continue reading

Posted in Linux, Solaris, Zimbra | Tagged ,

How to Give Root Privileges to a Non Root User in Solaris

Bismillahirrahmanirrahim.. 1. Login as root 2. Changing the UID of the account you wish (example: davina) to have root privileges to zero (0). # vi /etc/passwd davina:x:1004:1:System Admin:/export/home/davina:/bin/ksh to davina:x:0:1:System Admin:/export/home/davina:/bin/ksh done! wassalam..

Posted in Solaris | Tagged

Mount nfs in Solaris

Bismillahirrahmanirrahim.. Having NAS is an advantage to the server that having a limited storage capacity. NAS is very easy to install (mapping) in Windows environment. How about in Solaris? below are the steps how to configure/mount NAS in Solaris (tested … Continue reading

Posted in Solaris | Tagged , , | Leave a comment

Set the Date and Time on Solaris

Bismillahirrahmanirrahim.. Setting the system date and time is fairly easy on solaris. Because you can easily set the time from the command line, you can set the time on a server remotely. date mmddhhmmyy The date command takes the syntax … Continue reading

Posted in Solaris | Tagged , | Leave a comment

How to edit CRONTAB file on Solaris

Bismillahirrahmanirrahim.. I rarely edit crontab files on our Solaris machines but then when I need to add or edit something I always experience the same problem and always searching for an answer 5-10 minutes. This time I will write solution … Continue reading

Posted in Solaris | Tagged , , , | Leave a comment

How to enable X11 Forwarding

Bismillahirrahmanirrahim.. When you failed to remote access to you Solaris box using XStart (XManager) and it show error “The remote host may not have X11 Forwarding (or X11 Tunneling) enabled”. This steps will do the trick. 1. log in your solaris box using ssh … Continue reading

Posted in Solaris | Tagged , , , , , , , | Leave a comment

Crontab – Quick Reference

Assalamualaikum, cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is … Continue reading

Posted in Linux, Solaris, Zimbra | Tagged , | Leave a comment