Solaris Admin Quick Reference Page 3

ADVERTISEMENT

patchadd [options] patch
apply patch to system.
ufsdump 0uf /dev/rmt/0 /
backup of all files.
ufsrestore xf /dev/rmt/0 etc/inetd.conf
restore inetd.conf file from backup
install_cluster –q -nosave
install recommended patch cluster.
ndd
set TCP/IP parameters
eeprom
change settings in eeprom, like
eeprom security-mode=full
Shell Programming
if-then-else
foreach
do-while
sh, bash, ksh
sh, bash, ksh
sh, bash, ksh
if condition; then
for key in list… ; do
while condition; do
action_1; else
actions; done
actions; done
action_2; fi
csh, tcsh
csh, tcsh
csh, tcsh
foreach key (list)
while (condition)
if (condition) then
actions
actions
action_1;
end
end
else
action_2;
Rename files
endif
foreach i (*)
mv $i $i.old
end

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 3