Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cd var/lib/mysql && mysqldump -uroot -p"craft" --add-drop-table craft > ~/../docker-entrypoint-initdb.d/base.sql && cd ~/..
- mysqldump -uroot -p"craft" --add-drop-table craft
- > ~/../docker-entrypoint-initdb.d/base.sql
- cd "$workdir" && somecommand ; cd "$OLDPWD"
- if cd "$workdir" ; then somecommand ; cd "$OLDPWD" ; fi
- ( cd "$workdir" && somecommand )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement