Posts

Showing posts from January 13, 2019

Ubuntu 18.10 Not Booting Correctly After Upgrade

Image
1 1 I just upgraded from 18.04 to 18.10 and am having some issues. When I start Ubuntu I get stuck on "A start job is running..." with no limit and that never ends. However, I can switch to tty2 and login from there. I then do sudo mount -o rw,remount / (because the filesystem is mounted as read-only for some reason) and startx to get to my desktop. Once I do that, everything works fine, but when I restart I have to do it all over again. boot 18.10 share | improve this question asked Dec 10 '18 at 4:07 Patrick Patrick 8 3

How to use the w command of sed and write to file?

Image
2 Below is my testing. How can I fix the error? ubuntu@u1804:~# sed --version sed (GNU sed) 4.5 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Fenlason, Tom Lord, Ken Pizzini, and Paolo Bonzini. GNU sed home page: <https://www.gnu.org/software/sed/>. General help using GNU software: <https://www.gnu.org/gethelp/>. E-mail bug reports to: <bug-sed@gnu.org>. ubuntu@u1804:~# ubuntu@u1804:~# cat test 11 aa bb cc edde xx aa bb cc edde 22 ubuntu@u1804:~# sed -r '/^[a-z]/{s/^.*$/(&)/; w result}' test sed: -e expression #1, char 0: unmatched `{&#