Re: Scripting questions

2003-09-24 Thread Brenden T.
Abdussamad Abdurrazzaq wrote: Hello Please help me with these basic scripting questions. How do you tell the path of the current directory? Is there an equivalent to the Left$ & Right$ functions found in BASIC in Linux scripting? What I mean is how do you extract a given number of charac

Re: Scripting questions

2003-09-24 Thread Nurullah Akkaya
correct me if i am wrong so you want to know where you are on the system rigth ? so u can use pwd command that will tell the exact place where you are.. -- Nurullah Akkaya [EMAIL PROTECTED] Registered Linux User #301438 What lies behind us and what lies before us are tiny matters compared to w

Re: Scripting questions

2003-09-24 Thread Sean Estabrooks
On Wed, 24 Sep 2003 17:18:36 + Abdussamad Abdurrazzaq <[EMAIL PROTECTED]> wrote: > Hello > > Please help me with these basic scripting questions. How do you tell the > path of the current directory? Assuming you mean Bash scripting # echo $PWD > Is there an e

Re: Scripting questions

2003-09-24 Thread Volker Kroll
On Wed, 2003-09-24 at 19:18, Abdussamad Abdurrazzaq wrote: > Please help me with these basic scripting questions. In which language, do you plan to program? > How do you tell the path > of the current directory? in the bash it is pwd [EMAIL PROTECTED]:~> pwd /home/kroll &

Scripting questions

2003-09-24 Thread Abdussamad Abdurrazzaq
Hello Please help me with these basic scripting questions. How do you tell the path of the current directory? Is there an equivalent to the Left$ & Right$ functions found in BASIC in Linux scripting? What I mean is how do you extract a given number of characters from the left or right