just me but wouldn't it be easier to just type ls -al .kshrc and check if the executable bit is set? I guess if you just really like scripting. ;) Bill Warner Rod Roark wrote: > On Thu, 13 Jul 2000, Blake wrote: > > This is a stupid question, but is .kshrc executable? > > # if [ -x .kshrc ]; then echo YES; else echo NO; fi > > -- Rod > ---------------------------------------------------------------------- > Sunset Systems Preconfigured Linux Computers > http://www.sunsetsystems.com/ and Custom Software > ---------------------------------------------------------------------- > > _______________________________________________ > Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss