« first day (2181 days earlier)      last day (2767 days later) » 

9:59 AM
@terdon i think someone on U&L has no clue what comment and answer is
This isn't an answer. It reads like a comment. An answer should say, "This is how to set the default entry in GRUB", not "let me make an addendum to another answer". You can easily edit this into a proper answer, but it might be smarter to just leave a comment on jkt123's answer about using awk instead of grep. — Aleksandr Dubinsky 1 hour ago
 
10:25 AM
@Serg He kinda has a point. Your answer seems more focused on text parsing than on how to change something in GRUB. If all the other answers on the page disappear, yours can't really stand alone. It might be a good idea to edit and clarify how you'd actually use your solution to do what the OP wants.
 
@terdon haven't i already do that with sed ? with in-place editing it'll do what user need
 
@Serg Kinda. I had to read the answer twice to notice it. You have that there as an afterthought. The answer is focusing on using awk to parse a text file and that isn't what the question was about.
I wouldn't mod-delete it or anything, I just can see why he'd think it wasn't answering the question.
 
I guess I'll edit it to have sed up at the top of the answer. People don't read these days, it seems
 
10:41 AM
@Serg That's not fair. You have a question asking "How can I sed the default kernel in Grub" and an answer that only explains how to search through grub.cfg, without explaining how the default is set, what to do or anything else. You have exactly one line, at the very end of your answer, that actually addresses the OP's question. And you don't really explain what the line does. You can't blame people for missing it.
The only thing your question does is add a sed -i command (which I wouldn't recommend, by the way, not without using -i.bak or something to make a backup) and a slightly better way of parsing the file.
9 messages moved from Ask Ubuntu General Room
 
@terdon noted, will use -i.bak
 
@Serg Yeah, you don't want to pull a terdon.
:P
 
And what exactly does that mean ? :)
 
11:04 AM
@Serg Someone asked for an example of a malicious command, I gave them one and they were silly enough to run it. Fabby called that "pulling a terdon"
 
Ah, I was there when that happend
Summer of last year, I think
 
Something like that.
 
11:26 AM
I need to figure out how to make a "network drive" with my raspberry. I cannot test my udisks indicator without a network drive. So my indicator is limited so far
 
@Serg NFS?
 
Network File System ?
Yup, that's what I'm referring to
 
Should be easy enough. NFS setup is trivial in Linux
 
 
5 hours later…
4:37 PM
@terdon hmmm, how bad was it? Fork bomb or restore from backup?
Bonus points if it was "call fire department"
 

« first day (2181 days earlier)      last day (2767 days later) »