Reputation
21,944
Next tag badge:
326/400 score
94/80 answers
Badges
2 26 79
Newest
 Custodian
Impact
~1.8m people reached

  • 0 posts edited
  • 6 helpful flags
  • 2,020 votes cast
Apr
30
comment How to avoid executing a command if a process doesn't exist
You should avoid that ps | grep expdp | grep -v grep usage: unix.stackexchange.com/questions/3340/… There's a race condition in that pipeline that will sometimes cause it to act as if expdp process is not running. It's an ugly, ugly race, and it doesn't occur very often. Usually after working hours.
Apr
30
answered Fork vs Clone on 2.6 Kernel Linux
Apr
30
revised Understand “ibase” and “obase” in case of conversions with bc?
Change some unclear gibberish.
Apr
30
comment Understand “ibase” and “obase” in case of conversions with bc?
@StéphaneChazelas - I have a recollection of "ibase=A" working on a SysVr3 machine in 1989 or so. I bet it goes back farther that Single Unix Spec. I couldn't quickly google up an earlier ref.
Apr
30
answered Is there any program to see sniffed HTTP packets like a web browser?
Apr
30
revised Understand “ibase” and “obase” in case of conversions with bc?
Add reference to OpenGroup spec about "ibase=A" thing.
Apr
30
answered Understand “ibase” and “obase” in case of conversions with bc?
Apr
30
comment How to use SSH to move a file from Ubuntu to Windows?
@Allenph - that's more informative than your question above. WinSCP (winscp.net/eng/index.php) might be your answer. Otherwise, good luck on the Win32 project.
Apr
30
comment How to use SSH to move a file from Ubuntu to Windows?
@Allenph - those details are materially relevant to getting a good answer. I'm not at all certain that whatever distro you're running on your "odroid" will have an SSH server. It might have dropbear or it might have something else.
Apr
30
answered How to use SSH to move a file from Ubuntu to Windows?
Apr
27
comment Jump out of a process when it get stuck
@DavidRicherby - thanks for the consideration. "Say, 10 seconds" sounds like a very informal spec, and to my mind, a requirement conceived of without much thought. But, yes, that makes it not an instance of the Halting Problem.
Apr
27
comment Jump out of a process when it get stuck
Isn't this an instance of the famed "Halting Problem"?
Apr
21
comment What are pending signals?
On a nearly up-to-date Arch linux, kernel 3.14.37-1-lts, zsh, I get sigpending 31603. Why are these limits such weird numbers (i.e. not a power of 2)?
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