Questions tagged [terminal]

Questions about the Terminal application or its terminal emulation should use this tag. Use **command-line** for questions about shells or command-line programs that do not specifically involve Terminal.

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Codesign states code object is not signed at all

I have noticed this before too on some executable files. Recently, I downloaded cmake and used codesign to check if it's digitally signed but it states, it's not signed at all: % codesign -v /Volumes/...
0
votes
0answers
4 views

Enable Remote Management through terminal only works when I manually click off and on?

I am able to turn the Remote Management on. But it doesn't work. For it to work the only way is i have to turn it off(after i used terminal command to turn it on) and turn it back again by checking ...
1
vote
1answer
9 views

Changing tabs in Terminal is very slow with lots of output

I frequently have Terminal open with several tabs. I have noticed that sometimes switching to a new tab takes several minutes, during which Terminal appears to hang with a busy cursor. I suspect that ...
0
votes
1answer
28 views

Unable to install Homebrew in Terminal

I was trying to install Homebrew in Terminal. I have MacOs Catalina 10.15.7. I am the admin of my computer. But i keep getting the following messages.
1
vote
1answer
18 views

How to identify plist values for iterm preferences

iTerm2 preferences are stored at ~/Library/Preferences/com.googlecode.iterm2.plist. (see also this post for details). I can print its contents using defaults read com.googlecode.iterm2.plist Is there ...
0
votes
0answers
10 views

Pypy3 trouble after downloading pypy [closed]

Sorry if this question has already been asked, but the answer is still not quite clear to me. After reading about pypy I understand that it may implement my code faster. I also understand that it may ...
1
vote
2answers
28 views

“/sbin/mount -uw /” not working?

I am trying to add an administrator account on my MacBook pro using single user mode. However, the prompt, "/sbin/mount -uw /" does not seem to work. Any reason as to why?
0
votes
0answers
20 views

How to find out if a file or folder's last opened date has been changed by Terminal? [closed]

How can I find out if a file or folder's last opened date has been changed by Terminal?
1
vote
1answer
63 views

echo 'export PATH=“/usr/local/mysql/bin:$PATH”' >> ~/.bash_profile by using this command getting permission denied?

I tried to follow the instructions in How to add MySQL to $PATH variable to resolve "mysql: command not found"? $ echo 'export PATH="/usr/local/mysql/bin:$PATH"' >> ~/....
0
votes
0answers
6 views

Pixelmon Reforged Whenever I try to open jar it says check console for possible errors [closed]

So I downloaded pixelmon reforged file on my mac but whenever I try to open the file it says check console for possible errors so that's exactly what I do I even went to the terminal to try and fix ...
4
votes
2answers
1k views

I downloaded a shell executable and man pages from a source I trust. Where should I put them?

I downloaded a binary file for a shell executable, and the corresponding man pages, from a source I trust. Unpacking the archive returns a binary file and some man pages. There's no installer. Which ...
1
vote
1answer
15 views

How to access Console Device log in macOS via terminal

macOS has Console app to view different logging activities. Console has a group Devices in the top left corner with the mac itself and connected devices such as iPhone. I would like to access mac ...
0
votes
0answers
11 views

RTSP feed with ffmpeg and the Mac camera

I have two Macs in my network. On the first one I want to capture the FaceTime camera via ffmpeg and make a RTSP feed available on the network, which I can watch on the second Mac.
1
vote
1answer
8 views

Importing macOS Caching server data from an external Mac caching server

Apple Cache Manager Utility question. We have just bought a second newer Mac mini to act as my school's Primary Apple Caching Server for our ever growing fleet of student iPads (over 500 and counting)....
1
vote
1answer
32 views

Omit “.DS_Store” from “ls -a” results

MacOS puts “.DS_Store” files in directories. How do you omit them from all “ls -a” results?
0
votes
0answers
37 views

