1,788 reputation
212
bio website bitsofnix.wordpress.com
location
age
visits member for 1 year, 4 months
seen 19 hours ago

Working mainly with Solaris and Linux.

System administration!


Nov
6
comment How to set up an SSD as a cache for the big Hard Drive?
you have to patch due to your kernel version. centos is on 2.6 while the main version now is 3.x. you can check the change log of centos kernel and verify if they added the solutions provided or if you have to patch your kernel.
Oct
28
comment Create Zip for each subfolder but containing only matched files
Updated the question. This should work but if a directory does not have any match for the filesnames it will throw a error / info stating "nothing to do", so no zip file will be created anyway.
Oct
28
revised Create Zip for each subfolder but containing only matched files
added 67 characters in body
Oct
28
comment How to unpack a downloaded tar.bz2 archive?
clearly you are not aware of how to navigate in linux. Check this links: linuxcommand.org/lts0020.php and en.wikibooks.org/wiki/Linux_For_Newbies/Command_Line. They will help you understand how to navigate in the command line.
Oct
28
answered Create Zip for each subfolder but containing only matched files
Oct
28
comment Samba 2.2.12 accepts my password, but is rejecting other user accounts?
also check your share policy in the clients and compare with the working one: Local Computer - Policy->Computer Configuration->Windows Settings->Security Settings->Local Policies->Security Options, the value Microsoft network client: Digitally sign communications. I believe that in the working one this might be disable and in the non working set as always. Give it a try.
Oct
28
comment Samba 2.2.12 accepts my password, but is rejecting other user accounts?
What is the config of the share? Can we see it? Also are all the clients the same I mean Windows 7 systems?
Oct
27
comment Overriding amended time stamps
Did you try to debug to see why only works the first time? You have a logic error there that you did not take into account. suggestion: put set -x before IFS and set +x after done. then run the script twice and you will understand why it's adding timestamps.
Oct
26
comment how to install yoono-desktop?
this is more of a question to: getsatisfaction.com/yoono but in any case, yum works with rpm, the file available at the site is a tar.bz2. Generally you download and do bunzip2 <file>; tar xfv <file_without_bz2> and then run
Oct
25
comment Accessing a different computer on the network
take a look into samba software. you will need smbclient and smbmount if you want to mount the shares. Assuming all shares are SMB based.
Oct
25
answered find: combining -path and -prune to exclude files and directories
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