CyberOsc
01-24-2001, 12:44 AM
I use bash shell on my Linux box.
I just learned about the shell scripting.
I tried to make a script that will go like this :
If a user run this script, it will change directory / cd to their home directory then it will make two directories under user's home directory :
public_html
myhomedir for example
The my question is how to execute cd(change directory) command in a script ??
I've tried with many ways but I still didn't get it.
Anybody please help me ...
Thanks in advance
------------------
** It's the world of Oscario **
I just learned about the shell scripting.
I tried to make a script that will go like this :
If a user run this script, it will change directory / cd to their home directory then it will make two directories under user's home directory :
public_html
myhomedir for example
The my question is how to execute cd(change directory) command in a script ??
I've tried with many ways but I still didn't get it.
Anybody please help me ...
Thanks in advance
------------------
** It's the world of Oscario **