relog in bash to test the origin