I have a simple script that I want to invoke 'pushed' followed by another command. But the 'pushd' command inside the script doesn't seem to stick past the script.
What's a way to make this execute in the shell terminal?
#!/bin/sh
pushd $1
time
What I really want to accomplish is invoke pushd
followed by other-command
with one command.