Strip shell, sudo, and file options