9,407 reputation
42648
bio website mattdm.org
location Somerville, MA
age
visits member for 3 years, 5 months
seen 5 hours ago

I'm the Fedora Cloud Architect at Red Hat.

I've been using Linux and Unix professionally since 1995, mostly in Linux-related sysadmin/systems architect jobs supporting academia. I generally know my stuff, but am very happy to learn something new and to be corrected when I'm wrong.

Fedora Cloud


Mar
7
answered Is it possible to source again .bashrc and .zshrc AND remove functions once inside them without restarting?
Mar
7
comment Count how many times each line appears in a file
You can replace cat file.txt | sort with just sort file.txt. :)
Mar
7
revised Why would someone use joe?
added 68 characters in body
Mar
7
revised Looking at logs from bottom upwards
deleted 1 characters in body
Mar
7
answered What Linux distribution(s) contribute the most development to the GNOME project?
Mar
7
answered Filtering paths to a specific depth
Mar
7
answered Looking at logs from bottom upwards
Mar
7
answered Why would someone use joe?
Mar
6
comment Some sort of X.org memory leak using nvidia proprietary driver
Yes, that sounds like a bug in the nvidia proprietary driver. Does your card work (even with reduced functionality) with the Nouveau open-source driver? If so, you can run with that for a while to see if the problem occurs, which will help you isolate the issue.
Mar
6
comment Why are PATH variables different when running via sudo and su?
@Justin Ethier: off topic, but see bugzilla.redhat.com/show_bug.cgi?id=634911
Mar
6
comment Why do /usr and /tmp directories for Linux miss vowels in their spellings?
I don't think that when it was designed the idea of being "expert friendly, user antagonistic" was part of the goal. Rather, all of the users were experts, so there was no meaningful distinction.
Mar
6
comment Why do /usr and /tmp directories for Linux miss vowels in their spellings?
Once, Ken Thompson was asked if he'd do anything different were he redesigning Unix, and he replied ""I'd spell creat with an e."
Mar
6
comment date, get current 15 minute interval
Just for clarification — by "system call", you mean "fork/exec/wait, like the system() call", not system call in general. (I mention this because making system calls also has an overhead within a program, because of the user/kernel switch. That's not the particular issue here.)
Mar
5
awarded  Good Answer
Mar
5
answered Why are PATH variables different when running via sudo and su?
Mar
5
revised How can I cut a large file in place?
edited title
Mar
5
revised Is it secure to leave a root shell running in detached screen session?
added 13 characters in body
Mar
5
revised Which is the safest way to get root privileges: sudo, su or login?
added 108 characters in body
Mar
4
awarded  Nice Answer
Mar
4
comment Is it secure to leave a root shell running in detached screen session?
@Let_Me_Be — it depends on which file permissions your exploit lets you change. Maybe you can only do a few specific things under certain hierarchies. That's not so far-fetched.