PIKT

Samples: SuSE Linux Program Paths

PIKT Logo
Home FAQ News Intro Samples Tutorial Reference Software Authors Licensing SiteSearch


This sample unixcmds_suse_linux_macros.cfg file is fairly typical.  Note the "local defs" section at the bottom of this file, where you may specify program-and-command-option combinations, set local program paths, and customize your command macros in other ways.

///////////////////////////////////////////////////////////////////////////////
//
// unixcmds_suse_linux_macros.cfg -- SuSE Linux command and program paths
//
// this file is based on a suse linux 9.0 system
// 
///////////////////////////////////////////////////////////////////////////////

#if suse

arp             /sbin/arp
awk             /usr/bin/awk
basename        /usr/bin/basename
bash            /bin/bash
cat             /bin/cat
chgrp           /bin/chgrp
chmod           /bin/chmod
chown           /bin/chown
cksum           /usr/bin/cksum
cmp             /usr/bin/cmp
cp              /bin/cp
cpio            /usr/bin/cpio
crontab         /usr/bin/crontab
csh             /usr/bin/csh
csplit          /usr/bin/csplit
cut             /usr/bin/cut
date            /bin/date
dd              /bin/dd
df              /bin/df
diff            /usr/bin/diff
diff3           /usr/bin/diff3
dirname         /usr/bin/dirname
dmesg           /bin/dmesg
domainname      /bin/domainname
du              /usr/bin/du
echo            /bin/echo
egrep           /usr/bin/egrep
env             /usr/bin/env
expand          /usr/bin/expand
expr            /usr/bin/expr
false           /bin/false
fgrep           /usr/bin/fgrep
file            /usr/bin/file
find            /usr/bin/find
fold            /usr/bin/fold
fsck            /sbin/fsck
fuser           /bin/fuser
grep            /usr/bin/grep
groups          /usr/bin/groups
grpck           /usr/sbin/grpck
halt            /sbin/halt
head            /usr/bin/head
hostid          /usr/bin/hostid
hostname        /bin/hostname
id              /usr/bin/id
ifconfig        /sbin/ifconfig
join            /usr/bin/join
kill            /bin/kill
last            /usr/bin/last
ln              /bin/ln
logger          /bin/logger
lpc             /usr/sbin/lpc
lpq             /usr/bin/lpq
lpr             /usr/bin/lpr
lprm            /usr/bin/lprm
ls              /bin/ls
mail            /usr/bin/mail
mkdir           /bin/mkdir
mknod           /bin/mknod
more            /bin/more
mount           /bin/mount
mv              /bin/mv
netstat         /bin/netstat
nice            /usr/bin/nice
nslookup        /usr/bin/nslookup
od              /usr/bin/od
paste           /usr/bin/paste
ping            /bin/ping
ps              /bin/ps
pwck            /usr/sbin/pwck
pwd             /bin/pwd
quota           /usr/bin/quota
quotacheck      /sbin/quotacheck
quotaoff        /usr/sbin/quotaoff
quotaon         /usr/sbin/quotaon
rdist           rdist
reboot          /sbin/reboot
renice          /usr/bin/renice
rm              /bin/rm
rmdir           /bin/rmdir
rpcinfo         /usr/sbin/rpcinfo
rwho            rwho
sed             /usr/bin/sed
sendmail        /usr/sbin/sendmail
sh              /bin/sh
shutdown        /sbin/shutdown
sleep           /bin/sleep
sort            /usr/bin/sort
split           /usr/bin/split
strings         /usr/bin/strings
sum             /usr/bin/sum
sync            /bin/sync
tail            /usr/bin/tail
tar             /bin/tar
test            /usr/bin/test
time            /usr/bin/time
touch           /usr/bin/touch
tr              /usr/bin/tr
true            /bin/true
umount          /bin/umount
uname           /bin/uname
unexpand        /usr/bin/unexpand
uniq            /usr/bin/uniq
uptime          /usr/bin/uptime
users           /usr/bin/users
vmstat          /usr/bin/vmstat
w               /usr/bin/w
wall            /usr/bin/wall
wc              /usr/bin/wc
which           /usr/bin/which
who             /usr/bin/who
whoami          /usr/bin/whoami
write           /usr/bin/write
xargs           /usr/bin/xargs
zcat            /usr/bin/zcat
expect          expect
gzip            /usr/bin/gzip
perl            /usr/bin/perl
ssh             /usr/bin/ssh
top             /usr/bin/top

///////////////////////////////////////////////////////////////////////////////

// local defs

dfi             =df -i -t ext2
dfk             =df -k
dfl             =df -k -t ext2
dusk            =du -sk
lsC             =ls -C
ll              =ls -l
lld             =ls -ld
lp              =lpr -P
psall           =ps aux
mailx           =mail
nawk            =awk
mailq           /usr/bin/mailq
rsh             =ssh

#endif  // suse

///////////////////////////////////////////////////////////////////////////////

[For more examples, see Samples.]


Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software | Authors | Licensing | SiteSearch
Links | SiteIndex | Pikt-Users | Pikt-Workers | Contribute | ContactUs | Top of Page
Page best viewed at 1024x768.   Page last updated 2005-06-22.
This site is PIKT® powered.
PIKT® is a registered trademark of the University of Chicago.
Copyright © 1998-2005 Robert Osterlund.  All rights reserved.

Computer Books at Amazon.com

SuSE Linux Enterprise Server 9 Administrator's Handbook
SuSE Linux Enterprise Server 9 Administrator's Handbook

SUSE Linux 9 Bible
SUSE Linux 9 Bible

Beginning SuSE Linux: From Novice To Professional
Beginning SuSE Linux: From Novice To Professional

Sams Teach Yourself SuSE Linux in 24 Hours Starter Kit
Sams Teach Yourself SuSE Linux in 24 Hours Starter Kit

Unix, Solaris And Linux: A Practical Security Cookbook
Unix, Solaris And Linux: A Practical Security Cookbook