how do I make Ubuntu understand the path where my bash script is ?
by tangara from LinuxQuestions.org on (#6ERBA)
Currently, I am still learning the basic of linux commands and then I come to a point where I got to put the script in a path and then call that script to run it.
But, I can't seem to get it right via Ubuntu in my WSL Windows laptop
Code:tangara@DESKTOP-SB41UI7:~$ cd C:\Users\karen\Linux\arithmatic.bash
-bash: cd: C:UserskarenLinuxarithmatic.bash: No such file or directory
tangara@DESKTOP-SB41UI7:~$ cd Users
-bash: cd: Users: No such file or directory
tangara@DESKTOP-SB41UI7:~$ cd
tangara@DESKTOP-SB41UI7:~$ pwd C:\UsersIs there something that I am not doing right ?
Can someone shows me the right way to get to that path or what is the command to execute that bash script to see how it runs ?
Tks.
But, I can't seem to get it right via Ubuntu in my WSL Windows laptop
Code:tangara@DESKTOP-SB41UI7:~$ cd C:\Users\karen\Linux\arithmatic.bash
-bash: cd: C:UserskarenLinuxarithmatic.bash: No such file or directory
tangara@DESKTOP-SB41UI7:~$ cd Users
-bash: cd: Users: No such file or directory
tangara@DESKTOP-SB41UI7:~$ cd
tangara@DESKTOP-SB41UI7:~$ pwd C:\UsersIs there something that I am not doing right ?
Can someone shows me the right way to get to that path or what is the command to execute that bash script to see how it runs ?
Tks.