-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cd bd p
from the examples does not work for me
#40
Comments
bd p
from the examples does not workbd p
from the examples does not work
bd p
from the examples does not workbd p
from the examples does not work for me
It's simpler than it looks: you're introducing a syntax error, and given you're not using the GitHub code tag correctly it makes it even more confusing. Run this: cd `bd p`/Todo , not this: cd `bd p` /Todo Or better yet, run this: cd $(bd p)/Todo , but it could be specific to Bash (Bourne Again Shell). |
Thanks for coming back to me so quickly.
I tried your 2 commands and they give me the same output as before:
devil@siductionbox:~/work/Linux-User/CD-Helferlein/Screenies$ cd $(bd p)/Todo
bash: cd: Zu viele Argumente.
devil@siductionbox:~/work/Linux-User/CD-Helferlein/Screenies$ cd `bd p` /Todo
bash: cd: Zu viele Argumente.
… Jouni Järvinen ***@***.***> hat am 12. August 2017 um 20:58 geschrieben:
It's simpler than it looks: you're introducing a syntax error, and given you're not using the GitHub code tag correctly it makes it even more confusing.
Run this:
```bash
cd `bd p`/Todo
```
, not this:
```bash
cd `bd p` /Todo
```
Or better yet, run this:
```bash
cd $(bd p)/Todo
```
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#40 (comment)
|
You're still adding a space before the slash, which is a syntax error in this case. Anyway, getting 'Too many arguments' means you're providing more than 1 target folders. Run |
Actualy the name is ToDo, but that does not work either.
devil@siductionbox:~/work/Linux-User/CD-Helferlein/Screenies$ echo $(bd p)/ToDo
No such occurrence./ToDo
devil@siductionbox:~/work/Linux-User/CD-Helferlein/Screenies$ cd ../../../
devil@siductionbox:~/work$ ls
Charleston Golem jhr.asc LinuxCon Linux-User mikap_buch.txt.tar.gz notebook.zim Pro-Linux Sync ToDo.txt
Desktop Home Joomla-Doc Linux Magazin mikap_buch.txt nixCraft PC-Mag%2fLinixLife Pro-Linux.txt ToDo XModulo
So ToDo does exist in work. No idea what is wrong here.
… Jouni Järvinen ***@***.***> hat am 12. August 2017 um 21:57 geschrieben:
> ***@***.***:~/work/Linux-User/CD-Helferlein/Screenies$ cd `bd p` /Todo
You're still adding a space before the slash, which is a syntax error in this case.
Anyway, getting 'Too many arguments' means you're providing more than 1 target folders. Run
`echo $(bd p)/Todo` and show the output.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#40 (comment)
|
bd works fine for me on debian unstable other than cd
bd p
from the examples. It gives me this error:devil@siductionbox:~/work/Linux-User/CD-Helferlein/Screenies$ cd
bd p
/Todo(where ToDo is a sub-dir of work)
bash: cd: Zu viele Argumente.
which translates to:
bash: cd: too many arguments
Any idea what might be the reason for that?
Let me know if you need any more info
The text was updated successfully, but these errors were encountered: