I know there is a simple command for this, but I'm trying to run a file.sh, which contains lines like:
mkdir $filename
cd $filename
the file executes, but ends in the file i began in. I know there is a simple keyword to put in front to make the execution leave me in the directory $filename, but i cant find it on the internet. I found it once before, but cant seem to do it again.