No write permissions on /usr/local/* | Mac OS X 10.15 Catalina

I have problems with write perms in /usr/local/(lib|Cellar|include|etc.) folders This material says that admin user have write perms in /usr/local, but I have problems with installing through make, ...
1
vote
1answer
16 views

Getting the whole DNS record

I have a domain that has a DNS record with CNAME and ALIAS entries, but how do I check them in the terminal? I tried nslookup -type=any <domain.name> and dig <domain.name> any and variants ...
0
votes
0answers
17 views

How do I undo partitions on my iMac (I keep getting failed message “Mediakit reports not enough space on device for requested operation”

Hi I am trying to undo partitions made from a failed Windows 10 installation but it keeps failing or it won't give me the option to undo it on Disk utility. This is what my partitioned drive looks ...
1
vote
2answers
73 views

How can I convert this Bash prompt to zsh?

I have the following configuration for Bash: # Change Prompt # ------------------------------------------------------------ export PS1="...
1
vote
0answers
10 views

How enable iCloud-based recovery when setting up FileVault via the command-line tool fdesetup?

When enabling FileVault using the GUI (System Preferences < Security & Privacy < FileVault), it is possible to configure a linked iCloud account which can be leveraged for lost password ...
0
votes
1answer
25 views

Create a terminal command to open another user profile in chrome [duplicate]

How can I create a terminal command to open another user's profile in Chrome? It takes me a long time to switch between them because I have a lot of users in Chrome.
0
votes
0answers
21 views

Can't use recovery to reset my Mac password

Help, I'm currently having a problem with recovery. The PC won't accept my password (it's actually correct but for some reason, the PC wouldn't accept it so I decided to use recovery to change the ...
0
votes
0answers
16 views

Change MouseMomentumScroll and Update Preferences Cache via defaults write

When scrolling with inertia is enabled on my Magic Mouse, Google Maps street view goes bonkers. I'm running Catalina 10.15.6 and I want to write a simple shell alias to quickly change the setting: ...
1
vote
1answer
34 views

Command to list available webcam/video devices?

Is there a way to list all webcams that are available to my Mac (e.g. FaceTime camera) using Terminal? I know there's diskutil list to list all disks attached to my Mac, but is there a command that ...
5
votes
0answers
68 views

How to disable the now default “ambient noise reduction” in macOS Catalina?

In macOS Catalina, ambient noise reduction is applied by default to audio of an external source coming in through the headphone jack. This is not always desired, e.g. when recording musical ...
0
votes
0answers
18 views

Zsh bin will not allow me to access file folders via referencing the folder in terminal

I am currently using macOS Cataliana version 10.15.6, and I am having trouble accessing folders via terminal when I type one of these two commands: ~ (/Users/((user)) ) or /Users/(user)/Library/...
0
votes
1answer
21 views

ITerm2 Closes Immediately After Opening

My iTerm2 closes right away when I click on the icon in an attempt to open it. I have seen that this is a known issue with iTerm2, but the solutions I found involve editing preferences through the ...
2
votes
1answer
34 views

How to change the escape style when dropping paths into Terminal

If I drop a file from Finder (or another file source) into the Terminal, the system helpfully escapes characters like spaces: Dropping a file named /Lorem Ipsum.txt yields /Lorem\ Ipsum.txt. I would ...
1
vote
0answers
19 views

Terminal command to identify and clear runaway system storage [duplicate]

Every few months I have moved data out of my mac computer onto a hard drive because of this problem. I now again have this alert in the Terminal: Your disk space is critically low. Older terminal ...
10
votes
5answers
2k views

Can anyone explain to me the difference between terminal apps, CLI, CLT and Prompt?

I wish to understand at a conceptual level, the difference between a terminal app, Command Line Interface (CLI), Command Line Tools (CLT) and Prompt. I am confused as to what the difference is between ...
1
vote
1answer
30 views

Change what app the command “Open .” opens

How can you open another file manager with the command Open .? I've tried the command, and it opens Finder. I'd like it to open another file manager, if this is possible.
0
votes
0answers
13 views

iTerm2 Send Escape Sequence for Option-Enter

I would like to use Option-Enter in tmux in order to split windows. Both my Option keys are set to "normal" mode, otherwise, I will not be able to type special characters (Norwegian keyboard ...
0
votes
0answers
35 views

env: php: Bad CPU type in executable

I Worked before on my MacBook Pro on php applications and it was work smoothly , after I upgrade it to Catalina, when i use composer update it gives me an error , after reading about it I found that I ...
0
votes
0answers
38 views

Cannot find my Miniconda Python installation after switching from bash to zsh

Recently after upgrading to Catalina, the terminal changed from bash to zsh, and I lost my Python installation. My Python was installed with Miniconda, but now I can't find it anymore, I can only see ...
0
votes
0answers
20 views

Unable to forward the ssh cert.pub to access the target machine via bastion

I have a vault setup, which basically uses the signed ssh pub keys to connect to the bastion and the target machines. After creating a signed id_rsa-cert.pub file, I will be using it like " ssh -...
0
votes
0answers
34 views

How to prove that the policy banner is showing up before the user credentials

I set up the classic company policy banner that a user must read and accept before is prompting to log in with the credentials. The Security Department is asking me if there is a command line in ...
0
votes
0answers
18 views

Is there a terminal command to set a GIF as a wallpaper in MacOS?

I have tried to use the third-party GitHub apps and other solutions but none of them work. I really want it to work as I have some cool GIFs that would really rekindle the feeling of customisation on ...
0
votes
2answers
35 views

Caffeinate : prevent screensaver (Catalina)

I'm running this terminal command on Catalina hoping to keep the system awake and prevent the screensaver to start (without having to disable the screensaver in system preference). caffeinate -d -i -u ...
0
votes
1answer
54 views

zsh: command not found: msfconsole

Installed Metasploit on my macOS Catalina from the rapid7 website - pkg installation. When trying to run the command msfconsole the terminal displays the following error: zsh: command not found: ...
1
vote
1answer
50 views

cp from shell (Terminal) or Finder: “Operation not supported”

An odd issue here after an upgrade from High Sierra to Catalina. When I try to copy files from an SMB network share in the Terminal (bash and zsh), I get: $ cp /Volumes/share_name/path/file.ext ~/...
0
votes
1answer
55 views

How do you disable VI-like behavior in macOS terminal?

When I open a terminal and type asdf asdf asdf asdf And hit control-u, the line gets wiped. If I type that line again, but then use option-left to skip a word back, then control-u doesn't wipe the ...
0
votes
0answers
36 views

Create or Edit a new configuration profile .plist using the command line

Take out of the picture MDM or Apple Configurator or any other management software, just for my knowledge and understanding of how to implement a restriction and how to manipulate or create a .plist ...
0
votes
0answers
39 views

What is the @ symbol in my terminal prompt? Where does this come from? [duplicate]

In my research on command prompts, the examples all seems to show the computer name and username as the only thing at the "prompt", ie MacBookPro:Documents user$ However when I open terminal,...
0
votes
0answers
21 views

How do I enumerate osx launchctl LaunchAgents with their service/domain/blah blah target stuff?

What I did in the past was launchctl list // launchctl unload which is now "legacy." What I want to do is list all items that startup (specifically Adobe) and remove the ones that I don't ...
1
vote
0answers
25 views

Extra disk with 0 byte of storage showing on mac

I have a 2017 MacBook Pro 15". I recently removed a windows partition. Now the disk utility is showing an HFS+ volume with 0 bytes of storage. I tried to remove it using disk utility, recovery ...
0
votes
0answers
28 views

MBP late 2013 High Sierra unknown partition(ffff…) with suspicious MBR

So I’ve followed a lot of the instructions I was able to find through a lot of similar issues that klanomath has been a mastermind at solving. I got all the way up to figuring out what my actual ...
0
votes
2answers
37 views

A better usage of apropos for searching the man directory

I will ask my question starting from a real example. From the command line prompt, I want to search for a command line tool that will output information about my smart card. Side Note: I already know ...
1
vote
1answer
46 views

Any other Terminal / shell based options to strip all ACLs and extended attributes from a folder?

I'm having some trouble deleting some folders that contain nothing and have no processes or kexts utilizing them (lsof | grep path_element). When I try to delete them (as root) I get: root@hostname /#...
1
vote
0answers
30 views

How to write to iCloud in Terminal? (Currently seems read-only)

I have a bash function that writes to a markdown file. Here it is in its simplest form: function n() { echo $@ >> path/file.md; } This works fine. However, when I change the path to an ...
13
votes
7answers
2k views

Installing stuff: brew vs. official installer - which one should be used?

I wonder how programs should be installed on Mac? Via Homebrew or an official installer if there is one? Let's say I want to install Node.js on my Mac. The official macOS installation guide offers ...

1
2 3 4 5
103