Back to discussionComment by api[-]api11 years ago1 reply#You mean that isn't how to exit 'ed'?[-]mcguire11 years ago1 reply#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.[-]mcguire11 years ago1 reply#Note to those objecting to '$': I have PS1 set to '$' on every account. It just saves confusion.iso8859-111 years ago1 reply#Don't you think it is prettier with the space?Continue this thread — 1 reply
mcguire11 years ago1 reply#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.
mcguire11 years ago1 reply#Note to those objecting to '$': I have PS1 set to '$' on every account. It just saves confusion.
Continue this thread — 1 reply