SunOS is the core operating system
comprising the kernel, utilities and basic libraries. Solaris
is the broader environment comprising SunOS, OpenWindows and networking
support. In other words, SunOS is a component of Solaris.
SunOS and Solaris relate to each
other as follows:
For example, when one does a 'uname
-a' this reports that the server has SunOS 5.6 installed which means
that it actually got Solaris 2.6 installed. .
Use
the isalist command to determine whether the machine is running
the
32-bit or 64-bit operating system. If you are running the 64-bit
operating
system on an UltraSPARC machine, then isalist
will
list sparcv9 first
To
boot a 32-bit kernel, at the ok prompt type:
ok
boot [disk or net] kernel/unix
To
boot a 64-bit kernel (default), at the ok prompt type:
ok
boot [disk or net] kernel/sparcv9/unix
ok
boot [disk or net]
at -s now < thejob.sh
ps -efa
psrinfo -v
uname -a
sysdef
or
prtconf
prtvtoc /dev/dsk/c0t0d0s0
df -k disk space
in kilobytes
du -sk disk space
summary in kilobytes
1. drvconfig
2. disks
rm -r *
from directory
/var
mkdir /var1
cd /var
tar cf - . | (cd
/var1 && tar xBf -)
dircmp -s /var
/var1
chomod u+x filename
gives execute permission to the owner.
find . -name "dbmslogmnr.sql" -print
date mmddHHMM[[cc]yy]
example "date
022610221998"
rdate pluto
find . -size +10000c
This example say find all the file > 10000
bytes.
find . -exec grep
-ls pkzip {} \;