ls and exit work