Reputation
6,383
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 17 34
Impact
~997k people reached

2d
comment What are pid and lock files for?
@Pacerier - Lock files in this fashion are probably more often used by things like shell scripts, or programs that might interact with shell scripts, since Unix/Linux shells interact with the filesystem very easily, versus other synchronization primitives. Files also easily persist across disparate processes. A high performance program would obviously probably perfer native OS primitives versus files to synchronize things internally or even versus other processes that aren't shells.
2d
awarded  Nice Question
Apr
2
comment Remove all brackets in filename
All I get when trying this is "syntax error at (user-supplied code) line 3, at EOF \ Missing right curly or square bracket at (user-supplied code) line 4, at end of line"
Mar
22
awarded  Popular Question
Mar
16
answered Tunneling multiple ports through a single port
Feb
1
awarded  Guru
Jan
6
answered Change LAN MAC on DD-WRT router for swap
Jan
5
comment Writing a TCP server in bash
TCP doesn't do packets either, but streams.
Dec
31
awarded  Yearling
Dec
28
awarded  Good Answer
Dec
2
awarded  Good Answer
Nov
9
comment Does the suid bit have any meaning for device files?
You don't execute a device file so it won't have any effect.
Sep
30
answered Encrypt a hash using RSA
Aug
30
comment Confusing my IP stack
What's the subnet of all these interfaces (are they all really /16 or 255.255.0.0?) What's the "entirely different subnet" you are pinging from? If this is a Linux system, the output if ip addr show would be helpful. It sounds like there is a problem with the subnet addresses assigned off the top of my head.
Aug
19
comment What is kernel ip forwarding?
Your NIC can actually receive all traffic on the subnet by design - if you have it connected to a hub, not a switch. It won't forward it out of the default gateway since it has a direct connection to that network 192.168.2.0/24 already. So I believe it will drop it.
Jul
1
awarded  Nice Answer
Jun
5
awarded  Good Answer
May
31
comment Difference between /bin and /usr/bin
Makes sense because /bin/false is used to prevent an account from obtaining a shell on login. You need to change /etc/passwd from a different account or a rescue boot.
Apr
20
answered What exactly does init do?
Feb
10
comment Run crontab only if condition
monit can check websites through ping or HTTP access and be customized to issue alerts intelligently.