7 ms·
Thanks, Shimsham :) Unfortunately, I think it might have spent a little bit too much time on the bicycling part of the story... I'm considering rewriting it a
by blhack 15y ago
Thanks, Shimsham :)
Unfortunately, I think it might have spent a little bit too much time on the bicycling part of the story...
I'm considering rewriting it and submitting it again tomorrow...I think it's an important thing to remember (that screwing up and doing it wrong is how you learn) :)
- shimsham 15y agoI think the analogy is tenuous but nevertheless valid. i saw where the article was going from the start. and of course, it's not about forcibly doing the wrong thing but the point at which u realise and what you then do. hopefully this is only done once. when some friends, relatively new to unix, asked me various questions, I asked them what would happen if they did: cd /; rm -fr / I then suggested that, just to make sure they understood the consequences, they do this on basic Linux virtual machine so they could break the machine as much as they needed. illustrative, useful and they never felt they needed to do it again. bruises and cuts have their place :)
- blhack 15y agoYou know, one of the things that really made me feel like I knew what I was doing with linux was when I accidnetally typed the following (as root [being root was a stupid, stupid thing to be, I learned my lesson]). gibson:/# mv * .jpg /var/www/html/images/ ooooops. I moved my entire directory structure into /var/www/html/images/ No /bin, no /lib, nothing. Calling things with an absolute path, a la /var/www/html/imagse/bin/ls gave me: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Eventually, I figured out that calling: /var/www/html/lib/ld-linux.so.2 --library-path /var/www/html/lib /var/www/html/bin/ln -s /var/www/html/lib /lib Would let me rebuild the system by mving things back to their proper location. After that, any problems I encountered seemed trivial.
- shimsham 15y ago;-) nice. this is how people learn to wear the careful gloves if they have to do things as root, or when sudoing.