Script to change current directory (cd, pwd)
152
votes
11
answers
425053
views
I want to run a script to simply change the current working directory:
#!/bin/bash
cd web/www/project
But, after I run it, the current pwd remains unchanged! How can I do that?
Asked by Sony Santos
(1623 rep)
Dec 19, 2011, 07:55 AM
Last activity: May 22, 2025, 02:54 AM
Last activity: May 22, 2025, 02:54 AM