Category Archives: Solaris

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