Questions tagged [terminal.app]

The terminal emulator included in Mac OS X.

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

Can I exclude some folders when using the “find” macOS terminal command?

When using the terminal command "find /directory path/ -type f | wc -l" is there an argument that I can insert that will exclude from the count any folders with a specific name (and thus ...
0
votes
0answers
12 views

How to check current Terminal emulator is Alacritty?

I'm tuning Vim settings(.vimrc) and since the built in Terminal.app on MacOSX doesn't support true colors, I have to detect whether current terminal is Alacritty or Terminal.app then decide whether or ...
1
vote
1answer
41 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="\...
0
votes
1answer
20 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.
0
votes
2answers
48 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}"....
0
votes
0answers
113 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 ...
0
votes
1answer
28 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'" &...
0
votes
1answer
82 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....
0
votes
1answer
42 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 ...
0
votes
1answer
38 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 ...
0
votes
0answers
206 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.
1
vote
0answers
22 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 ...
0
votes
1answer
471 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 ...
0
votes
0answers
23 views

Fix mac terminal to original state

Recently I planned to tweak to mac by installing iterm2. Post-installation I have noticed some weird characters on my mac terminal which is bothering me. Is there I way that I can get restore my mac ...
0
votes
0answers
618 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 ...
0
votes
1answer
51 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 ...
3
votes
1answer
427 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 ...
1
vote
1answer
45 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/...
0
votes
0answers
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 ...
0
votes
0answers
22 views

My terminal doesn't end the process (EOF)

I'm running a "go" program, which stops to asking inputs when I press Ctrl+d (EOF). But in my mac when I press Ctrl+d, it doesn't stop and it continues to ask inputs.
1
vote
0answers
35 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....
0
votes
0answers
80 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 ...
1
vote
1answer
72 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-...
0
votes
0answers
332 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 ...
2
votes
0answers
626 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 ...
0
votes
1answer
201 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
1
vote
0answers
50 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 ...
0
votes
0answers
538 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 ...
8
votes
1answer
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.
0
votes
1answer
50 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. ...
1
vote
1answer
545 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: ...
1
vote
1answer
51 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 ...
3
votes
1answer
948 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 ...
0
votes
1answer
82 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:/...
0
votes
1answer
39 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 ...
0
votes
1answer
26 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 ...
3
votes
1answer
4k 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 ...
0
votes
1answer
305 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 ];...
1
vote
1answer
918 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 ...
0
votes
1answer
272 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|...
0
votes
1answer
51 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 ...
0
votes
2answers
95 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 ...
0
votes
1answer
103 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 ...
1
vote
0answers
76 views

(On a mac) - VirtualBox not able to access the .vmdk file for a usb virtual machine

When selecting my virtual disk in virtualbox, the error reads as in the photo. I have done this successfully while "sudo -b"-ing the executable in the app, but I need the file to be under my user.
2
votes
0answers
187 views

Prevent Stretching of Terminal Background on MacOS

This may seem like a silly question, but I am modifying the appearance of the terminal application using the profiles menu on MacOS 10.14. I have a nice high resolution image that I have used as a ...
0
votes
0answers
149 views

Disabling bracketed paste mode also disables the 'p' key?

Since upgrading to 10.13 (I think that was the release), macOS has supported bracketed paste mode. This is extremely annoying, because I frequently find myself getting garbage characters in Bash that ...
1
vote
1answer
503 views

Use iterm2 or terminal app which can filter results, not just highlight results

Right now I am on MacOS, and I am using iterm2 as my terminal app. It's got some great features but one limitation is that when I use ctrl-f to search for something, it will highlight the results in ...
0
votes
2answers
328 views

Why does terminal output this every time I open it?

Every time I open Terminal, it outputs: -bash: e: command not found Is that normal? If not, how could I remove this? I'm using MacOs Mojave.
7
votes
1answer
959 views

Less seems to no longer accept mouse-scrolls in the Terminal in macOS

For a few years now, Terminal.app in macOS has supported mouse-scrolling with the less program, but today I noticed that it is no longer accepting mouse scrolls, and only works with the Up and Down ...
0
votes
1answer
67 views

How to remember the purpose of specific Terminal tabs?

I always have multiple Terminal tabs open, each with a different purpose. I want to remind myself what that purpose is by echoing something (stored in a variable) whenever that tab becomes idle. (By ...

1
2 3 4 5
8