311 reputation
5
bio website
location
age
visits member for 9 months
seen May 20 at 9:00
stats profile views 8

Apr
11
comment Triple compression and I only save 1% in space?
Every time I've used xs it's given a lot better compression, but a lot slower to compress. For example 50% to 25% but 20 seconds to 4 minutes (on text).
Oct
8
comment What happens when you delete a hard link?
The key is that creating the text file also adds a hard link. In *NIX filesystems, all files (inodes) must be hardlinked at least once into the directory structure.
Oct
8
comment What happens when you delete a hard link?
@cjm Opening a file adds a new hardlink in /proc. The same logic then appiles.
Sep
19
comment Why can rm remove read-only files?
@Magnus then don't use rm -f, yes | rm or rm <yes
Aug
14
comment How can I get a static C compiler?
@Gilles The best way to get a C compiler as a standalone binary is to build it from source using a complier you already have.
Aug
14
comment Why can't I run this C program?
And on an HPUX box it's /opt/ansic/bin/cc.
Aug
14
comment Why can't I run this C program?
Just checked a couple of Solaris boxes, and /usr/bin/cc links to /opt/SUNWspro/bin/cc on one and /opt/sunstudio12.1/bin/cc on the other. Regardless, it's still a C compiler.
Aug
14
comment Why can't I run this C program?
@BruceEdiger learning how fork() works includes learning that it can copy buffered output. Being a reasonably complicated system call, some confusion is probably necessary in the learning process.
Aug
13
comment Why can't I run this C program?
@BruceEdiger Why the need for _exit? What's wrong with doing any cleanup that's been registered?
Aug
13
comment Why can't I run this C program?
Just a note that the tools I named are not the only ones available, but are likely to be available by default on a GNU/Linux system and are widely used.
Aug
13
comment Why can't I run this C program?
If "compiler" is part of the name of the tool, I would call that reasonably explicit.