Why is my cd command not working?
I am on an AIX computer ver 5.3.
I am trying to write a script and I get to the part where I want the script to cd to another directory. Why does this command not work? #!/bin/bash echo 'What directory are we in? ' pwd echo 'What directory do you wish to check: ?' read $DIRPATH cd $DIRPATH pwd #this command prints out the current directory that i am in not where the CD commmand should put me? cajuchief |
Quote:
|
Thank you great help
THANK YOU FOR ALL YOUR HELP! IT WORKED ! :)
SOLVED cajunchief |
I have just joined this thread.... I have found this topic really interesting.
|
All times are GMT -5. The time now is 03:11 AM. |