SunOS
From Leo's Notes
Last edited on 12 September 2019, at 02:30.
Old Notes
These are some old notes from my old WordPress blog.
- Where are programs like make, gcc, python, etc?
- They are all under
/usr/ccs/bin
and /usr/sfw/bin}}. - Utilities like
whoami
are under/usr/ucb
- You should set them in your
$PATH
.
- Setting up the default gateway
- Run
route add default x.x.x.x
and also add the IP to the/etc/defaultrouter
file such that it will survive a reboot - This is analogous to
route add default gw x.x.x.x
under linux.
- Extracting a .tar.gz archive
- Run
gzip -dc File.tar.gz
to extract File.tar.gz - This is analogous to
tar -xzf File.tar.gz
under linux.