ファイルを探す。
LinuxとかUNIXによってだいぶ違うらしいい。

とりあえず、OpenSolarisで全ファイルで全部のファイル名を表示するには
root@xxx # find / -type f -print

あとはパイプでつなげてgrepに渡して目的のファイルを探す。

psコマンド

ps -e
コマンドがでてきた。
PID TTY TIME CMD
0 ? 0:01 sched
1 ? 0:00 init
2 ? 0:01 pageout
3 ? 0:15 fsflush
135 ? 0:00 powerd
7 ? 0:02 svc.star
9 ? 0:08 svc.conf
1632 ? 0:00 gam_serv
368 ? 0:00 rpcbind


ps -ef
出てくるコマンドがフルパスになった。
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 00:52:13 ? 0:01 sched
root 1 0 0 00:52:15 ? 0:00 /sbin/init
root 2 0 0 00:52:15 ? 0:02 pageout
root 3 0 0 00:52:15 ? 0:15 fsflush
root 135 1 0 00:52:29 ? 0:00 /usr/lib/power/powerd
root 7 1 0 00:52:17 ? 0:02 /lib/svc/bin/svc.startd
root 9 1 0 00:52:17 ? 0:08 /lib/svc/bin/svc.configd
username 1632 1 0 13:17:37 ? 0:00 /usr/lib/gam_server
daemon 368 1 0 00:52:37 ? 0:00 /usr/sbin/rpcbind