1,854 reputation
314
bio website bitsofnix.wordpress.com
location
age
visits member for 1 year, 9 months
seen Sep 10 at 8:28

Working mainly with Solaris and Linux.

System administration!


Oct
24
comment Solaris SMF vs Linux Upstart
something like this: wiki.gentoo.org/wiki/Talk:Comparison_of_init_systems
Oct
24
comment A shell script that never dies
@Johnny thanks, I amended the answer.
Oct
24
revised A shell script that never dies
completing the answer to match better the question
Oct
24
answered A shell script that never dies
Oct
22
comment for vs find in Bash
You are right, I added the maxdepth 1 so that it sticks to the current level only.
Oct
22
revised for vs find in Bash
correcting in correction to slm comment.
Oct
22
answered How to catch an error in a linux bash script?
Oct
22
comment for vs find in Bash
changing the hard limit is hardly a proper workaround from my POV. Specially when talking about 2+ million files. Without digression from the Question, for simple cases as one level directory for is faster, but if you change your file/directory structure it will be harder to migrate. While with find and it's huge amount of options you can be better prepared. Still I still strongly suggest to not use * and . for find instead. It would be more portable than * where you might not be able to control the hardlimit ...
Oct
22
answered for vs find in Bash
Oct
8
comment Java PATH issue when installing JDK7 on centos 32 bit
CentOS does not user 'alternative' command for this? '/usr/sbin/alternatives –install /usr/bin/java java /usr/java/latest/bin/java 20000'
Sep
23
comment How to monitor average stats of CPU and memory usage of a Solaris server using scripts?
check sar utility.
Sep
23
comment Yum update error: Could not retrieve mirrorlist
did you try to access the url by browser? are you behind a proxy? what happen when you nslookup the urls?
Sep
22
comment VirtualBox Guest Additions causes problems with X server in Fedora 18. How to solve without reinstalling?
check VM settings in vbox for the display. disable 3d acceleration
Sep
20
answered VirtualBox Guest Additions causes problems with X server in Fedora 18. How to solve without reinstalling?
Sep
18
comment Why isn't the first executable in my $PATH being used?
that is weird! I just tested with ls and put in my case in /usr/local/bin and after copying the file which reported the first instance in the $PATH. Using bash 4.2.45
Sep
16
comment Drive keeps rebooting and wait for manual fsck
have you checked the logs ??
Sep
15
comment I broke zypper somehow; zypper: /lib64/libresolv.so.2
if you install something with yum you can check the history with yum history and track what step you did to downgrade the pkg.
Sep
12
answered Using tcpdump to extract NFS RPC contents
Sep
12
comment Using tcpdump to extract NFS RPC contents
and for NFSv3 I see file contents but no filename :S
Sep
12
comment Using tcpdump to extract NFS RPC contents
What operation are you trying to do on the file? For instance, if I do vi filename, I can see a NFS call Open DH: hex value <filename>. NFSv4 after the GETATTR