oneliners/bash/bash-open-startfiles.sh

6 lines
196 B
Bash
Executable File

#!/bin/bash
# lists all files, an interactive login-shell with bash would try to open. Useful to find the correct order of .bashrc .profile and such.
echo exit | strace bash -li |& grep '^open'