News for hackers. Stuff that matters.
Re:The Utter Uselessness of Job Interviews by employee8000 on Sunday April 09, 2017 @06:04PM (#14074587)
This is a stupid trivia question. I use ps -ef and leave it at that. In my entire career I've rarely needed anything else and if I did I would look it up but never enough to remember. To base an interview question off of that speaks volumes about you.
Re:The Utter Uselessness of Job Interviews by wpietri on Monday April 10, 2017 @12:52AM (#14076127)
Well, yes and no. If somebody just scored it as written, giving points for each argument known, it would be a dumb trivia question. But as I said, that's not what I do.

Try it next time you're mingling with ops people. Say in a bar at a conference. Don't look at what they answer. Look at how they answer. Some people are comfortable not knowing. Some people are excited to discover the ones they forgot they knew. some people get curious and eager to fill the hole they've just noticed in their knowledge. And some people get defensive and peevish.

Re:The Utter Uselessness of Job Interviews by a-priori on Monday April 10, 2017 @11:54AM (#14079548)
Some people focus their curiosity on more important things than arguments for a command line utility.
Re:The Utter Uselessness of Job Interviews by mjevans on Sunday April 09, 2017 @07:31PM (#14074903)
I agree, and it's interesting that you know -e, while I've memorized -axuf ; I guess it's more portable?

Again, this is one of those, "Here's what I've got cached, and here's where I'd look up what I don't know offhand" questions.

Re:The Utter Uselessness of Job Interviews by jwilk on Sunday April 09, 2017 @08:04PM (#14075032)
No, "-axuf" is a weird mixture of BSD and POSIX syntax.

From the ps manpage:

Note that "ps -aux" is distinct from "ps aux". The POSIX and UNIX standards require that "ps -aux" print all processes owned by a user named "x", as well as printing all processes that would be selected by the -a option. If the user named "x" does not exist, this ps may interpret the command as "ps aux" instead and print a warning. This behavior is intended to aid in transitioning old scripts and habits. It is fragile, subject to change, and thus should not be relied upon.