본문 바로가기

Work/Solaris

solaris echo 사용.1

# echo "## echo test IP Address ##" >> /etc/hosts

# echo "xxx.xxx.xxx.xxx    `hostname`_hme0_t" >> /etc/hosts

# echo "xxx.xxx.xxx.xxx    `hostname`_hme2_t" >> /etc/hosts

# echo "`hostname`_hme0_t group `hostname`-ipmp deprecated \-failover netmask 255.255.255.0 broadcast + up" \ >> /etc/hostname.hme0

# echo "addif `hostname`_hme2_t group `hostname`-ipmp deprecated \-failover standby netmask 255.255.255.0 broadcast | up" \ >> /etc/hostname.hme2




# cat /etc/hosts > ./1

[hostname]cat 1

#

# Internet host table

#

::1     localhost

127.0.0.1       localhost

192.168.100.211 node1   node1.  loghost



'Work > Solaris' 카테고리의 다른 글

Disable lso Packet  (0) 2015.05.27
solaris system parameter 설정  (0) 2015.05.27
solaris 10 SVM 관련  (0) 2015.05.27
solaris iostat  (0) 2015.05.27
solaris < ps -ef >  (0) 2015.05.27