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
1
vote
1answer
14 views

How to change terminal folder font color

I use terminal with the fish shell. I played the themes and colors in fish_config as well as the ANSI colors in the terminal preferences. Nothing I do can change the folder font colors. How do I get ...
0
votes
0answers
15 views

Add Finder Sidebar Section via Terminal

Is it possible to add a new section to the Finder sidebar? I'm interested in adding a new section to the Finder sidebar, and auto-populating it as part of some personal automation. I understand that ...
0
votes
0answers
10 views

Howto revert Homebrew 'git fetch --unshallow'?

I searched homebrew and he gave me this message: Warning: homebrew/core is shallow clone. To get complete history run: git -C "$(brew --repo homebrew/core)" fetch --unshallow I run the advised ...
0
votes
0answers
12 views

Disable delays when running scripts for the first time

An article about delayed script executions has been published recently. I could reproduce this on my Mac by running the following: $ echo $'#!/bin/sh\necho Hello' > /tmp/test.sh && chmod a+...
0
votes
0answers
14 views

Copying and pasting between terminal windows adds extra characters

I've recently moved from MacOS 10.4 to 10.15. I use Japanese/English/Russian/Chinese, and I've noticed a different behavior when copying between terminal windows on 10.15. Extra characters, ...
2
votes
1answer
14 views

Guide to the output of the builtin airport command line utility

I am trying to understand the output of the airport command line utility on OSX: /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I agrCtlRSSI: -45 ...
2
votes
2answers
81 views

Why is typing so strange in terminals?

When typing in a terminal, why is it that text does not behave the way it would in any other text environment, like in any text editor or browser? Things like highlighting text while moving the cursor ...
0
votes
0answers
11 views

What does (base) Win7VM-PC:~ oiko mean? [duplicate]

I've just noticed this prompt on the terminal. I have no virtual machine running in my machine...
0
votes
0answers
11 views

Control AU Lab via terminal

I'm using AU Lab AUNetSend/Receive to stream audio between 2 MacBooks and it works fine. However, I noticed that the latency increases over time and it gets pretty large if you run the program over ...
0
votes
0answers
25 views

launchd running php script fails under Catalina on exec diskutil

I have a php script that worked perfectly under Mojave from the terminal and as a launchd job. After changing to Catalina, the php script continues fine from the terminal, but the launchd job fails on ...
0
votes
0answers
18 views

Giving camera access to tmux or ssh

I have a couple of executables that I need to call, and within them some OpenCV functions are called, requiring camera access. If I run the executable locally on Terminal from my machine, everything ...
2
votes
0answers
28 views

Moving several files to trash in Mac terminal without using rm, any plugins?

Looking for a way to: Move several files to the Mac trash in terminal without using the rm, crazy regex,finder, or something destructive. Today I realized I was just asking the wrong question. Once ...
1
vote
0answers
20 views

How to disable Viber icon in top menu bar on Mac OS

Viber 12.8.1 on Mac OS has no option to turn off the icon in the top menu. How this icon can be disabled using the terminal? I got rid of the Skype icon in the top menu with the following command: ...
1
vote
0answers
31 views

“You must specify a volume path” Trying to create an ISO file [closed]

I'm trying to create an ISO file of Mojave, in my Mac with Catalina with these commands (I already have the installer of Mojave in Applications) hdiutil create -o /tmp/mojave -size 7900m -volname ...
1
vote
0answers
52 views

Resizing a partition got stuck, what to do now?

I'm trying to resize my Mac partition from 380 GB to 350 GB. Disk utility didn't allow me to do that, claiming my current container size is also the minimum container size, despite having 130 GB of ...
0
votes
0answers
42 views

I can't reinstall my OS X El Capitan. “Please Run Install OS X El Capitan.app”

I'm in recovery mode, but when I try to reinstall the OS this shows to me. I've entry to the terminal of Recovery OS. And I found that file .app In other forum I found that the solution is move that ...
1
vote
1answer
65 views

How to list all files on the system

I would like to list all files on my system from command line. The provided BSD find command, with the following command line sudo find / lists many of the files twice, under the root and under /...
4
votes
2answers
622 views

How to install tar.gz file directly from URL efficiently from terminal?

