Reputation
Next tag badge:
95/100 score
27/20 answers
Badges
2 25 73
Newest
 Nice Answer
Impact
~1.6m people reached

  • 0 posts edited
  • 6 helpful flags
  • 1,944 votes cast
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?
Mar
25
comment Solaris 10 system - used disc space keeps on increasing even after deleting the directory
@lugiegu has remembered something I forgot. fuser is a Solaris program that does different stuff than lsof. Give it a try.
Mar
24
comment What is the reason for having numbers within the brackets of a function ?
I agree with Al Hazred here. The question is, in fact, different, due only to the variant interpretations of exec(2).