Reputation
24,552
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
1 43 78
Newest
 Nice Answer
Impact
~1.9m people reached

11h
comment Filtering content from df output
I strongly doubt the / entry can be anywhere but the first directory displayed by df, given the fact it is the first one mounted by the OS by design and the root of the remaining mounted file systems hierarchy. On the other hand, user1700494's recommendation of using the -P flag is very valid.
17h
answered Filtering content from df output
1d
comment Solaris: Spooling filesystem is full
"See if spooling file system is full" is not a message Solaris 8 used to generate. Please make sure you post the actual message displayed. Also, "not particularly populated" means nothing to the rest of us. Please tell how much space is used in /var/spool, and even more, how much space is available there: df -k /var/spool (as MelBurslan already asked). System messages might also be useful (dmesg).
2d
comment Do I need to backup the files in /opt directory when upgrading Solaris 11 to Solaris 11.3?
Note that going from 11.0 to 11.3 is not an upgrade but a (less intrusive) update. There is no specific need to backup the /opt directory, at least not anymore than any other directory.
2d
comment Trap Ctrl-C in awk script
Yes, start by reading that: gnu.org/software/gawk/manual/html_node/…
Feb
9
comment How do I kill a process given its “command”?
Beware that unlike pkill which is quite consistent, killall has dramatically different implementations depending on the OS used, especially System V based ones like Solaris where it will do what its name says, kill all running processes (regardless of their names.)
Feb
9
comment How do I kill a process given its “command”?
Don't use "-9", that's a last resort option, not something to use routinely. pkill -x P1 is the right way.
Feb
6
revised Difference between “cat” and “cat <”
added 686 characters in body
Feb
5
revised if always false with equal variables
added 143 characters in body
Feb
5
revised if always false with equal variables
added 144 characters in body
Feb
5
answered if always false with equal variables
Feb
5
revised Why does the cd command handle STDIN different than other commands?
added 721 characters in body
Feb
5
revised Why does the cd command handle STDIN different than other commands?
added 27 characters in body
Feb
5
comment Why does the cd command handle STDIN different than other commands?
My bad, cd output to stderr, not stdout. In any case, as I already wrote in my last paragraph, implementing such a feature would be pointless as not compatible with POSIX conforming shells, i.e. cd won't be able to change the current directory, quite a limitation given the fact this command has no other purpose.
Feb
4
answered Why does the cd command handle STDIN different than other commands?
Feb
4
answered Do ZFS zvols on Linux use the arc cache ?
Feb
3
comment Difference between /usr/bin and /usr/local/bin
Not my downvote but you probably want to rephrase at least your last sentence. /usr/bin is also for programs that a normal user may run. By the way, "not normal" users might equally run whatever they choose to.
Feb
3
comment nice command behavior when only 1 function running
You are welcome. By the way, I didn't reply to your comment but you are correct, nice -18 is indeed equivalent to nice -n 18. Raising the priority would have needed nice --18.
Feb
3
comment Difference between /usr/bin and /usr/local/bin
Downvoter(s) motivations are sometimes obscure...
Feb
3
revised Difference between /usr/bin and /usr/local/bin
added 89 characters in body