Questions tagged [terminal.app]

The terminal emulator included in Mac OS X.

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

Is there a way to copy text from verbose startup sequence macOS High Sierra without Terminal?

I have a mid-2011 Mac mini running High Sierra (I think) that gets ~60% through startup, then simply quits and restarts. Hard drive sounds normal, not hunting. I can see verbose startup sequence on ...
user avatar
0 votes
0 answers
30 views

Execute a program with a sequential list of files

I have a list of files with titles like the following: file_0.10_180.0degrees.txt file_0.15_180.0degrees.txt file_0.20_180.0degrees.txt file_0.25_180.0degrees.txt where the files can be passed in as ...
user avatar
1 vote
2 answers
45 views

Ncdu is filled with ?~V~H garbled symbols after a reinstall of macOS Monterey

On my newest re-install of macOS Monterey ncdu suddenly looks really weird. A lot of the directories are shown with ?~V~H behind and next to them. This issue persists across multiple Terminal profiles....
user avatar
2 votes
0 answers
18 views

How do I figure out when the fingerprint (Touch ID) and password were changed on my MacBook Air using Terminal?

I am on macOS Big Sur and trying to figure out when my TouchID and password were changed on my MacBook Air. Is there a command I can type in Terminal I can use to find this information? I am trying to ...
user avatar
  • 21
1 vote
0 answers
18 views

How to change mac terminal keybinding for color picker to execute the escape sequence instead?

Every time I hit command + shift + c in the terminal app it opens a color picker. I would like this keybinding to instead send the escape sequence to the terminal to cancel the execution of the ...
user avatar
  • 11
0 votes
2 answers
31 views

Can not execute a file from terminal located in the same directory

I want to execute graldew. It is definitely in the same directory and it has all the permission. But when I try to execute it I get command not found. Also I can not even autocomplete it using TAB ...
user avatar
  • 205
1 vote
1 answer
1k views

Any ideas on how to reset my zsh terminal to default?

I need help with my zsh environment. I am just getting into customizing my terminal and I have managed to mess up my terminal. I have lost access to the whole terminal as it no longer accepts any ...
user avatar
1 vote
1 answer
558 views

locate command does not work on mac terminal

I'm working on Mac (Catalina, 10.15.7) and want to use the locate <...>-command. After typing locate ... it suggested me the following, which I did. WARNING: The locate database (/var/db/locate....
user avatar
  • 113
1 vote
1 answer
33 views

How to find current point size on MacOS Catalina Terminal utility? Not how to increase or decrease point size

Is there a way to find out what point size my terminal is using? I open up a terminal and hit CMD + until it looks good, but would like to find that setting and stick that number in the profile ...
user avatar
1 vote
1 answer
183 views

Removing Duplicate Files on MacOS Terminal Using MD5

I found the following command that makes use of md5 file hashes to find duplicate files and list them in a text file. find ./ -type f -exec md5 {} \; | awk -F '=' '{print $2 "\t" $1}' | sort ...
user avatar
  • 13
3 votes
1 answer
353 views

What is the upper limit on the size of a macOS Terminal session?

I am doing a lengthy SageMath calculation in Terminal that I plan to save the results of to disk using Shell > Export Text As... The resulting text file will be somewhere in the neighborhood of 10 ...
user avatar
1 vote
1 answer
664 views

Display tilde (~) instead of home folder name when at home in macOS Terminal (zsh)

How do I have ~ $ instead of myUsername $ in zsh? My bash displays like the former and I like it because it looks cleaner. My .bash_profile export BASH_SILENCE_DEPRECATION_WARNING=1 export PS1="\...
user avatar
1 vote
1 answer
293 views

What is the terminal for apple screen time?

Quick question. What is the terminal term for  Screen Time? I have tried to find it using 'help', but it will not show me any commands related to screen time.
user avatar
1 vote
2 answers
734 views

How can I batch convert a directory of subfolders from FLAC to ALAC?

Right now I'm converting each folder in Terminal manually using the following command, for i in *.flac; do echo $i; ffmpeg -i "$i" -y -v 0 -vcodec copy -acodec alac "${i%.flac}"....
user avatar
0 votes
0 answers
865 views

“no such file or directory:” - how to remove directory from .zprofile

I recently uninstalled homebrew from my Mac (macOS 11.2) and since then my terminal opens with the following message: /Users/lukas/.zprofile:6: no such file or directory: /opt/homebrew/bin/brew I ...
user avatar
0 votes
1 answer
106 views

FFmpeg multi input remux multi output...no such file or directory error

