Xref: utzoo comp.unix.questions:5785 comp.unix.wizards:6674 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!hc!beta!cmcl2!nrl-cmf!mailrus!tut.cis.ohio-state.edu!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: execution environment Message-ID: <7162@tut.cis.ohio-state.edu> Date: 24 Feb 88 22:03:42 GMT Distribution: na Organization: Ohio State Computer & Info Science Lines: 8 Keywords: sh,exec Is there a way for a program to tell if it was executed 1) via a users .profile or 2) by a user on their command line? Yes its a strange question, but can it be done? Thanks, -- oo Larry Cipriani, AT&T Networks Systems (by day) Ohio State University (by night) Domain: lvc@tut.cis.ohio-state.edu Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (yes its right)