Script started on Sat Jun 06 17:17:10 2015 sh-2.03# cat e /etc/fsta             locate fstab sh: locate: command not found sh-2.03# find / -nma  ame - fasta    sa tab ^C sh-2.03# sf -h\ >  sh-2.03# sf -h\  h sh: sf: command not found sh-2.03# sf -h     df -h df: unknown option: h Usage: df [-F FSType] [-abegklntVv] [-o FSType-specific_options] [directory | block_device | resource] sh-2.03# df -h k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 1637982 385998 1202845 25% / /dev/dsk/c0t0d0s3 1795734 1338068 403794 77% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd mnttab 0 0 0 0% /etc/mnttab /dev/dsk/c0t0d0s5 1795734 902762 839100 52% /var swap 907328 16 907312 1% /var/run /dev/dsk/c0t1d0s2 19607808 10394553 9017177 54% /ecas /dev/dsk/c0t0d0s4 1795734 1182918 558944 68% /opt /dev/dsk/c0t0d0s7 1081062 96705 930304 10% /tmp sh-2.03# cd /eca   etc/ sh-2.03# ls -ltrh ls: illegal option -- h usage: ls -1RaAdCxmnlogrtucpFbqisfL [files] sh-2.03# ls -ltrh  total 578 -rw-r--r-- 1 root sys 2303 Jan 6 2000 ttydefs -r--r--r-- 1 root sys 435 Jan 6 2000 datemsk -rw-r--r-- 1 root sys 496 Jan 6 2000 rpld.conf -r--r--r-- 1 root bin 10922 Mar 16 2000 magic -rw-r--r-- 1 root sys 1081 Jul 10 2000 inittab -r--r--r-- 1 root sys 184 Sep 1 2000 release -rw-r--r-- 1 root sys 1697 Dec 22 2001 nsswitch.nisplus -rw-r--r-- 1 root sys 1412 Dec 22 2001 nsswitch.nis -rw-r--r-- 1 root sys 1506 Dec 22 2001 nsswitch.ldap -rw-r--r-- 1 root sys 780 Dec 22 2001 nsswitch.files -rw-r--r-- 1 root sys 1298 Dec 22 2001 nsswitch.dns lrwxrwxrwx 1 root root 16 Jan 9 2002 wtmpx -> ../var/adm/wtmpx lrwxrwxrwx 1 root root 17 Jan 9 2002 whodo -> ../usr/sbin/whodo lrwxrwxrwx 1 root root 16 Jan 9 2002 wall -> ../usr/sbin/wall lrwxrwxrwx 1 root root 19 Jan 9 2002 volcopy -> ../usr/sbin/volcopy lrwxrwxrwx 1 root root 16 Jan 9 2002 utmpx -> ../var/adm/utmpx lrwxrwxrwx 1 root root 17 Jan 9 2002 umountall -> ../sbin/umountall lrwxrwxrwx 1 root root 18 Jan 9 2002 umount -> ../usr/sbin/umount lrwxrwxrwx 1 root root 14 Jan 9 2002 uadmin -> ../sbin/uadmin drwxr-xr-x 2 root sys 512 Jan 9 2002 tm lrwxrwxrwx 1 root root 12 Jan 9 2002 telinit -> ../sbin/init lrwxrwxrwx 1 root root 15 Jan 9 2002 tar -> ../usr/sbin/tar lrwxrwxrwx 1 root root 18 Jan 9 2002 sysdef -> ../usr/sbin/sysdef lrwxrwxrwx 1 root root 15 Jan 9 2002 swapadd -> ../sbin/swapadd lrwxrwxrwx 1 root root 16 Jan 9 2002 swap -> ../usr/sbin/swap lrwxrwxrwx 1 root root 15 Jan 9 2002 sulogin -> ../sbin/sulogin lrwxrwxrwx 1 root root 16 Jan 9 2002 sock2path -> ./inet/sock2path lrwxrwxrwx 1 root root 20 Jan 9 2002 shutdown -> ../usr/sbin/shutdown lrwxrwxrwx 1 root root 18 Jan 9 2002 setmnt -> ../usr/sbin/setmnt lrwxrwxrwx 1 root root 15 Jan 9 2002 services -> ./inet/services drwxr-xr-x 2 root sys 512 Jan 9 2002 rpcsec lrwxrwxrwx 1 root root 15 Jan 9 2002 rmt -> ../usr/sbin/rmt lrwxrwxrwx 1 root root 16 Jan 9 2002 reboot -> ../usr/sbin/halt lrwxrwxrwx 1 root root 11 Jan 9 2002 rcS -> ../sbin/rcS lrwxrwxrwx 1 root root 11 Jan 9 2002 rc6 -> ../sbin/rc6 lrwxrwxrwx 1 root root 11 Jan 9 2002 rc5 -> ../sbin/rc5 lrwxrwxrwx 1 root root 11 Jan 9 2002 rc3 -> ../sbin/rc3 lrwxrwxrwx 1 root root 11 Jan 9 2002 rc2 -> ../sbin/rc2 lrwxrwxrwx 1 root root 11 Jan 9 2002 rc1 -> ../sbin/rc1 lrwxrwxrwx 1 root root 11 Jan 9 2002 rc0 -> ../sbin/rc0 lrwxrwxrwx 1 root root 19 Jan 9 2002 prtvtoc -> ../usr/sbin/prtvtoc lrwxrwxrwx 1 root root 19 Jan 9 2002 prtconf -> ../usr/sbin/prtconf lrwxrwxrwx 1 root root 16 Jan 9 2002 protocols -> ./inet/protocols drwxr-xr-x 2 root sys 512 Jan 9 2002 opt lrwxrwxrwx 1 root root 15 Jan 9 2002 networks -> ./inet/networks lrwxrwxrwx 1 root root 15 Jan 9 2002 netmasks -> ./inet/netmasks drwxr-xr-x 5 root sys 512 Jan 9 2002 net lrwxrwxrwx 1 root root 18 Jan 9 2002 ncheck -> ../usr/sbin/ncheck lrwxrwxrwx 1 root root 16 Jan 9 2002 mountall -> ../sbin/mountall lrwxrwxrwx 1 root root 17 Jan 9 2002 mount -> ../usr/sbin/mount lrwxrwxrwx 1 root root 17 Jan 9 2002 mknod -> ../usr/sbin/mknod lrwxrwxrwx 1 root root 16 Jan 9 2002 mkfs -> ../usr/sbin/mkfs lrwxrwxrwx 1 root root 14 Jan 9 2002 log -> ../var/adm/log lrwxrwxrwx 1 root root 19 Jan 9 2002 labelit -> ../usr/sbin/labelit lrwxrwxrwx 1 root root 19 Jan 9 2002 killall -> ../usr/sbin/killall lrwxrwxrwx 1 root root 19 Jan 9 2002 install -> ../usr/sbin/install lrwxrwxrwx 1 root root 12 Jan 9 2002 init -> ../sbin/init lrwxrwxrwx 1 root root 12 Jan 9 2002 hosts -> ./inet/hosts lrwxrwxrwx 1 root root 16 Jan 9 2002 halt -> ../usr/sbin/halt lrwxrwxrwx 1 root root 17 Jan 9 2002 grpck -> ../usr/sbin/grpck lrwxrwxrwx 1 root root 21 Jan 9 2002 getty -> ../usr/lib/saf/ttymon lrwxrwxrwx 1 root root 17 Jan 9 2002 fstyp -> ../usr/sbin/fstyp lrwxrwxrwx 1 root root 16 Jan 9 2002 fsdb -> ../usr/sbin/fsdb lrwxrwxrwx 1 root root 16 Jan 9 2002 fsck -> ../usr/sbin/fsck drwxr-xr-x 6 root sys 512 Jan 9 2002 fs lrwxrwxrwx 1 root root 18 Jan 9 2002 format -> ../usr/sbin/format lrwxrwxrwx 1 root root 19 Jan 9 2002 fmthard -> ../usr/sbin/fmthard lrwxrwxrwx 1 root root 14 Jan 9 2002 ff -> ../usr/sbin/ff lrwxrwxrwx 1 root root 17 Jan 9 2002 dcopy -> ../usr/sbin/dcopy lrwxrwxrwx 1 root root 16 Jan 9 2002 cron -> ../usr/sbin/cron lrwxrwxrwx 1 root root 17 Jan 9 2002 crash -> ../usr/sbin/crash lrwxrwxrwx 1 root root 16 Jan 9 2002 clri -> ../usr/sbin/clri lrwxrwxrwx 1 root root 18 Jan 9 2002 cfgadm -> ../usr/sbin/cfgadm lrwxrwxrwx 1 root root 16 Jan 9 2002 autopush -> ../sbin/autopush lrwxrwxrwx 1 root root 14 Jan 9 2002 TIMEZONE -> ./default/init drwxr-xr-x 2 root sys 512 Jan 9 2002 nfs drwxr-xr-x 2 root sys 512 Jan 9 2002 krb5 drwxr-xr-x 2 root sys 512 Jan 9 2002 dhcp -rw-r--r-- 1 root sys 78 Jan 9 2002 project -rw-r--r-- 1 root sys 1883 Jan 9 2002 system -rw-r--r-- 1 root sys 1239 Jan 9 2002 netconfig -rw-r--r-- 1 root sys 1408 Jan 9 2002 ttysrch -rw-r--r-- 1 root sys 1528 Jan 9 2002 rpc -rw-r--r-- 1 root sys 1573 Jan 9 2002 nscd.conf -rw-r--r-- 1 root sys 926 Jan 9 2002 nfssec.conf drwxr-xr-x 2 root sys 512 Jan 9 2002 dfs drwxr-xr-x 2 root sys 512 Jan 9 2002 ami -rw-r--r-- 1 root bin 50 Jan 9 2002 auto_home -rw-r--r-- 1 root bin 113 Jan 9 2002 auto_master drwxr-xr-x 2 root sys 512 Jan 9 2002 gss drwxr-xr-x 3 root sys 512 Jan 9 2002 llc2 -rw-r--r-- 1 root bin 622 Jan 9 2002 publickey drwxr-xr-x 2 root sys 512 Jan 9 2002 smartcard -rw-r--r-- 1 root sys 190 Jan 9 2002 printers.conf -rw-r--r-- 1 root bin 1969 Jan 9 2002 remote drwxr-xr-x 3 root sys 512 Jan 9 2002 snmp drwxr-xr-x 4 root sys 512 Jan 9 2002 dmi lrwxrwxrwx 1 root root 18 Jan 9 2002 unlink -> ../usr/sbin/unlink lrwxrwxrwx 1 root root 24 Jan 9 2002 termcap -> ../usr/share/lib/termcap lrwxrwxrwx 1 root root 16 Jan 9 2002 pwck -> ../usr/sbin/pwck lrwxrwxrwx 1 root root 17 Jan 9 2002 mvdir -> ../usr/sbin/mvdir lrwxrwxrwx 1 root root 16 Jan 9 2002 link -> ../usr/sbin/link lrwxrwxrwx 1 root root 17 Jan 9 2002 fuser -> ../usr/sbin/fuser lrwxrwxrwx 1 root root 18 Jan 9 2002 chroot -> ../usr/sbin/chroot lrwxrwxrwx 1 root root 14 Jan 9 2002 aliases -> ./mail/aliases -rw-r--r-- 1 root sys 8045 Jan 9 2002 format.dat drwxr-xr-x 2 adm adm 512 Jan 9 2002 acct -rwxr--r-- 1 root sys 360 Jan 9 2002 asppp.cf drwxr-xr-x 2 uucp uucp 512 Jan 9 2002 uucp drwxr-xr-x 2 root sys 512 Jan 9 2002 fn drwxr-xr-x 3 root bin 512 Jan 9 2002 openwin drwxr-xr-x 2 root sys 512 Jan 9 2002 nca -rw-r--r-- 1 root sys 2604 Jan 9 2002 devlink.tab -rw-r--r-- 1 root sys 2017 Jan 9 2002 logindevperm drwxr-xr-x 9 lp lp 512 Jan 9 2002 lp -r--r--r-- 1 root sys 401 Jan 9 2002 dgroup.tab -r--r--r-- 1 root root 2488 Jan 9 2002 device.tab drwxr-xr-x 2 root mail 512 Jan 9 2002 mail -r--r--r-- 1 root bin 960 Jan 9 2002 vold.conf -r--r--r-- 1 root bin 438 Jan 9 2002 rmmount.conf drwxr-xr-x 3 root sys 512 Jan 9 2002 rcm drwxr-xr-x 3 root sys 512 Jan 9 2002 sysevent -rw-r--r-- 1 root other 237 Jan 10 2002 dumpadm.conf drwxr-xr-x 2 root sys 512 Jan 12 2002 rc3.d -rw-r--r-- 1 root other 0 Jan 12 2002 inetd.conf.org -rw-r--r-- 1 root other 13 Jan 12 2002 defaultrouter -rw-r--r-- 1 root root 20 Jan 13 2002 hostname.hme0 -rw-r--r-- 1 root root 20 Jan 13 2002 nodename -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:9 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:8 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:7 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:6 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:5 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:4 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:3 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:18 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:17 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:16 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:15 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:14 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:13 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:12 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:11 -rw-r----- 1 root other 14 Jan 18 2002 hostname.hme0:10 -rw-r----- 1 root other 24 Jan 25 2002 resolv.conf -rw-r--r-- 1 root other 1185 Feb 19 2002 bashrc -rw-r--r-- 1 root other 503 Feb 19 2002 issue -rw-r--r-- 1 root other 0 Feb 23 2002 notrouter ---------- 1 root other 0 Feb 23 2002 hosts.equiv -r-------- 1 root other 22 Feb 23 2002 hosts.deny ---------- 1 root other 0 Feb 23 2002 hosts.allow -rw-r--r-- 1 root sys 116 Feb 23 2002 ftpusers drwxr-xr-x 3 root sys 512 Feb 23 2002 skel drwxr-xr-x 2 root other 512 Mar 8 2002 profile.d -rw-r--r-- 1 root other 1160 Apr 5 2002 syslog.conf -rw-r----- 1 root other 14 Apr 17 2003 hostname.hme0:19 -rw-r----- 1 root other 596 Jun 4 2003 changetrack.conf -rw-r--r-- 1 root sys 2210 Nov 19 2003 dacf.conf -r-------- 1 root other 414 Dec 1 2003 shadow.01122003 -rw-r--r-- 1 root sys 2075 Jan 19 2004 pam.conf.pre108993-39 drwxr-xr-x 2 root sys 512 Jan 19 2004 inet -rw-r--r-- 1 root other 759 Feb 2 2004 profile -r-------- 1 root sys 490 Mar 30 2004 shadow.20040402 -rw-r--r-- 1 root sys 39 Oct 14 2004 ioctl.syscon -rw-r----- 1 root other 667 Nov 6 2004 vfstab.061104 -rw-r----- 1 root other 14 Dec 2 2004 hostname.hme0:20 lrwxrwxrwx 1 root other 17 Dec 16 2004 inetd.conf -> ./inet/inetd.conf drwxr-xr-x 6 root sys 512 Dec 16 2004 security drwxr-xr-x 2 root bin 512 Dec 16 2004 apache -rw-r--r-- 1 root sys 620 Dec 16 2004 iu.ap -rw-r--r-- 1 root other 3181 Dec 16 2004 name_to_sysnum.old -rw-r--r-- 1 root sys 3194 Dec 16 2004 name_to_sysnum -rw-r--r-- 1 root sys 607 Dec 16 2004 power.conf -rw-r----- 1 root other 14 Dec 16 2004 hostname.hme0:21 -rw-r--r-- 1 root other 4058 Dec 16 2004 minor_perm -rw-r--r-- 1 root other 359 Dec 16 2004 driver_classes -rw-r--r-- 1 root other 4350 Dec 16 2004 driver_aliases drwxr-xr-x 2 root sys 1024 Dec 16 2004 rcS.d drwxr-xr-x 2 root sys 1024 Dec 16 2004 rc1.d drwxr-xr-x 2 root sys 1024 Dec 16 2004 rc0.d drwxr-xr-x 3 root sys 2048 Dec 16 2004 init.d -rw-r--r-- 1 root sys 2347 Dec 16 2004 name_to_major -rw-r--r-- 1 root sys 780 Dec 16 2004 nsswitch.conf -rw-r--r-- 1 root sys 2287 Dec 16 2004 pam.conf.108993-39 drwxr-xr-x 2 root sys 512 Dec 16 2004 lib -rw-r--r-- 1 root sys 2075 Dec 16 2004 pam.conf -rw-r----- 1 root other 14 Jan 7 2005 hostname.hme0:22 -rw-r----- 1 root other 8403 Jun 20 2005 hostbkpJun20 -r--r----- 1 root other 1008 Jun 21 2005 passwdJun21 -r-------- 1 root other 531 Jun 21 2005 shadowJun21 drwxr-xr-x 2 root sys 512 Jun 21 2005 default -rw-r--r-- 1 root other 8496 Jul 19 2006 hosts_20120123 -rw-r--r-- 1 root sys 300 Jul 30 2010 dumpdates drwxr-xr-x 2 root sys 1024 Apr 1 2011 rc2.d -r--r--r-- 1 root other 4035 Apr 13 2011 path_to_inst.old -r--r--r-- 1 root other 4035 Apr 13 2011 path_to_inst -rw-r--r-- 1 root sys 672 Apr 13 2011 vfstab drwxr-xr-x 2 root other 512 Feb 28 2014 ssh3.7777 -r--r--r-- 1 root sys 271 Apr 2 2014 ouser_attr -rw-r--r-- 1 root sys 392 Apr 2 2014 group -r--r--r-- 1 root sys 271 Sep 19 2014 user_attr -r--r--r-- 1 root sys 785 Sep 19 2014 opasswd -r--r--r-- 1 root sys 822 May 28 17:42 passwd -r-------- 1 root sys 441 May 28 17:42 oshadow -r-------- 1 root sys 455 May 28 17:42 shadow -rw-r--r-- 1 root other 314 Jun 6 16:48 coreadm.conf drwxr-xr-x 2 root sys 512 Jun 6 16:48 cron.d lrwxrwxrwx 1 root root 21 Jun 6 16:48 syslog.pid -> ../var/run/syslog.pid drwxr-xr-x 3 root bin 512 Jun 6 16:48 saf -r--r--r-- 1 root root 696 Jun 6 16:48 mnttab prw------- 1 root root 0 Jun 6 16:48 initpipe prw------- 1 root root 0 Jun 6 17:17 utmppipe sh-2.03# ls -ltrhcd /etc/ls -ltrhls -ltrls -ltrls -ltr     TIMEZONE hosts protocols acct hosts.allow prtconf aliases hosts.deny prtvtoc ami hosts.equiv publickey apache hosts_20120123 pwck asppp.cf inet rc0 auto_home inetd.conf rc0.d auto_master inetd.conf.org rc1 autopush init rc1.d bashrc init.d rc2 cfgadm initpipe rc2.d changetrack.conf inittab rc3 chroot install rc3.d clri ioctl.syscon rc5 coreadm.conf issue rc6 crash iu.ap rcS cron killall rcS.d cron.d krb5 rcm dacf.conf labelit reboot datemsk lib release dcopy link remote default llc2 resolv.conf defaultrouter log rmmount.conf device.tab logindevperm rmt devlink.tab lp rpc dfs magic rpcsec dgroup.tab mail rpld.conf dhcp minor_perm saf dmi mkfs security driver_aliases mknod services driver_classes mnttab setmnt dumpadm.conf mount shadow dumpdates mountall shadow.01122003 ff mvdir shadow.20040402 fmthard name_to_major shadowJun21 fn name_to_sysnum shutdown format name_to_sysnum.old skel format.dat nca smartcard fs ncheck snmp fsck net sock2path fsdb netconfig ssh3.7777 fstyp netmasks sulogin ftpusers networks swap fuser nfs swapadd getty nfssec.conf sysdef group nodename sysevent grpck notrouter syslog.conf gss nscd.conf syslog.pid halt nsswitch.conf system hostbkpJun20 nsswitch.dns tar hostname.hme0 nsswitch.files telinit hostname.hme0:10 nsswitch.ldap termcap hostname.hme0:11 nsswitch.nis tm hostname.hme0:12 nsswitch.nisplus ttydefs hostname.hme0:13 opasswd ttysrch hostname.hme0:14 openwin uadmin hostname.hme0:15 opt umount hostname.hme0:16 oshadow umountall hostname.hme0:17 ouser_attr unlink hostname.hme0:18 pam.conf user_attr hostname.hme0:19 pam.conf.108993-39 utmppipe hostname.hme0:20 pam.conf.pre108993-39 utmpx hostname.hme0:21 passwd uucp hostname.hme0:22 passwdJun21 vfstab hostname.hme0:3 path_to_inst vfstab.061104 hostname.hme0:4 path_to_inst.old volcopy hostname.hme0:5 power.conf vold.conf hostname.hme0:6 printers.conf wall hostname.hme0:7 profile whodo hostname.hme0:8 profile.d wtmpx hostname.hme0:9 project sh-2.03# ls    at    cat vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t0d0s1 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /usr ufs 1 no - /dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /var ufs 1 no - /dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /opt ufs 2 yes - /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /tmp ufs 2 yes - /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0s2 /ecas ufs 2 yes - /dev/diskette0 /dev/rdiskette0 /mnt/floppy pcfs - no - /dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0s2 /mnt/cdrom hsfs - no - sh-2.03# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 1637982 386014 1202829 25% / /dev/dsk/c0t0d0s3 1795734 1338068 403794 77% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd mnttab 0 0 0 0% /etc/mnttab /dev/dsk/c0t0d0s5 1795734 902762 839100 52% /var swap 907192 16 907176 1% /var/run /dev/dsk/c0t1d0s2 19607808 10394553 9017177 54% /ecas /dev/dsk/c0t0d0s4 1795734 1182918 558944 68% /opt /dev/dsk/c0t0d0s7 1081062 96705 930304 10% /tmp sh-2.03# timed out waiting for input: auto-logout script done on Sat Jun 06 17:26:44 2015