I've been trying to use this to remove the audio from multiple files in the same directory and remux them back in a different location. Hoevewer I keep getting the "'/myfolder/stuff/*.mkv'" &...
user avatar
0 votes
1 answer
156 views

Resetting the PRAM on a PowerMac G5 using Terminal 1.5.1

Need to reset the PRAM using Terminal 1.5 on a PowerMac G5 running Mac OS X 10.4.11 Tiger. However, when I enter the command in Terminal: sudo nvram -c c in not an option for that version of Terminal....
user avatar
0 votes
1 answer
51 views

How do I go about removing a built-in application on MacOS Catalina 10.15.6?

Here are the things I've tried... I'm within /System/Application, went into Finder and was able to change permission to custom and have set both Admin/Everyone to Read/Write. Disabled SIP Became root ...
user avatar
0 votes
1 answer
266 views

'Make text smaller' actually reduce the size of the window with terminal or iterm2 in mac, instead of the font size

If I am in full screen mode the shortcut cmd+ and cmd- increase or reduce the size of the text, as it should. Otherwise the shortcuts just reduce or increase the size of entire window, they don't ...
user avatar
0 votes
1 answer
747 views

How to uninstall iTerm form the mac?

How can I uninstall iTerm from my Mac? I searched a lot on the Internet but I didn't find any helpful Informations. I want to mention too that I installed iTerm without using Homebrew.
user avatar
1 vote
0 answers
33 views

How do I open URLs in the background of an existing Chrome window with Terminal on MacOS?

Currently I am building an iOS shortcut to open multiple links through SSH on my MacBook and I am wondering if it is possible to open URLs in the background of Google Chrome without losing focus of ...
user avatar
0 votes
1 answer
3k views

Operation not permitted using Find in macOS Terminal

This is a lead-up to my main question here (Fully uninstall Norton from mac) I get "Operation not permitted" when running "sudo find" in terminal on macOS. I have given terminal ...
user avatar
  • 11
0 votes
0 answers
638 views

"other" storage in Mac is 27gbs after clean install of BigSur beta

I downloaded and installed macOS Big Sur beta. I did a clean install and in my storage I have 14gbs used by the system and the "other" is taking 27gbs and I can't seem to find out what is ...
user avatar
0 votes
1 answer
88 views

Automator/Terminal/Apple Script: Fetch data from macos console app

I want to use automator or terminal to fetch data from the mac console app. In particular: If you search for "sleepwake" in the console app › tab "Mac Analytics Data", you get the ...
user avatar
3 votes
1 answer
1k views

Time Machine: tmutil compare gives always 0B as result

i had several time machine backups. The most recent drive failed. I wanted to compare an older backup to my current Mac OS internal drive. Usually, you would use sudo tmutil compare however it gives ...
user avatar
1 vote
1 answer
142 views

new tab doesn't work as intended in zsh

I want to open a new tab in same directory but it always move home directory. e.g.(~/sample press cmd + t, then ~) These are results of commands which seems to relevant cat /etc/shells /bin/bash /bin/...
user avatar
0 votes
0 answers
3k views

Anaconda on machine but conda command not found

I haven't used Anaconda in a while, I typed conda info into iTerm2 to read this error: zsh: command not found: conda I have copied the relevant .bashrc file information into the .zshrc file and still ...
user avatar
1 vote
0 answers
54 views

How do I ensure bash *never* expands paths in environment variables when tab-completing?

$ bash --version GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu) I normally using the above bash version on an Ubuntu 16.04 machine via MATE terminal. Currently however I am using macOS 10....
user avatar
  • 283
0 votes
0 answers
125 views

(Mac terminal) command line advice for extracting thousands of archives

I have literally thousands of archives containing Amiga adf files that I've downloaded and want to unpack them all. Can someone please tell me the command line i need to use in terminal in order to ...
user avatar
1 vote
1 answer
118 views

Why is vim swapping case on forward-delete?

Vim + Catalina I just switched to MacOS Catalina which has zsh and vim 8.1 out-of-the-box. VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 13 2019 14:45:40) Included patches: 1-503, 505-680, 682-...
user avatar
  • 813
1 vote
0 answers
620 views

Is there a way to recursivly set "Snap to Grid" as a folder setting in finder?

macOS Catalina I have noticed that when I create a directory it does not inherit "Snap to Grid". Is there a way to make it that a folder inherits that setting or is there a command I can run to ...
user avatar
3 votes
0 answers
739 views

macOS 10.15.3: Cannot delete peculiar file

I have just moved on to a new MacBook Pro(15 inch, 2017), and I am trying to delete a very peculiar file: /Users/tommy/Desktop/com.apple 07-11-49-482.SafariTechnologyPreview/SafariFamily rm doesn't ...
user avatar
  • 31
0 votes
1 answer
514 views

Chrome wont open links from Slack or Terminal on MacOS Mojave

When I click on links in Slack or run terminal commands like Jupyter Notebook, which previously have prompted Chrome to open a link, no link opens in Chrome. macOS Mojave Chrome 78.0.3904.108
user avatar
1 vote
0 answers
59 views

Override MacOS Terminal Menu With Embedded Dash

I see a menu item in MacOS Terminal which looks like "New Tab with Profile - Homebrew". I'd like to override the Cmd-T shortcut which Terminal helpfully assigned to it because the last tab I opened ...
user avatar
0 votes
0 answers
781 views

Unable to switch to channels 12 and 13 using terminal "airport" utility on MacOS (in wireless-monitoring mode)

There is a terminal airport utility in MacOS that can be used for wireless diagnostics. Detailed here: http://osxdaily.com/2007/01/18/airport-the-little-known-command-line-wireless-utility/ It can be ...
user avatar
8 votes
1 answer
2k views

Ping more than 56 bytes on macOS

I am on macOS and using terminal to ping. How would I be able to ping more than 56 bytes? I tried to search but was not able to find the answer.
user avatar
  • 89
0 votes
1 answer
86 views

Can't Open .rtf When made in terminal 2013 MacBook Air Mojave 10.14.6

Whenever I make a .rtf in the terminal app, with the touch command: touch FileName.rtf I am only able to open the file with terminal and I am unable to open the file with any other program i.e. ...
user avatar
1 vote
1 answer
689 views

Installing Pygame on Mac 10.11.6

As the title suggests I am having trouble installing pygame on my Mac. I've tried a lot different solutions. Such as using the steps in Python Crash Course to looking on stack overflow. I've tried: ...
user avatar
1 vote
1 answer
71 views

How do I keep using terminal while qlmanage is running?

I am using the command qlmanage -p (file) >/dev/null 2>/dev/null to open quicklook with a file and send both stdout and stderr to /dev/null. I would like the quicklook to stay up while I keep ...
user avatar
3 votes
1 answer
1k views

How to set up a keyboard shortcut to open Terminal on macOS FOR FREE?

Tried looking all over the internet, they all require buying third party programs that support the feature, or suggest programs that don't work for me. Like Automator. Automator doesn't recognize ...
user avatar
  • 31
0 votes
1 answer
89 views

Download a video from news website

I was on the local news today and would like to download the video from their web page. I have been strugling with terminal for an hour now. What is the best way to download a video like this? https:/...
user avatar
0 votes
1 answer
40 views

Terminal (Mac) isn't behaving as it should on startup

Apologies for this rookie question, but I have no idea what to do or who to ask to try and fix this. While following a Codecademy course and trying to set up Git, I did something that I can't for ...
user avatar
0 votes
1 answer
37 views

'man airport' executable in System Library but want it to be on /usr/bin/ fir global execution (MacOS

I want the binary airport command which is in /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/ to be in /usr/bin using sudo cp source dest but BSD OS prevents me from ...
user avatar
6 votes
1 answer
9k views

How can I select a line in the macOS terminal with keyboard shortcuts?

I've recently just switched over to macOS from Windows and I previously used PowerShell. In PowerShell, I could type out a command and hit ctrl/command a and it would select whatever I wrote, so that ...
user avatar
  • 63
0 votes
1 answer
390 views

How do you kill a Mac Terminal process over and over?

So I am in terminal, and let's say there is a virus that reopens every time I go to terminal and kill the process (Using ps -ax) it just reopens with a new PID. So how do you use "bash -c 'while [ 0 ];...
user avatar
1 vote
1 answer
1k views

What is the 'Meta' key in Terminal.app?

What is the purpose of the 'Meta' key in Terminal.app? I see lots of questions about it, but nothing actually explains what it exists for. I see it as a menu item and on my MacBook's touchbar. Does it ...
user avatar
  • 700
0 votes
1 answer
473 views

Why does PID of apps change/Is there a pattern?

Long story short, I'm trying to write a program in Python that will continuously run the command kill [PID of iTunes but from some testing with the command ps aux | grep iTunes | egrep -v "grep|...
user avatar
0 votes
1 answer
72 views

Can't highlight line of zoomed tmux pane if pane border behind it

TL;DR: I can't highlight/select a line on a Z pane if, on the unzoomed window, there is a pane border behind that line I am using tmux 2.6, terminal.app, and High Sierra on a macbook pro (the ...
user avatar
0 votes
2 answers
105 views

OS X file system anomaly: "ghost '?' in file names and unexpected symlinks

I've never seen this before - only found it because Time Machine kept failing (on Mac OS X High Sierra 10.13.6). A similar question was asked here ~7 years go but it was not solved (and he did not ...
user avatar
  • 103
0 votes
1 answer
109 views

Move files two directories up & delete directories afterwards, using wildcards

I have a folder structure like the below. 1/data/f4aa9d39291bc37a7cacedfab656a941/x1.jpg The first slot and the random string in the third slot vary depending on the folder. (Let's say for this ...
user avatar

1
2 3 4 5
9