bash like for cmd line