ImageMagick: put white background under transparent PNG, then invert colors?

I have a PNG image with a black shape on transparent background. I need a white shape on a solid black background in...

Getting an “ambiguous redirect” error?

The following line in my Bash script echo $AAAA" "$DDDD" "$MOL_TAG >> ${OUPUT_RESULTS} gives...

Getting an “ambiguous redirect” error?

The following line in my Bash script echo $AAAA" "$DDDD" "$MOL_TAG >> ${OUPUT_RESULTS} gives...

Echo tab characters in bash script?

How do I echo one or more tab characters using a bash script? When I run this code res=' 'x # res = "\t\tx" e...

How to call one shell script from another shell script??

I have two shell scripts, a.sh and b.sh. How can I call b.sh from within the shell script a.sh? ...

unix diff side-to-side results??

How can I plot the results of a unix diff command side-to-side instead of one difference after the other? See below ...

RVM is not a function, selecting rubies with 'rvm use …' will not work?

List the ruby versions console:~$ rvm list rvm rubies ruby-2.0.0-p481 [ i686 ] # => - current # =* - current...

find: missing argument to -exec?

I was helped out today with a command, but it doesn't seem to be working. This is the command: find /home/me/downlo...

How do I reload .bashrc without logging out and back in??

If I make changes to .bashrc, how do I reload it without logging out and back in? ...

How do I reload .bashrc without logging out and back in??

If I make changes to .bashrc, how do I reload it without logging out and back in? ...

How do I reload .bashrc without logging out and back in??

If I make changes to .bashrc, how do I reload it without logging out and back in? ...

How do I reload .bashrc without logging out and back in??

If I make changes to .bashrc, how do I reload it without logging out and back in? ...

bash: shortest way to get n-th column of output?

Let's say that during your workday you repeatedly encounter the following form of columnized output from some comman...

Meaning of “[: too many arguments” error from if [] (square brackets)?

I couldn't find any one simple straightforward resource spelling out the meaning of and fix for the following BASH s...

RE error: illegal byte sequence on Mac OS X?

I'm trying to replace a string in a Makefile on Mac OS X for cross-compiling to iOS. The string has embedded double ...