Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DIR=$(mktemp -d -t bbbrtc.XXXXXX) || exit 1
- echo "tmpdir = $DIR"
- cd "$DIR"
- root@beaglebone:/tmp/bbbrtc.2mw02x# DIR=$(mktemp -d -t bbbrtc.XXXXXX) || exit 1
- root@beaglebone:/tmp/bbbrtc.2mw02x# echo "tmpdir = $DIR"
- tmpdir = /tmp/bbbrtc.Grti6K
- root@beaglebone:/tmp/bbbrtc.2mw02x# pushd "$DIR"
- /tmp/bbbrtc.Grti6K /tmp/bbbrtc.2mw02x ~/bbbphyfix
- root@beaglebone:/tmp/bbbrtc.Grti6K#
- root@beaglebone:/tmp/bbbrtc.2mw02x# ./test.sh
- tmpdir = /tmp/bbbrtc.O6yYgf
- ./test.sh: 5: ./test.sh: pushd: not found
- root@beaglebone:/tmp/bbbrtc.2mw02x#
Add Comment
Please, Sign In to add comment