Reputation
18,223
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 30 60
Newest
 Nice Answer
Impact
~1.1m people reached

2d
comment Checking if a specific key is pressed in shell script
How do you plan to handle different users logging in to the machine?
May
22
comment What is the difference between /opt and /usr/local?
@jla I assume your last comment was directed to me so please use @ xxx when replying to someone else that the OP or the reply author. About /etc/opt, the FHS doesn't say it is a recommended location (as a guideline) but a mandatory location. You or Netbeans developer are free to violate that standard as there is no authority to enforce it, but don't tell doing it wrong is the way to go. It is just an unfortunate misunderstanding or deliberate violation.
May
21
comment Is it possible to execute a binary without specifying the full path or the preceding './'?
I upvoted your reply to temper that trend ...
May
21
comment Is it possible to execute a binary without specifying the full path or the preceding './'?
No problem. The OP should really clarify what he means with "outside of a shell".
May
21
comment Is it possible to execute a binary without specifying the full path or the preceding './'?
An alias is shell specific while the OP specifies "outside of a shell".
May
21
answered Is it possible to execute a binary without specifying the full path or the preceding './'?
May
20
reviewed Approve How can I safely get the version of ksh?
May
18
comment X Windows special programs: do some of these still exist?
My mistake for xroaches, xroach was correct indeed.
May
18
comment X Windows special programs: do some of these still exist?
The correct names for the missing ones are xroaches and oneko
May
18
answered directory structure vs file system
May
17
answered How to perform grep on 'man unix_command'?
May
14
comment Where does network waiting go in 'top'?
Not necessarily waiting for network resources. It might be simply the CPU is fast enough to complete all what is to be done. The high load average is possibly caused by a very high number of threads simultaneously competing for a CPU but during very short spurious periods of time.
May
14
revised Where does network waiting go in 'top'?
added 29 characters in body
May
14
answered Where does network waiting go in 'top'?
May
13
comment passwd does not work after change CRYPT_DEFAULT
Remove what remains from this package (pkgrm SUNWpr) then reinstall it.
May
12
comment passwd does not work after change CRYPT_DEFAULT
Please run the commands I posted and tell what they display.
May
6
answered passwd does not work after change CRYPT_DEFAULT
May
2
comment How can I safely get the version of ksh?
pdksh and derived shells are indeed protected by having the KSH_VERSION variable readonly but AT&T ksh ones are not. Releases older than ksh93t (2008) don't set it and accept it as a variable name with no restriction. Any script based on KSH_VERSION can easily be fooled if that variable has previously been exported or is set in a .kshrc file. ksh93t and newer still do not segfault if this variable is set by an initialization script. ksh93t to ksh93u only segfault it the variable is already set in their starting environment. Segfaulting was a bug that has been fixed in ksh93v.
May
2
comment How can I safely get the version of ksh?
If the ENV variable is set (and typically it is set to ~/.kshrc), the script will definitely read the .kshrc file. Of course, it would be quite odd for a script to set a bogus KSH_VERSION but this is nevertheless possible, just like explicitly executing a script with a different interpreter than the one specified in its first line is a possible situation.
May
2
comment How can I safely get the version of ksh?
This would fail if some previously executed code (eg: .kshrc) tampered the KSH_VERSION variable with some random value.