Solaris Zones

fs:
dir: /oradata2
special: /dev/dsk/c0t60080E500017D87000000A714FB8CF1Cd0s0
raw: /dev/rdsk/c0t60080E500017D87000000A714FB8CF1Cd0s0
type: ufs
options: [ro]
fs:
dir: /oraarc2
special: /dev/dsk/c0t60080E500017D87000000A754FB8D0CEd0s0
raw: /dev/rdsk/c0t60080E500017D87000000A754FB8D0CEd0s0
type: ufs
options: [ro]

wget

wget -brxc -nc -nv -nH -o download.log -l 0 ‘ftp://link’

-b:    background
-o:     output log messages
-r:     recursive download
-x:     create folders
-c:     continue any partially downloaded files
-nc:     “no clobber” – skip files that already exist
-nv:    non-verbose, but not as quiet as ‘-q’
-nH:    Don’t prefix the downloaded folder structure with the host name
-l:    recursion level, 0=infinity

Linux

Mount Linux CIFS share

Mount CIFS with the default local filesystem permissions:
# mkdir /mnt/cifs
# mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft

OR

# mount.cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft

Ubuntu command package managers

command line: “aptitude”
GUI: “synaptic”

routes

route add default gw 10.0.0.1

Auto Start Service on Boot

[root@phpcserver ~]# who -r
run-level 5  2012-07-17 11:47                   last=S
[root@phpcserver ~]# chkconfig –level 5 ntpd on
[root@phpcserver ~]# chkconfig –list ntpd
ntpd               0:off    1:off    2:off    3:off    4:off    5:on    6:off
[root@phpcserver ~]#