This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hexdump -C $file_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -a ~/ | grep "^\..*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/sbin/pkgadd -d http://get.opencsw.org/now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/csw/bin/pkgutil -i sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dev/dsk/c1t0d0s0 / ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=7c0000 1398979846 | |
/devices /devices devfs dev=4780000 1398979837 | |
ctfs /system/contract ctfs dev=47c0001 1398979837 | |
proc /proc proc dev=4800000 1398979837 | |
mnttab /etc/mnttab mntfs dev=4840001 1398979837 | |
swap /etc/svc/volatile tmpfs xattr,dev=4880001 1398979837 | |
objfs /system/object objfs dev=48c0001 1398979837 | |
sharefs /etc/dfs/sharetab sharefs dev=4900001 1398979837 | |
/dev/dsk/c1t0d0s5 /usr ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=7c0005 1398979846 | |
/usr/lib/libc/libc_hwcap2.so.1 /lib/libc.so.1 lofs dev=7c0005 1398979846 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#device device mount FS fsck mount mount | |
#to mount to fsck point type pass at boot options | |
# | |
fd - /dev/fd fd - no - | |
/proc - /proc proc - no - | |
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no - | |
/dev/dsk/c1t0d0s5 /dev/rdsk/c1t0d0s5 /usr ufs 1 no - | |
/dev/dsk/c1t0d0s1 /dev/rdsk/c1t0d0s1 /var ufs 1 no - | |
/dev/dsk/c1t0d0s6 /dev/rdsk/c1t0d0s6 /export/home ufs 2 yes - | |
/dev/dsk/c1t0d0s4 /dev/rdsk/c1t0d0s4 /opt ufs 2 yes - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /opt/csw/bin/pkgutil -y -i diffutils | |
/opt/csw/bin/gdiff --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps -ef|grep snoop|grep -v grep |awk '{print $2}'|xargs sudo kill 2>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a 5MB file in Linux | |
fallocate -l 5M /tmp/5MegLin | |
# Create a 5MB file in Solaris | |
mkfile 5M /tmp/5MegSol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Solaris | |
sudo snoop -t a host my.host.com | |
# Linux | |
sudo tcpdump -s0 -S -i eth0 my.host.com |