3 ms·
How do people know the result of running this command without running a VM? Is it possible to run OS X in a VM these days? The command's intention is so obviou
by diegoperini 7y ago
How do people know the result of running this command without running a VM? Is it possible to run OS X in a VM these days?
The command's intention is so obvious I wonder why there is no warning from the os, the shell program or the terminal for such, easily blacklist-able commands. Or is there?
- dan_hawkins 7y agoI've learned that personally one night fighting messed up rebase conflicts and for still unknown reason I copied and pasted a path for `rm` and ended up issuing `rm -rf ~ /repo-path /unneeeded-dir` - it took me a couple of seconds to realize that this command takes unexpected long time to execute and then my eye caught a view of Finder window with shrinking list of folders in home directory :) Time Machine helped me quite a lot but unfortunately with a nasty surprise that it doesn't backup dot files :-/ Lessons learned.
- mercer 7y ago> Time Machine helped me quite a lot but unfortunately with a nasty surprise that it doesn't backup dot files. Wow, that's good to know!
- dan_hawkins 7y agoPS: it turns out you can restore dot files from the Time Machine backups but it's not enabled by default: https://apple.stackexchange.com/questions/141321/how-to-restore-a-hidden-file-in-time-machine#141322 https://apple.stackexchange.com/questions/141321/how-to-rest...