Is there a way to get list of files created in current shell session? I can track user and timestamp, but is there a direct answer?
If it's about cleaning up after scripts, at least make sure your scripts create their files in
/tmp or some place where you can clean up easily.
If you really want to track all files, use
strace -fefile ... to see all file operations. Note, this will slow down your scripts.