oneliners/bash/bash-open-startfiles.sh

6 lines
196 B
Bash
Raw Normal View History

#!/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'