OS X 10.6.8, if I use Bash Process Substitution as 'root', it just doesn't work.
- Is it supposed to be so?
Note: here's what I mean... "<(list)"
mysql -D robottinosino < <(echo 'select robot from tino_sino;')
/* a contrived example, admittedly, as you could swap the echo and mysql using a simple pipe... I could not think of a better one off the top of my head */
I am logging on as root like so:
"sudo su -"
(incidentally, is there a better way if I want to stay logged on?)
- I am not on Bash so my question is really stupid and the comment below caught the problem instantly! :(
echo $0 yields "-sh" :(
I guess this question could just be deleted at this point or metamorphosed into:
"how to I properly log in as 'root' using bash?" (perhaps editing /private/etc/passwd? that does not seem to work. or... sudo bash -l?)