File: paths.pl

package info (click to toggle)
tct 1.07-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,828 kB
  • ctags: 1,128
  • sloc: perl: 9,604; ansic: 4,861; makefile: 516; sh: 77
file content (88 lines) | stat: -rw-r--r-- 1,724 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
#  If you add anything to this file, add it to reconfig!
#
#  No format required, try to keep things alphabetical at top, platform
# specific next, then our internal TCT commands last for sheer readability.
#

$ACCTCOM="/bin/acctcom";
$ARP="/usr/sbin/arp";
$AT="/usr/bin/at";
$CAT="/bin/cat";
$CP="/bin/cp";

$CRONTAB="/usr/bin/crontab";
$DATE="/bin/date";
$DMESG="/bin/dmesg";
$DOMAINNAME="/bin/domainname";
$ECHO="/bin/echo";

$FIND="/usr/bin/find";
$FINGER="/usr/bin/finger";
$IFCONFIG="/sbin/ifconfig";
$IPCS="/usr/bin/ipcs";
$LAST="/usr/bin/last";

$LSOF="/usr/sbin/lsof";
$MKDIR="/bin/mkdir";
$NETSTAT="/bin/netstat";
$PS="/bin/ps";
$PWD="/bin/pwd";

$RPCINFO="/usr/bin/rpcinfo";
$SHOWMOUNT="/sbin/showmount";
$STRINGS="/usr/bin/strings";
$SU="/bin/su";
$SYNC="/bin/sync";
$TEE="/usr/bin/tee";

$TOP="/usr/bin/top";
$UNAME="/bin/uname";
$UPTIME="/usr/bin/uptime";
$W="/usr/bin/w";
$WHO="/usr/bin/who";

$XAUTH="/usr/X11R6/bin/xauth";
$XHOST="/usr/X11R6/bin/xhost";
$YPCAT="/usr/bin/ypcat";

# suns...
$EEPROM="/usr/sbin/eeprom";
$FORMAT="/etc/format";
$SHOWREV="/bin/showrev";
$NFSSTAT="/usr/sbin/nfsstat";

# solaris
$SWAP="/etc/swap";
$PKGINFO="/bin/pkginfo";

# sunos
$DEVINFO="/usr/sbin/devinfo";
$PSTAT="/usr/sbin/pstat";

# linux
$RPM="/etc/rpm";
$KSYMS="/sbin/ksyms";
$LSMOD="/sbin/lsmod";

# kernel modules
$MODINFO="/sbin/modinfo";
$MODSTAT="/usr/bin/modstat";

#
# figure something out to figure out df... bsd vs. sysV
#
$DF="/bin/df";

#
# our stuff
#
$FILE     = "/usr/bin/file";
$MD5      = "/usr/bin/md5sum";
$PCAT     = "/usr/bin/pcat";
$ICAT     = "/usr/bin/inode-cat";
$ILS      = "/usr/bin/ils";
$LASTCOMM = "/usr/bin/lastcomm";
$MAJ_MIN  = "/usr/bin/major_minor";
$TIMEOUT  = "/usr/bin/timeout";