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

Working mainly with Solaris and Linux.

System administration!


Jul
9
comment How to password-protect a script on Linux?
guess I got lucky with sudoedit without breaking it, updated answer. thanks
Jul
9
revised How to password-protect a script on Linux?
deleted 10 characters in body
Jul
9
revised How can I split a pipe into 16 byte sequences?
deleted 24 characters in body
Jul
9
comment How can I split a pipe into 16 byte sequences?
@frostschutz you are right, I could just pipe straight from the dd instead.I'll update the answer.
Jul
9
comment How to password-protect a script on Linux?
updated the answer with the tools for editing. thanks @slm
Jul
9
revised How to password-protect a script on Linux?
added 25 characters in body
Jul
9
answered How to password-protect a script on Linux?
Jul
8
revised How can I split a pipe into 16 byte sequences?
Adding comment for understanding the script
Jul
8
answered How can I split a pipe into 16 byte sequences?
Jul
8
answered Sending Emails from bash script in Solaris VM
Jul
8
comment Delete Static Routes on Solaris 10
to remove a route permanently, you need to use the -p option. route -p delete
Jul
5
comment Run CentOS 6 from a USB flash drive
sorry, but I can't assume that. I did some experiences a few years back but that was it. Nowadays, I believe it should be a lot simpler. can't you just installing into a usb pen, just like the minimal version to be faster and then try to boot it?
Jul
5
comment Run CentOS 6 from a USB flash drive
from USB I don't remember if it is possible or not. But for sure from a external drive is possible as long as you computer allows you to boot from such disk.
Jul
5
comment Issues with process substitution
edit your post and had the relevant lines of the script and also the error message just like manatwork asked.
Jul
5
comment Load balanced & Redundant Storage on FreeBSD
You should provide more information. But from what I understood and if you are willing to pay for it Oracle ZFS Applicance is one of the ways to go. It's a NAS with load-balancing and redundancy (active-active) mode.
Jul
5
comment how to touch files like report-07/05/13
no really, it will still search for the directory. # touch test\/test touch: cannot touch ‘test/test’: No such file or directory
Jul
5
answered how to touch files like report-07/05/13
Jul
5
comment zpool import - cannot import: one or more devices is currently unavailable
seems like corruption on one of the disks. Have you tried to re-import in the original server?
Jul
4
revised Renaming or making filenames unique
Editing to take into account the latest updates from OP
Jul
4
comment Renaming or making filenames unique
Deadlock could occur if someone cancels the script between creating the lock file and removing it, otherwise you should be fine, the work around to robust this more would trap the signal into the script and treat them accordingly.