ParentFull threadsbergjohansen·!! substitutes the last command: sudo !! and cd - takes you to the previous directory.View on HN