dotfiles/.local/bin/scripts/tracefile

3 lines
139 B
Plaintext
Raw Normal View History

#!/bin/sh
strace --follow-forks -e trace=file "$@" 2>&1 >/dev/null | grep openat | cut -d'"' -f2 | grep -v ".so" | grep -v "/dev/" | less