421 reputation
28
bio website aholzner.wordpress.com
location
age
visits member for 4 years
seen Dec 19 at 13:50

Jun
24
comment Listing packages in Yum that depend on another installed package
you're missing an 's' at the end of --whatrequire
Jun
20
answered cfgmgr like command under Linux?
Jun
19
comment getting error “Can't create transaction lock” with rpm
does the directory /mnt/fedRoot/var/lib/rpm exist ? in analogy to redhat.com/archives/rpm-list/2007-May/msg00046.html , what does rpm --root=/mnt/fedRoot -E '%{_rpmlock_path}' say ?
Jun
19
awarded  Nice Answer
Jun
19
comment Is '-9' a flag to kill command?
@Faheem, you can always use 'absolute' process numbers with /bin/kill but not things like %1 (which refers to the first job in the list of backgrounded jobs known to the shell)
Jun
19
comment How to pipe the result of 'date' command to 'mv' command
One should emphasize that these are backticks around the date command, not ordinary single quotes.
Jun
19
awarded  Commentator
Jun
19
comment Is '-9' a flag to kill command?
@Faheem, I think it's because the built-in commands have access to more information, such as the history of started commands, which /bin/kill seems not to have. For example, kill %1 works for the built-in command but not with /bin/kill (although one could argue that in principle the shell could expand %1 to the corresponding process id).
Jun
19
comment Is '-9' a flag to kill command?
you can always do builtin kill to ensure that the built-in command is executed. But I bet that you were running the built-in kill -l when you got the numeric values of the signals. Contrary to what I posted before, /bin/kill -l only gives me names, not numbers (and I didn't know that bash has a built-in kill command as well).
Jun
19
revised Is '-9' a flag to kill command?
corrected which kill command one has to use to get the numeric list of signals (I though I was using /bin/kill from bash but it turns out that bash has a built-in kill command as well)
Jun
19
comment Is '-9' a flag to kill command?
@Faheem, yes zsh has a builtin kill command. Looking through the corresponding section of man zshbuiltins it's however not clear how it differs from the procps kill command. Accidentally, I noticed that I can do sleep 1000 & and then kill %sleep which kills the sleep command I started (it kills the most recent one if there are multiple). /bin/kill %sleep does not work on the other hand. By the way, bash seems to have a builtin kill command as well, it just is not reported by which kill (one has to do type kill to reveal this).
Jun
19
comment Is '-9' a flag to kill command?
thanks for the comment, I'updated the answer.
Jun
19
revised Is '-9' a flag to kill command?
added output of /bin/kill -l, removed hint about /usr/include/asm/signal.h
Jun
19
comment Is '-9' a flag to kill command?
it turns out that I was running zsh's builtin kill command, not /bin/kill (which actually lists the numeric values as you say)
Jun
19
revised What determines whether an interrupt is IO-APIC-edge or IO-APIC-level?
added 411 characters in body
Jun
19
answered What determines whether an interrupt is IO-APIC-edge or IO-APIC-level?
Jun
19
comment Is '-9' a flag to kill command?
interesting, I'm running Ubuntu (which is Debian based as far as I know). On the other hand, I just noticed that man kill list numeric values for some of the signals.
Jun
19
awarded  Teacher
Jun
19
revised Is '-9' a flag to kill command?
added 371 characters in body
Jun
19
awarded  Editor