Kenneth Gober writes: > On Tue, Aug 11, 2026 at 12:33 AM Thea DeSilva wrote: > > one of these days my ed knowledge is going to stick. When I need to > > recover a broken system I sometimes boot bsd.rd. It doesn't have vim or > > anything like that but it does have ed. Last time I used this I had to > > edit my fstab. I forget how to use ed so quickly. How do you recover > > your systems? > > I have found that there is very little need for ed(1) if you know sed(1). > And sed(1) has a lot more day-to-day usefulness so there's a better chance > of that knowledge sticking.
$ which ed /bin/ed $ which sed /usr/bin/sed In the context of recovering broken systems from bsd.rd, /usr is probably not mounted, so sed(1) is not available. If /usr *were* mounted, I'd rather use vi(1) than sed(1) to fix my fstab.

