Reputation
24,875
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
3 37 88
Newest
 Good Answer
Impact
~2.5m people reached

7h
comment Linux command clarification
@whatwhatwhat - some people are just in the habit of single-quoting every regular expression. Given that for some shells, $, *, parentheses, square brackets, | and ^ all have special meaning, it's probably just safer to single quote all regexps. I know that I do, even when the regexp doesn't contain any characters that have special meaning to shells.
16h
answered Linux command clarification
1d
answered Command to skip process if file exists
1d
answered meaning of [ $? -ne '0' ]. (shell script)
Feb
8
comment Linux equivalent of WinRun4J
Since you're asking in a non-Windows forum, would it be possible to say what, precisely, WinRun4J does? I for one, am not that conversant with Windows, so "equivalent of WinRun4J" doesn't mean a lot, maybe like asking "what's the Windows equivalent of fork()?" in a Windows forum.
Feb
8
comment Can't connect to home WiFi - DHCP problem?
Tell us how wpa_supplicant gets started (like from systemd) and with what flags. Give the output of: ps a -e | grep wpa_supplicant
Feb
5
answered How can I make a service to run on port 80 in Linux? (Details)
Feb
3
comment “link is not ready” error, vanishing network interfaces
Are you running wpa_supplicant? I've had a problem (Arch Linux) that looked a lot like that. wpa_supplicant -u, as started from systemd, would do almost exactly as you describe. Unfortunately, I haven't found a solution other than to not run wpa_supplicant -u, but rather to run it for each specific interface.
Feb
2
comment Troubleshooting new linux system keeps freezing
The times I've had problems that feel like yours, it's been either (a) bad memory stick or (b) video drivers. I have had memory sticks that passed memtest86, but would crash Linux within a few hours. The open source Nvidia drivers are supposed to be really good, aren't they? I also have a superstitious fear of cables. Are the cables all well-seated? Any ribbon cables? Those things go bad at inopportune times.
Jan
30
revised procmailrc and php
A few edits.
Jan
30
comment procmailrc and php
OK, pwd says that, but what does echo $HOME say? And I think the file has to be named .procmailrc for the procmail process to find it. procmail may run with a very small PATH - is php in a directory in $PATH? My .procmailrc file has 644 permissions, somethings things get picky about that (sshd, for instance).
Jan
29
answered procmailrc and php
Jan
29
revised procmailrc and php
Edit to make the "code" sections look like code, instead of a concatenated jumble.
Jan
29
awarded  Good Answer
Jan
28
comment Why can't my servers talk to each other over direct ethernet connection?
What BinaryZebra said! Also, what does ip route say on Server 1? You may need to put a static route on both of them, for each other's IP address.
Jan
26
comment How does a Segmentation Fault work under-the-hood?
@BradenBest - I did the same thing, my code is sloppier than your code. I got no message at all, and my even crappier shell doesn't print a thing. I used waitpid() on each fork/exec, and it returns a different value for processes that have a segmentation fault, than processes that exit with 0 status.
Jan
26
awarded  Nice Answer
Jan
25
revised How does a Segmentation Fault work under-the-hood?
Change a qualified sentence to an absolute: I wrote crsh of my own using execve()
Jan
25
answered How does a Segmentation Fault work under-the-hood?
Jan
25
comment How does a Segmentation Fault work under-the-hood?
crsh is a great idea for this kind of experimentation. Thanks for letting us all know about it and the idea behind it.