3 ms·
> At one point, Linus had implemented device files in /dev, and wanted to dial up the university computer and debug his terminal emulation code again. So he sta
by netsharc 6y ago
> At one point, Linus had implemented device files in /dev, and wanted to dial up the university computer and debug his terminal emulation code again. So he starts his terminal emulator program and tells it to use /dev/hda. That should have been /dev/ttyS1. Oops. Now his master boot record started with "ATDT" and the university modem pool phone number. I think he implemented permission checking the following day.
From https://liw.fi/linux-anecdotes/ https://liw.fi/linux-anecdotes/
But if and of are "easy", since they stand for "input file" and "output file"?
- tyingq 6y ago>But if and of are "easy", since they stand for "input file" and "output file"? Yes, but which hard drive device is which isn't as straightforward. My fault, of course...just got them mixed up.
- shellm1stakes 6y agoYou'd think, but a lot of people blindly follow tutorials that Google gives them. As an example, here's my #2 result for, "Linux command line create bootable usb drive from iso": https://www.tecmint.com/create-an-iso-from-a-bootable-usb-in-linux/ https://www.tecmint.com/create-an-iso-from-a-bootable-usb-in... It instructs you to run this command, despite explaining what "if" and "of" mean in the following paragraph: >sudo dd if=/dev/sdb1 of=/home/tecmint/Documents/Linux_Mint_19_XFCE.iso Proofreading is harder and less profitable than SEO.
- tyingq 6y agoIn my case, it was simpler. Just mixing up, mentally, which disk device was the source, which was the dest.
- netsharc 6y agoActually that command seems accurate, because the instructions is to do the reverse of what you googled - it's telling people "how to make an image from a disk device", but in this case the image file has the ".iso" file extension. But I agree about "copy paste instructions". I remember an intern at work asking me how to switch between virtual terminals on Linux, I told her Ctrl-Alt-Fx, I wanted to explain what virtual terminals are and how the shortcuts are probably configurable, but at that point she already stopped listening...