[TUHS] Shell control through external commands

Diomidis Spinellis dds at aueb.gr
Sun Sep 11 20:03:25 AEST 2016

On 10/09/2016 20:45, Dario Niedermann wrote:
> TIL! Still, it seems to me that there is no way the `cd' script can
> actually accomplish anything, even when called by exec().

# Time directory access
/usr/bin/time cd /mounts/foo

# Verify that directories can be cd'd
find /mounts/foo -type d -exec cd '{}' \; && echo OK

More information about the TUHS mailing list