Reputation
22,257
Next tag badge:
332/400 score
95/80 answers
Badges
2 28 79
Newest
 Yearling
Impact
~1.9m people reached

  • 0 posts edited
  • 6 helpful flags
  • 2,039 votes cast
Apr
27
comment Jump out of a process when it get stuck
Isn't this an instance of the famed "Halting Problem"?
Apr
21
comment What are pending signals?
On a nearly up-to-date Arch linux, kernel 3.14.37-1-lts, zsh, I get sigpending 31603. Why are these limits such weird numbers (i.e. not a power of 2)?
Apr
20
answered How is a directory a “special type of file”?
Apr
19
comment When does one need to export a variable?
@Jarmund - I believe that's correct. man crontab gives me this: Edits the current crontab using the editor specified by the VISUAL or EDITOR environment variables. I still occasionally have to export something in .profile or '.zshenv` or whatever to get some random program to work the way I want it to.
Apr
19
answered When does one need to export a variable?
Apr
16
comment What is `/tmp/.X11-unix/`?
@goldilocks - an interesting assertion.
Apr
16
comment When I cd through a symlink, why does pwd show the symlink instead of the real path?
ls -l /proc/$$/cwd takes advantage of the kernel's /proc filesystem interface.
Apr
16
answered What is `/tmp/.X11-unix/`?
Apr
15
answered The «sh» being launched with execl() becomes a zombie
Apr
14
comment How to monitor the “raw” port of the bonded network in RedHat 4/5?
Can you check the eth? devices that have the same HWaddr as bond0 using ethool or mii-tool? Both of those programs say something about "like detected" or "link ok" when the cable is connected on both ends.
Apr
13
comment How to get scapy to sniff on the correct interface?
How about adding the output of ifconfig -a to your question, so we can see what interface names exist, and their settings.
Apr
11
comment Is there classification of Linux Server and Desktop?
@Anthon - you shouldn't really have to reconfigure the kernel, as the distinction between "desktop" and "server" is artificial, created by coporate entities to (1) make more money by selling "server editions" at a higher price and (2) discourage people from thinking correctly about communication, protocols, and their own place in the world.
Apr
7
comment KSH - if/then/else vs. double amps (&&) and double pipes (||)
Your first example is a fairly unusual style. Can't say that I've ever seen anyone use that consistently. I can't think of anything to say to not use it, however.
Apr
6
revised awk floating point arithmetic - surprising result
Add link to an article about spacing of floating point numbers in IEEE 754 type representations.
Apr
6
answered awk floating point arithmetic - surprising result
Apr
6
answered Tool to generate TCP traffic
Apr
2
comment Get Any Interface's Router Address
@LingyuanHe - You could do: ip route | grep enp3s0 | awk '{print $9}'
Mar
29
comment Opening a TCP port in Linux
Your example server code works better with Python 2.7 than it does with Python 3. You should probably say what version of Python you use.
Mar
27
comment Does the inode change when renaming or moving a file?
How about a comment about why you downvoted it? Is the above counter-factual, or irrelevant, or are you just a big fan of NTFS and VFAT?
Mar
27
answered Does the inode change when renaming or moving a file?