Debugging
Truss Executable
/* Trace doing of given command (useful debugging) * *
Truss-f-P <pid of a shell>
/* Using Multiple windows, this can is used to trace setuid/setgid programs * *
[Back to top]
ARP, Ethernet trouble shooting
Arp-a.
/* Shows the Ethernet address ARP table * *
Arp-d Myhost
/* Delete a stale Ethernet entry for host Myhost * *
Disk Commands
Du-k.
/* Reports disk space used in kilobytes * *
Du-sk.
/* Reports only total disk spaces used in kilobytes * *
Du-ad/var | Sort-nr
/* tells you to The/var files are in reverse order * *
fdformat-d-U
/* Format Diskette * *
/usr/bin/iostat-e
/* Command to display drives statistics * *
/bin/mount-f Hsfs-o Ro/dev/sr0/cdrom
* Mount an ISO 9660 CDROM * *
Prtvtoc/dev/rdsk/c0t0d0s2
/* Disk Geometry and Partitioning info * *
Quot-af
/* How much of the space are used by the users in kilobytes * *
Driver Parameters
NDD/DEV/IP \?
/* shows IP variables in the kernel * *
NDD/DEV/IP ip_forwarding
/* tells you if forwarding are on (=1) */
NDD-SET/DEV/IP ip_forwarding 1
/* Enables IP forwarding between interfaces * *
File manipulation
Dos2unix | -ascii <filename>
/* Converts DOS file formats to Unix * *