Skip to content

Instantly share code, notes, and snippets.

@DanielMorsing
Created September 20, 2015 21:36
Show Gist options
  • Save DanielMorsing/a44473c6429790121fed to your computer and use it in GitHub Desktop.
Save DanielMorsing/a44473c6429790121fed to your computer and use it in GitHub Desktop.
UNIX!
[daniel@morslaptop ~]$ mkdir foo && cd foo
[daniel@morslaptop foo]$ bash -c 'cd .. && rm -rf foo'
[daniel@morslaptop foo]$ man open
man: can't change directory to '': No such file or directory
man: command exited with status 255: (cd && LESS=-ix8RmPm Manual page open(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page open(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=open(1) less -s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment