I am stuck in changing the directory in a shell script in linux.
#!/bin/sh
cd /driver
The above does not change the directory. Shell is running in its own context so it can not provide linux terminal with changed drive (into driver)
but if I give
cd /driver
ls
It gives the proper output of ls
in driver directory again comes out of driver directory
Can anybody help me to get terminal with actually changed path (into driver)
.