3 ms·
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
by mcguire 11y ago
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.