.profile
Vivek J. Patankar
list307 at gmail.com
Fri Aug 10 03:38:21 UTC 2007
tony.chamberlain at lemko.com wrote:
> Does anyone know whether linux has something like a .profile but for cd?
>
> That is, you put a script into a directory which gets executed every time
> someone CDs to that directory?
I don't know about a ".profile", but maybe you can "watch" directories
using incron[1].
[1]
http://dailypackage.fedorabook.com/index.php?/archives/102-Productive-Monday-Incron-Execute-commands-based-on-filesystem-activity.html
--
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)
Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.1-33.fc7 x86_64
More information about the users
mailing list