All Questions
Tagged with error command-line
20 questions
2
votes
1
answer
325
views
Trying to access our FTP server. Getting "Killed 9." How do I resolve this?
I just tried to access our FTP server via the command-line FTP client on my new M2 Mini.
And it gives an immediate "Killed 9" message.
On my 2017 iMac (Catalina):
(Note that the ftp server ...
3
votes
2
answers
2k
views
Why didn't reverse grep work to filter out "Operation not permitted" from find results?
When I want to reverse grep the words in macOS 13.2 like this:
$ sudo find / -name "libpq.dylib" | grep -v "Operation not permitted"
find: /Library/Application Support/com.apple....
23
votes
4
answers
11k
views
Unknown locale, assuming C - Error message in terminal
Note: The question is not about how to change the locale, or what is the locale. The question is about why is there a locale-based error in man in 10.3, but no error in 12.6, even though the locales ...
2
votes
1
answer
6k
views
I am trying to install pip on terminal and I always get this error
input python -m ensurepip
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip'
Consider using the --user option or check the ...
1
vote
1
answer
4k
views
MacOS equivalent for Ubuntu Linker (ld) command?
I'm following some tutorials from 2015, and in it you run this Linker command:
ld -T linker.ld -melf_i386 loader.o -o kernel.elf
I get this error:
ld: unknown option: -T
I tried to replace it with ...
0
votes
0
answers
179
views
Syntax Error in Bash script
I'm using the following command to find certain files and delete them.
#!/bin/bash
files=$(mdfind -literal "kMDItemFSName == '123.test'")
IFS=$'\n'
files=($files)
for f in ${files[*]};do
...
2
votes
2
answers
1k
views
Blank Sudoers File
I have been trying to set up some stuff for JS, but I need to use sudo. Every time I use sudo, I get this message.
>>> /etc/sudoers: syntax error near line 80 <<<
>>> /etc/...
4
votes
2
answers
1k
views
Bash - Suppressing output to STDOUT
I've written a script for fresh macOS installs that installs Homebrew, Cask, and a bunch of apps I like, along with creating a .vimrc file.
Thanks to an answer by daniel Azuelos (located here: Best ...
2
votes
1
answer
2k
views
Cannot run refind-install from Recovery because "/usr/bin/env: bad interpreter"
I have managed to change the present working directory to the folder containing downloaded rEFInd files. I have booted to Recovery Mode. The refind-bin-0.11.3 folder was downloaded to my Downloads ...
1
vote
1
answer
14k
views
How to resolve "mpirun: command not found" error on Mac
I'm running scientific simulation software (lammps) and whenever I try to submit the job by using a shell script which contains...
mpirun -np 2 /Users/mustafaaslamy/Downloads/lammps-16Mar18/src/...
2
votes
1
answer
2k
views
Build fails with configure: error: could not make ./config.status
Facing a strange build error on OSX 10.12. Unable to build any software at the command line. For example none of the packages Opus, PJSIP, and LibreSSL will build. (Dependencies for Telephone: https://...
2
votes
1
answer
2k
views
Is there a way around "Error: Command Line Too long"?
I am using a command line software for which I need to input a lot of arguments. Something like
./exec -A argA -B argB -C argC ...
There are so many arguments that I get the error message
Error: ...
0
votes
1
answer
222
views
CLI Solution - Stripping File Attributes - LSOpenURLsWithRole()
I am getting this error when trying to execute an unsigned application that was downloaded via the native web-browser; Safari.app.
LSOpenURLsWithRole() failed with error -10810..
There used to be a ...
0
votes
2
answers
734
views
Can't install WordGrinder on Yosemite
Recently, I have been trying to install WordGrinder on Yosemite. First I tried getting the latest tar packages from the developers' website and using them, but I ran into some library linking errors ...
0
votes
1
answer
1k
views
Terminal stuck at error won't accept any commands.
I was trying to install CLI package from github but I messed up during the process and ended up getting this error. It is persistent and won't go away. Terminal wont accept any commands like mkdir, ls,...
2
votes
1
answer
525
views
How to fix "You are not allowed to use "Application""
How do I fix this message, I am Admin, Mobile. Even if i login to a root account this message still appears. I have iTerm so if any commands need to be inputted to fix this problem I can still do it. ...
1
vote
1
answer
3k
views
Unknown error message in Terminal
When I open the Terminal I keep getting this message, which I suppose is some error:
/Users/sinisasasic/.zshrc:export:48: not valid in this context:
Support/GoodSync:/usr/bin:/bin:/usr/sbin:/...
2
votes
1
answer
973
views
Shell script: Move folders + preserve structure
My goal
I organize my projects into folders. These folders all live in my Completed projects folder. I am beginning to archive them into an Archived Projects folder, and I want to archive them in sub-...
2
votes
3
answers
11k
views
/bin/sh: rm: command not found
I have problems with some applications that use AppleScript shell script feature. For example, Growl's uninstall scripts shows an error:
error "/bin/sh: rm: command not found" number 127
The source ...
1
vote
3
answers
6k
views
How to dim (and un-dim) display in automator
For those that are interested in the final script you can get it here
original question
I am trying to make a alarmclock script to wake me up. but I can't figure out how to change the screen ...