![]() |
bash script error
hi all... im a newbie to all this. i need help with a simple script. i have to change to one directoy then to another but i get an error cd: /~ no such file or directory
Can you help plz..ty #!/bin/bash cd /tmp cd /~ |
First this is wrong.
Usually there is no userhome under / should read Code:
cd ~Use instead Code:
cd $HOME |
ahhh what an A-hole i am .... thank you
|
| All times are GMT -5. The time now is 10:21 PM. |