Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

terminal

  1. Alvin777

    Where Can I Find all the Commands in Z Shell (Bash Upgrade Shell It Seems)?

    Hello Mac and Apple friends. Where can I find the complete manual for the Z Shell which seems to be a an upgrade shell of Bash. Is there a built-in manula inside the shell itself that I can type in macOS's Terminal? If so, what is the command? I've used sudo mount -t hfs /dev/disk2...
  2. D

    What is the best (most reliable) way to copy large amounts of files, Finder or the Terminal?

    I am planning to do a manual migration and will thusly have to transfer a lot of data. This may seem silly but is there a better way than just using the Finder? I remember using the Terminal a long time ago for something like this, but I've forgotten why I did that. Do some bash commands offer...
  3. GSWForever8

    Run python in terminal?

    How do you run python in macOS terminal?
  4. Alvin777

    Any Terminal Method to Bring AirPlay to Unsupported Macs?

    Hi. Is there any command that can be typed in Terminal (macOS Moneterey) to make AirPlay work with old Macs like the Late 2015 5K iMac and the iPhone 6s Plus (which has AirPlay I believe, coz' I see it in Settings)? Thank you. God bless, Revelation 21:4
  5. Oz.

    Terminal prompt colors changes when changing background color

    I set my own prompt colors but are not accurate, somehow the terminal background color influences this. It is possible to stop it? Thanks
  6. M

    macOS shell script check. A better way to execute the if statement and check for a condition

    I need to write a very simple shell script that will check if the system is configured to enforce multi-factor authentication. To verify that the system is configured to enforce multi-factor authentication, run the following commands: If the results do not show "enforceSmartCard=1", this is a...
  7. J

    macOS Commands Caching-Server

    Hi, I try to use to turn on the LogClientIdentity-Setting on macOS-Caching like https://support.apple.com/de-de/guide/mac-help/mchl91e7141a/mac Is that this command? $ sudo -u _assetcache defaults write /Library/Preferences/com.apple.AssetCache.plist LogClientIdentity -string true But it...
  8. D

    Can't get bluetooth dongle to 'stick' in Big Sur

    Hi there, I have a 2018 Mac Mini (i7, 16GB, 512GB SSD). The internal bluetooth is unusable to connect to my Apple trackpad (interference probably made worse by the large number of devices plugged in to all available ports). I've been happily using a BT dongle in one of the USB ports on my...
  9. J

    Please help! Corrupt External HDD in MSDOS format not mounting osX Catalina after black screen crash, how do I use terminal fsck or diskutil?

    Hello I think my partition map is corrupted? can anyone help with my hard drive and using fsck or similar as disk utility cannot repair and I have tried fsck but need help with the process of it And to see if disk is being held by fsck_msdos or fsck_exfat command - tried ps aux | grep to see...
  10. dukee101

    Reopening a crashed app does so in a Terminal process [bug?]

    I'm running into an issue where if an app crashes, and I click 'Reopen', then macOS launches Terminal, and within Terminal, reopens the app. If I quit Terminal, that will kill the app as well. In the 15 years I've used macOS, I have never witnessed this behavior when clicking 'Reopen'. It's...
  11. outcoldman

    ShellHistory a new application that helps you to backup, synchronize and organize your shell history (50% off during launch)

    I am excited to show my new application, ShellHistory. I can say that I started working on it four years ago when I published my little shell script dbhist. That script was convenient. It kept shell history from many macs for the last years (close to 100,000 records). But it was a time for an...
  12. imprvws

    Unable To Run Sudo On Terminal (Suspect Malware)

    When I Run Any Sudo Commands I get: sudo: /etc/sudoers is owned by uid 501, should be 0 sudo: no valid sudoers sources found, quitting sudo: error initializing audit plugin sudoers_audit This behavior starts at a failed mongodb installation and increased by the last 11.3.1 big sur update...
  13. M

    M1 activity monitor showing different SSD write reading than system terminal... Apple is hiding something

    Check out this video I saw on YouTube
  14. blackxacto

    Turning off SIP & Disk Drill 4

    always before Disk Drill app I have turned off SIP by typing: csrutil disable. Then, to turn SIP back on i have always typed: csrutil enable. So now i am told to type: csrutil enable —without fs. What is the command fs in DD instructions. If i type it, what do i type to turn SIP back on? I...
  15. A

    UNABLE TO MOUNT WD MY PASSPORT 4TB EVEN AFTER FORMATTING IT TO EX-FAT. TRIED EVERYTHING. (ON M1 MacbookAir))

    Here's everything I've tried. 1) Since my Samsung T5 SSD is in Ex-fat format and seems to work properly. I backed up 3TB data and then formatted it to ex-Fat and moved the data back. It still doesn't seem to work. 2) I've tried using WD discovery to mount. It just doesn't work. Not even an...
  16. F

    Running .app folders without having permissions

    So, this is my situation. I'm a student, learning some Python and the linux/bash shell. I have a Mac running mojave with almost everything locked down. I can't access my terminal, and I can't modify the applications folder. I know the workaround with installing applications outside of the...
  17. T

    cpu Temperatures

    Hey i got a question. I have a widget installed named "fanny". that tells me the current cpu temperature. But also at the same time i have terminal running sudo powermetrics -s smc | grep -i „CPU die temperature“. Comparing now both temperatures there are off all the time. sometimes off by 10...
  18. K

    terminal cannot browse shares Big Sur

    mount a share like this: sudo open smb://user:password@NAS/share navigate to share cd share try to list contents ls ls: .: Operation not permitted
  19. jumpcutking

    Help me: Terminal says: galaxy-note10??? on my MacBook Pro

    I'm a developer and a producer... sometimes I need to install applications and such to use for that purpose but I'm smart enough to know what not to download, check my sources, and when in doubt verify it is what it says it is. This morning my terminal should me this (my username is thanos...
  20. S

    G4 OSX Leopard Terminal window not active!

    Hi all, I have a fairly strange issue with my terminal in Leopard 10.5.8 - Upon opening terminal, it is active and in-front - When clicking terminal (anywhere) it gets pushed to the background - When trying to click terminal now, the mouse does not even recognise a...