Posts

Showing posts from January, 2011

multi line string in bash

Multiline strings can be assigned in bash using one of these two examples.


$ String='foo1
foo2
foobar2'

STRING=$( cat <<EOF
foo1
foo2
foobar2
EOF
)

How to change your password in oracle

once you are logged in to sql developer as your userid, just say "alter user {username} identified by {newpassword}"