553 reputation
210
bio website
location Germany
age 30
visits member for 3 years, 10 months
seen Jun 30 at 11:42

CS student


Sep
19
comment Allow www-data to execute a a script
Does the server support ACLs? Do you have root access?
Jul
22
comment How to limit log file size using >>
this limits the size of any file written by the program
Jul
1
comment Bonding wireless and 3g on Fedora 15
The last paragraph is plain wrong. If he uses IP routing and routes half the internet to one gateway and the other half to another, the bandwidths will add up just fine.
Jun
15
comment Overheating results in system shutdown
You're giving legal advice to people from Vietnam? ;)
Jun
9
comment Bash executes a different file from the one prompted, even when providing full path
what happens if you chmod -x the one you don't want?
May
30
comment The merits of a partitionless filesystem
another con: makes it harder to later split the partition into two.
May
26
comment Find server with small ping latency (my script, but can anyone write it in e.g.: Perl?)
ping measures latency, not throughput. Thus it is useless for comparing ftp servers.
May
26
comment Does optimizing for size reduce runtime memory usage as well as binary size?
While possible in theory, changing the layout would break compatibility with binaries compiled without -Os. There is also the question of what the C standard requires.
May
26
comment Does optimizing for size reduce runtime memory usage as well as binary size?
@KeithB: The man page of gcc clearly says -Os optimizes for code size. Packing and unpacking data structures would increase code size.
May
26
comment Does optimizing for size reduce runtime memory usage as well as binary size?
I don't think so. The size of the code is reduced, not the size of the data structures.
May
25
comment Is there a way to get the min, max, median, and average of a list of numbers in a single command?
yeah but your issue has been "worked out" a million times before and it seems you didn't even try to do it yourself. I always work on the issues myself before asking here and you should do the same, espescially if you want to gain knowledge.
May
25
comment Is there a way to get the min, max, median, and average of a list of numbers in a single command?
since you already know about bc, why can't you write it yourself?
May
22
comment Which book would you recommend to gain enough foundation to learn Linux well enough to be a lead developer?
This is like asking for a book that teaches you how to ride a bicycle.
May
22
comment Which book would you recommend to gain enough foundation to learn Linux well enough to be a lead developer?
This isn't what he wants, as it is not about administration. It's not entirely your fault though, since he is looking for a magic book.
May
19
comment tell xfce to resize all windows when external monitor unplugged
good point, added the link. You won't need to download it manually though, as there should be packages for most ditributions.
May
16
comment setpci - Making a script to manually change brightness
if xbacklight doesn't work for you, why not file a bug?
May
11
comment Common multiple SSH connections file handling issue
It is working right now
May
11
comment Log every invocation of every SUID program?
I guess one could write a script to first get all SUID binaries with find and then use your solution for each one. Not elegant, but certainly doable. Thanks!
May
11
comment Common multiple SSH connections file handling issue
that is weird, I do this all the time and it works. Maybe it has something to do with password versus key authentication?
Apr
28
comment bash script is trying to execute a variable
nice answer, but this would be more readable: if [[ "$variable" =~ ^[0-9]\{1,\} ]]