Re:Show HN: Twitch Installs Arch Linux – A cooperative text-...
by api on Friday October 30, 2015 @12:26PM
(#10478768)
You mean that isn't how to exit 'ed'?
[ Parent
| on HN ]
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-...
by mcguire on Friday October 30, 2015 @12:53PM
(#10478945)
Technically, the official method of exiting ed, if you're running as root, is:
$ed a_file
... (normal usage)
r /etc/motd
w /boot/vmlinuz-3.19.0-16-generic (replace with specific kernel)
!reboot
The alternative of "w /dev/sda1" is also acceptable.
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-...
by mcguire on Friday October 30, 2015 @01:01PM
(#10479007)
Note to those objecting to '$': I have PS1 set to '$' on every account. It just saves confusion.