1,850 reputation
611
bio website
location
age
visits member for 2 years, 3 months
seen 5 hours ago

Mar
4
comment Ping from Outside: How do I make my system invisible?
@zebonaut yes, sorry. this is typo. I fixed the answer
Feb
27
comment Is there some sort of “no newline at eof” rules for bash scripts?
try to convert it to unix-style line endings with dos2unix
Feb
26
comment Huge page and performance improvemnt
@kevin because the probability that your subsequent memory access causes TLB hit is much higher with 2Mb pages than with 4Kb pages. Thus, the overhead to get proper Page Table Entry is lower.
Feb
26
comment grep: invalid content of \{\}
there are only 10 digits including '0'
Feb
24
comment Server returning 'Not Found' for “www.host.com” but not “host.com”
@MichaelKjörling yes, I mean the potential case.
Feb
24
comment Use UMTS Stick as a “dial in” modem - no dataplan required
At least the data calls should be enabled for both SIMs and this is not the same as a voice call
Feb
24
comment Server returning 'Not Found' for “www.host.com” but not “host.com”
@slowBear CNAME or A is not important - both will let the thing to work properly (provided CNAME points to the resolvable name). You may add A record or CNAME - it is up to you. There is no standard that enforces you to use CNAME in this case. CNAME simplifies management tasks, but it is not a must. Also, CNAME leads to a subsequent query on the name it points to.
Feb
23
comment ping receives no packets, but tcpdump can see them coming in
ups, sorry, I missed that you cleared out iptables.
Feb
23
comment ping receives no packets, but tcpdump can see them coming in
please post also the output of ipchains -v -L INPUT
Feb
22
comment Is there a linux distro, that is not installed, but runs from the browser?
@Marco, derobert chrome running on i5-2520M at 2.5GHz did compile hello.c in 5 minutes. However, I believe that Fabrice Bellard cross compiled the kernel on some more suitable platform :)
Feb
22
comment How to safely enlarge a gzipped file?
It is safe in a sense, as the gzipped stream has the End-Of-Stream encoded in it, so if the code that expands the stream 'discards' whatever is appended then it is OK to do so.
Feb
20
comment Split PDF into colour and black/white pages
What is the actual reason to split it? Are you going to print it on two different printers?
Feb
19
comment Changes to files don't show up until the partition is unmounted
No. As soon as you have root access nothing is able to prevent you from corrupting your system. However most regular tools are at least warns you when you try to do something with a mounted fs. The reason for such behavior is performance. However, you could try the sync and dirsync options with mount as the other answer suggests
Feb
19
comment Changes to files don't show up until the partition is unmounted
Generally, this is not a good idea at all to make the modifications to the files on fs and read its raw partition at the same time. The only method to make the fs image or partition completely consistent is to unmount it.
Feb
19
comment Why can't I trim a file using `head`?
well, first bash (or the shell you are using) opens/creates the files it will use for redirection. Then it replaces the currently used file descriptors for stdin, stdout and stderr with the file descriptors it created for redirection as necessary. Then it executes the fork and exec system calls to start a new process thus the started process has the standard files redirected. Then bash restores its original file descriptors for itself. This is roughly what happens.
Feb
17
comment Email Sent via root@domain.com despite modifying /etc/aliases
I am sorry, not really. You typed in the From: header already containing noreply@domain.com address at submission. The From: header and the envelope from address is not the same thing. Please check the Return-Path: header in the headers of the received e-mail. This address will be used to return any Delivery Status Reports when delivery fails, not the address in the 'From:' header.
Jan
24
comment The right way for dynamic ssh port-forwarding
what output is produced by 'netstat -lntp'?
Oct
27
comment systemd service that needs .ssh/id_dsa password
@romeovs fixed, thanks
Oct
27
comment Changes made to ifcfg-wlan0 doesn't seem to make a difference
TYPE=ireless - I believe it should be TYPE=wireless
Oct
27
comment systemd service that needs .ssh/id_dsa password
I suppose you mean that it needs to access not your public, but private key. Am I correct?