- Recursively add files and foldes into CVS
find . -type d -print | grep -v CVS | xargs -n1 cvs add
- Delete “.svn” files from current folder
find . -type f -exec echo \"{}\" \; | grep ".svn" | xargs rm
Anything that interests me
find . -type d -print | grep -v CVS | xargs -n1 cvs add
find . -type f -exec echo \"{}\" \; | grep ".svn" | xargs rm
Here’s some steps which I frequently use to configure Ubuntu to work as EC2 manager
Continue reading ‘Quick steps to configure Ubuntu for with EC2 API’ »
Sun Grid Engine’s top engineer Richard Hierlmeier wrote article ( and some bash scripts which implements it – btw why you not to put it them onto your cvs? ) about using SDM in compute cloud ( here’s EC2 as example, I suppose that GoGrid can be used also without too many changes ) – Using SDM Cloud Adapter to Manage Solaris Zones.
My way – run sqlplus, spool in using html markup and convert this html onto text by using sed replacements. It works fast enought, and better than parse resulted text by spool without markup. Bash script which impelement it is under below Continue reading ‘How to dump oracle table into tab separated text file ( csv )’ »
Actually newbies in Solaris ( and experienced users in Linux
) have troubles with some every-day routines which works in Solaris in a different way than in most Linux like Ubuntu. Below I try to list most ”popular” problems and questins about differences in Solaris and Linux and try to figure them out.
grep 'somestring' `find . -name '*'`
find . | xargs grep 'somestring'gzip -dc my_archive.tar.gz | tar xvpf - if [ -f ~/.bashrc ]; then
. ~/.bashrc
fiTo be continued…
Usefull links : Solaris Infrequently Asked and Obscure Questions