Pages

Friday, January 24, 2014

SMF (Service Management Facility) In Solaris

Managing Services is different in Solaris when compared with linux systems. The SMF - Service management facility a new system included in the Solaris which performs the task of managing services in solaris. Linux usually stores start and stop files in /etc/rc*.d location which will do the start and stop of the services. These same location are available as files in Solaris or may be an empty locations. In order to learn...
Read More

Wednesday, January 22, 2014

Solaris Directory Structure

The Solaris directory structure is similar like linux but with a little changes There are couple of directories which are not available in linux  /kernel -Contains kernel components common to all platforms within a particular instruction set that are needed for booting the system. /platform...
Read More

Friday, January 17, 2014

One liners for Every Day Usage

sed -i '/^$/d' filename : Remove Duplicate Lines. sed -i '/hello/d' filename: Remove the Line that has hello and modify the file. cat filename | tr "," "\n" : Arrange comma (,) separated Strings one by one  cat filename | tr -s '\n' : Remove the Blank Lines. find . -type f -newermt '2010-01-01' : Compare to Date. find . -type f -newermt '2010-01-01' ! -newermt '2010-06-01’: Between Dates. awk -F':'...
Read More