918 reputation
410
bio website gl.glglgl.gl
location Saarbrücken, Saarland, Germany
age 37
visits member for 3 years, 4 months
seen Dec 16 at 10:23

profile for glglgl on Stack Exchange, a network of free, community-driven Q&A sites


Dec
10
comment Why is a named pipe as slow as writing to a file?
Writing to /dev/null is actually quite cheap, while writing anywhere else - be it a file, a FIFO, a pipe or whatever - is much more expensive as it needs "a lot" of handling effort.
Nov
3
comment Why do directories need the executable (X) permission to be opened?
Great answer, but too focused on the term "working directory". I need the x bit for any access to this file: for cat a/b/c/d, I need the x bit on all a, b and c, even if I don't use them as cwd.
Oct
30
comment Why can Shell builtins not be run with capital letters but other commands can?
@chepner OMG. Ant they still call it kind of Unix, do they?...
Oct
27
comment Is >&- more efficient than >/dev/null?
@psmears Working with mmap() and defaulting to read()/write() in the case of failure would definitely be an option...
Aug
22
comment What does `mv ./*` without specifying destination do?
"I'm surprised that mv accepts 1 argument" It doesn't. It accepts all arguments the shell passed to it after expanding the *.
Aug
9
awarded  Yearling
Jul
6
revised How to zip a file and save it in another directory
changed the tags and the wording of the question.
Jul
6
suggested approved edit on How to zip a file and save it in another directory
Jul
6
comment How to zip a file and save it in another directory
You don't do that on PuTTY. PuTTY is just the tool you use to access the "other" computer; so it is not a PuTTY question, but (maybe) a shell one.
Jun
24
comment “mv” command— file vanished into non-directory
"Worse, my file seems to have disappeared. A new file, myuser@mywebsite.org, has appeared" What MIGHT be the content of that file? Don't you want to guess?
Jun
9
awarded  Caucus
Jun
8
comment ctrl c vs. ctrl z with foreground job
"Wouldn't the other way make more sense?" Could you specify why you think it would?
Apr
23
comment Is making /var/log directory read only on debian linux safe?
FHS is not by Deban; they only cite it. It is a standard which is relevant for all kind of Unixes and alike systems.
Apr
18
comment SSH: “Connection closed by remote host” randomly while working on an interactive session
It is a workaround, ad it is even inferior to screen. t does not prevent these disconnects from happening...
Apr
2
comment How to freeze current task order?
"but still get updates for their values"...
Apr
2
comment How to tell which file is original if hard link is created
Counterquestion: If you do ls > a; ln a b; rm a; ln b c, which one is "more original" than the other? a is gone, you are left with b and c...
Mar
31
comment saving in /tmp is not really saving?
@Graeme Exactly.
Mar
30
comment saving in /tmp is not really saving?
@Darkhogg and Graeme, please note that the defaults should not be tampered with without need. The FHS says that /tmp should be expected to be cleared at every reboot, and that files to be saved for longer shouldn't be saved there. So I don't see the need to change that.
Mar
11
revised cron Vs. sleep - which is the better one in terms of efficient cpu/memory utilization?
backticks inside backticks are special.
Mar
11
suggested approved edit on cron Vs. sleep - which is the better one in terms of efficient cpu/memory utilization?