rmtw.sh: fix for Linux