tony.chamberlain@xxxxxxxxx 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 -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list