Terminal - Permission Denied

I changed from bash to zs - but maybe the terminal is not properly configured ? I allways get this : permission denied or not found .


Wery irritating.

iMac 21.5″, macOS 12.6

Posted on Sep 22, 2023 7:13 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 26, 2023 8:34 AM

garage4996 wrote:

star@stars-iMac documents % ls --l
ls: unrecognized option `--l'
usage: ls [-@ABCFGHILOPRSTUWabcdefghiklmnopqrstuvwxy1%,] [--color=when] [-D format] [file ...]


That (cryptic) usage info is intended to show the list of switches available.


Generally:

ls -l

not

ls —-l

This is why </> code insertion matters.


For what can also be a cryptic command syntax description, use the command:

man ls


Bitwarden probably has one, as well:

man bw


In general, some shell commands will use short options and one hyphen, and others use long switches and two hyphens, and most of the latter also support the former. The bw command appears to support long switches, per what has been posted and published.


There are also a few cases where two hyphens with no switch are used as a delimiter, but that tends to be fairly rarely necessary.


Thanks for this wery useful information - after a long time only I got an explanation what thesse [ ] brackets means - thesse are not ordinary brackets ? As I typed ( surely ) something wrong this usage : Ls appeared and thes brackets [] . But as you say thesse are not part(s) of a command - thesse [] is only an instruction or explanation how to use the ls command ? After Ls there are 4 possibilities inside the brackets [] the first one is someting [-@ABCF…… difficult to understand what it can be the second one [ —color …. this is also something to type ls —color as I think The third one [ -D format ] difficult to understand the 4 th one is also not clear [ file ….]


Here is the zsh documentation: https://zsh.sourceforge.io/Guide/zshguide.pdf


As for the bw command syntax past the website and the man page (if any), ask Bitwarden support for help.

34 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal - Permission Denied

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.