Suppose we have a web url to a .tar.gz file. We could download it, unzip/tar it, and install it. Is there an elegant way of doing all of the above from terminal, preferably with a one-liner? ...
0
votes
1answer
31 views

USERS AND GROUPS advanced options cannot access

I wanted to change my mac's name so I changed the "computer name" in SHARING and also the "account name" and "full name" in USERS & GROUPS. Only thing is I didn't change the "home directory". Now ...
2
votes
2answers
65 views

Battery status and replacement

About a week ago my battery status (MacBook Pro mid 2017) claimed that the battery should be replaced after 250 cycles. Now, all of a sudden the battery status has returned to normal. ioreg -l -w0 |...
1
vote
0answers
29 views

Disable mac autocorrect for imessage via terminal/defaults write

I have already disabled system's autocorrect feature with defaults write com.apple.notes NSAutomaticSpellingCorrectionEnabled -bool false However I still can see autocorrect enabled in iMessage: I ...
0
votes
1answer
16 views

How to list the Mail directory from the Terminal?

Is there a way to change the file or directory permissions so that I can list the contents of the Mail directory from the Terminal command-line in macOS 10.15.4? When trying to list the contents, I ...
1
vote
1answer
43 views

How to view real time dynamically updated information on thermals and fan speed through the terminal?

