Reputation
Next tag badge:
768/1000 score
208/200 answers
Badges
23 237 421
Newest
 Necromancer
Impact
~8.4m people reached

Apr
22
awarded  Necromancer
Apr
22
comment Portability of “> /dev/stdout”
What was your test case? bash is special as it can be compiled to handle /dev/fd/x by itself for redirections on systems that don't have /dev/fd
Apr
22
revised Matching n letter filename with ls
That's GNU specific syntax.
Apr
22
revised Linux nuisance: /dev/stdin doesn't work with sockets
/dev/fd is a BSD invention AFAICT
Apr
22
comment Portability of “> /dev/stdout”
Related: Portability of file descriptor links
Apr
22
revised How to subtract 1 from numbers matched by regular expression?
added 253 characters in body
Apr
22
revised How to subtract 1 from numbers matched by regular expression?
added 122 characters in body
Apr
22
answered How to subtract 1 from numbers matched by regular expression?
Apr
21
comment Block Particular Command in Linux for Specific user
/etc/profile.d/ is not for bash completion, it's where to place login session customisations for users using POSIX-like login shells, so it's typically not where bash alias customisations (which would rather go in /etc/bash.bashrc) would go and it should have a POSIX shell syntax (so typically, . instead of source and = instead of ==).
Apr
21
revised Block Particular Command in Linux for Specific user
formatting
Apr
21
reviewed Leave Open CentOS: Fatal error: Call to undefined function exif_imagetype()
Apr
21
reviewed Leave Open Feasibility of open source OS that is binary compatible with OS X?
Apr
21
comment Shell script for executing programs within a loop and checking their exit values
@Bwawhwmopoloin, what the shell sees is the exit status of the process. Exception is a paradigm of some programming languages. If those exceptions cause the process running the application compiled from the source in that programming language to die with a non-zero exit status, then yes, the shell (the || operator above) or perl (when we check for $?) will take it into account.
Apr
21
revised Grep file modified in 24 hours unix
added 9 characters in body
Apr
21
comment Why can't Korn Shell do ctrl-r?
It only uses gmacs on Solaris because of /etc/ksh.kshrc there. With STREAMS, the tty line discipline is typically implemented as a STREAMS module. On Solaris, that's the ldterm module pushed on serial/pts/console... devices. If Solaris didn't have line disciplines, then it couldn't load different disciplines on serial devices like on other systems. In anycase, I was refering to the line editor implemented in that line discipline, and you can't argue that Solaris doesn't have such a line editor.
Apr
21
revised Grep file modified in 24 hours unix
added 161 characters in body
Apr
21
comment Grep file modified in 24 hours unix
What do you mean by user and owner?
Apr
21
answered Grep file modified in 24 hours unix
Apr
21
revised Shell script for executing programs within a loop and checking their exit values
added 875 characters in body
Apr
21
answered Shell script for executing programs within a loop and checking their exit values