Reputation
Next privilege 125 Rep.
Vote down
Badges
4
Newest
 Teacher
Impact
0 people reached

Apr
1
comment tell yum to ignore a single dependency
Neither --exclude nor --skip-broken helps bypass one or more dependencies in the way that rpm --nodeps does.
Mar
25
comment PostgreSQL update problems with uuid
yum --enablerepo=epel install uuid
Feb
10
comment How do I prevent accidental rm -rf /*?
@VictorSergienko, with bash, how about specifying ${FOO:?}, as in rm -rf ${FOO:?}/ and rm -rf ${FOO:?}/${BAR:?}. It will prevent it from ever translating into rm -rf /. I have some more info about this in my answer here.
Nov
10
comment What is a good solution to encrypt some files in unix?
It should be noted that zip encryption is rumored to be crackable.
Oct
29
awarded  Teacher
Oct
29
revised What version of RHEL am I using?
Added a missing rhel clone name (slf).
Oct
29
suggested approved edit on What version of RHEL am I using?
Oct
29
awarded  Editor
Oct
6
comment How do I pipe a downloaded file to standard output in bash?
-s won't hurt to make it quiet, particularly with a small file.
Sep
24
awarded  Commentator
Sep
24
comment Why use Chef/Puppet over shell scripts?
Idempotence is hardly impossible with ss. Dependencies are managed well by yum/apt, etc. Acceptance is irrelevant. Community knowledge exists for ss. I accept, however, that not having to copy over a bunch of scripts, and also configuring systems centrally, are both useful. I hear puppet requires a client-side agent.
Sep
24
comment Why use Chef/Puppet over shell scripts?
Actually my chmod does not assume that the file exists because the file was either created by or tested-for-existence by the script.
Sep
24
comment Why use Chef/Puppet over shell scripts?
Are shell scripts somehow less formalized? Does quoting job ads make an argument convincing? And a devops is quite a shame, for s/he is underexploited as a developer. The link says nothing really about scalability. Is the claim that shell scripts are not scalable? I think Puppet is interesting, but not necessarily for the reasons in the answer.
Aug
18
comment How to prevent “ps” reporting its own process?
Doesn't work so well on Linux.
Jan
21
comment deleting linux cached ram
sync && /sbin/sysctl -w vm.drop_caches=3
Jan
21
comment How to clear all cache files in linux server ( RHEL 5)
sync && /sbin/sysctl -w vm.drop_caches=3
Aug
29
comment Using bash, how can i find out the average, max and min from a list of numbers?
I would just put the above awk pattern in /usr/local/bin/stats or such, and then use it as blabla | stats.
Feb
25
awarded  Supporter
Feb
25
comment what permission to write PID file in /var/run
@michel, the author never said to do a chmod on /var/run. The author may have meant it for the application subdirectory. Not sure what all the fuss is about.