Is there any way to view real time fan speed and thermal information (CPU, GPU) through the terminal, such as by installing an application with homebrew (i.e. $ brew install ...) or python (i.e. $ pip ...
2
votes
1answer
12 views

Tab key on ZSH terminal in Catalina keeps running “bundle exec jekyll serve”

I don't have jekyll installed on my system ➜ ~ Could not locate Gemfile or .bundle/ directory ➜ ~ which jekyll jekyll not found ➜ ~ which ruby /usr/bin/ruby ➜ ~ ➜ ~ which bundle zsh: correct '...
1
vote
1answer
29 views

Control-A combination doesn't work in Terminal

My Control-A combination in terminal doesn't work. Nevertheless, the Control-E combination still works. My macOS version is 10.15.4. Can anyone help me?
0
votes
0answers
9 views

Chars missing when lines are paste to Nano in Macos terminal [closed]

If I paste lines from clipboard to the terminal with a remote ssh connection to a remote nano, some chars are missing. I use macos Catalina. For instance, after 2700 lines, here is the result (check ...
0
votes
1answer
30 views

Trying to add cronjob results in “”LICENSE“:0: bad minute”

I am trying to set up a cronjob to run every minute with the following command: crontab * * * * * sh /Users/username/Downloads/reddit-notifications-master/notifyer.sh notifyer.sh has the following ...
1
vote
0answers
18 views

How can I get emacs to see ZSH's environment variables when I open it from /Applications

When I launch emacs from ZSH, it works as desired. Specifically, it sees that my HOME directory is /Users/myname/Dropbox, so it looks for .emacs.d there. Unfortunately, when double-click the emacs ...
0
votes
1answer
29 views

iTerm2 - zsh - keep history of commands when opening a new pane

with zsh on MacOS Catalina, when I split my current window of iTerm2 by opening a new pane, I would like to be able to keep in this new pane the history of commands of previous pane (which is still ...
1
vote
1answer
59 views

Can Terminal access the microphone in Catalina? (for SoX, FFmpeg, Ecasound, pyaudio etc.)

When I try to record audio from the command line with programs such as SoX or FFmpeg it doesn't record anything and ends up with a flat-line recording. I am guessing this is due to privacy ...
0
votes
1answer
64 views

My code produces weird output in Terminal

I've put a small program to solve the "dining philosophers problem" on repl.it, where it runs as expected and produces the following output: When I compile and run the same program on macOS I get I ...
0
votes
0answers
19 views

macOS Catalina: Whenever I attempt to take screen-capture via Terminal, I only get image of naked desktop background

Whenever I attempt to take a screenshot using Terminal (command: screencapture -is ~/Desktop/insertimagename.jpg), I receive an image of the desktop background. Despite taking a screenshot of programs ...
1
vote
1answer
34 views

hot to set a terminal color profile for macOS Dark Mode?

in macOS dark mode, the font becomes #fff in my terminal, is there any way to set it to black? or just add another theme for terminal.app in macOS dark mode?
0
votes
0answers
17 views

MacBook Pro 2011 Single-user mode hangs

I have a MacBook Pro 2011 with known GPU-problem and MacOS High Sierra on board. 3 years ago I solved this problem with this tutorial: link So I need terminal to enter commands, but I can't enter ...
0
votes
0answers
20 views

Why do my environment variables keep getting wiped out in Mac OS Catalina?

I am currently using MacOS Catalina, and every time my computer boots up from having shut down the environment variables get wiped out. I literally have to manually run export FOO=bar each time my ...
0
votes
2answers
33 views

Can't launch Finder window from terminal on Mojave

open isn't behaving as expected on Mojave. Running open /Library/ gives LSOpenURLsWithRole() failed with error -600 for the file /Library. This happens regardless of the opening location. I'm ...
1
vote
0answers
15 views

New Terminal windows/tabs are opening in the home directory instead of the same directory

I am not sure why the behavior of opening an new Window or Tab in the current directory is not working at this point. I checked the settings in Terminal|Preferences : I have started a new window, ...
0
votes
0answers
17 views

How to format to FAT16 on an SDXC card with macOS Mojave 10.14.6?

Bought an SDXC 64GB for a camera I found lying around my house. The card needs to be formatted to FAT16 in order to work with the camera, I've tried to follow previous threads of this nature but they ...
4
votes
0answers
95 views

GUI vs. CLI Folders on macOS

When you create an empty folder on macOS Catalina (10.15.4) via Finder (Right Click > New Folder), and check its information (Right Click > Get Info), the "Size" attribute shows: Zero bytes (Zero ...
1
vote
1answer
21 views

Set permissions for sharing only user through terminal

I am sharing my media folders on my local network by means of a sharing only user. The "sharing only" user is given read access to these folders, and anyone can connect with the user's log in ...
1
vote
1answer
43 views

What commands can be issued to Excel for Mac from the terminal?

I know I can tell Excel to open a file with: open MAC\ Addresses.xlsx -a "Microsoft Excel.app/" But I cannot figure out how to do anything with Excel from the terminal. Where can I find a list of ...
3
votes
2answers
87 views

Prevent certain APFS volumes from being deleted in Disk Utility.app

I can open Disk Utility and permanently erase any highlighted, internal APFS disk volume not being used to boot the currently running operating system, just by clicking the delete or - (minus) button, ...
0
votes
1answer
20 views

How to convert Audible AAX file audiobook M4B on a Mac using Terminal [duplicate]

How do you convert Audible AAX files to M4B audiobooks
0
votes
0answers
14 views

OpenVPN: No internet connection with cli-tool

I want to use my Surfshark vpn account with OpenVPN. I want to use it at my MacBook (High Sierra), two headless Ubuntu servers and I want to be able to change servers with python programs. Therefor I ...
1
vote
1answer
18 views

Temporary folder to a setup script

I'm creating a bash script which will download, run and remove a bash script. I'm thinking to use the /tmp Which temporary folder could I use to it?
0
votes
1answer
46 views

Upgrade nano on Mac OS X

I have followed the suggestion in this answer How do you update the default version of Nano on MacOS without using the homebrew package manager? I have macOS High Sierra. After the installation I ...
0
votes
1answer
35 views

Catalina's zsh and its .zshrc file

I am trying hard to wrap my head around zsh "upgrade" from bash in macOS Catalina. Most of the things are great, actually. However, I cannot figure out why I am experiencing difficulties, like ...
0
votes
1answer
29 views

try to run 'exiftool' from applescript but get 'command not found' [duplicate]

this is my first attempt to run a shell script, namely 'exiftool', from applescript: set cmd to "exiftool -" & tag & "='" & myName & "' " & myFile do shell script cmd cmd ...
1
vote
1answer
36 views

$PATH only shows RVM files-other Path are not shown in Macbook

When I run echo $PATH I always get Ruby or RVM bin files and does not get any of the path I added in my .bash_profile; I am using a MacBook Pro and running Catalina. I am using the default terminal to ...
0
votes
0answers
35 views

Unable to Add “Where from” Metadata with Special Characters Using Applescript

Trying to add the "Where from" metadata in the Finder's "Get info" section of a picture on the Desktop and I am not able to since the text has special characters. In this case, it is "?" and "=" ...

1
2 3 4 5
99