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

terminal

  1. Alvin777

    Code to Display the Screen Orientation Again on Display Preferences?

    Hello Apple friends. It's sad the screen orientation was taken away for the main display (it only appears if you plug in a second monitor) in Monterey but is there a Terminal code to bring it back in the Display Preferences so there's no need to use the beta (will most likely have side-effects)...
  2. IDMah

    Nerdy fancy Terminal

    Is there a way to change the left Justification of the Terminal? So it isn't right up against the left edge. it just bugs me. Hahah!
  3. Alvin777

    Any Terminal Command to Cancel FileVault Encryption?

    Hello Apple friends. In the heat of the moment, at work (while there's discussion perhaps), I accidentally turned On FileVault encryption which is slowing things down and those who need to access my public files (Sharing thing) can't easily access my drive (Public folders) but I was actually...
  4. lowprofile

    Vim erroring out in MacOS Recovery

    After completing a clean install of Monterey on my MacBook Pro 2018, the vim editor in MacOS Recovery Terminal is no longer functioning properly. It will open the file after giving the error, but after pressing "i" to start editing, I get random letters all over the place. It's bizarre. Vim has...
  5. D

    macOS Restoring Bash and Python 2.7 on Monterey a good idea?

    Many years ago I taught myself some Bash and Python and wrote a couple of scripts which I still use all the time for work. So far this hasn't been a problem as I was still using Sierra on my old Mac. But now I just got a new Mac Studio running Monterey, which seems to have ditched both Bash and...
  6. 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...
  7. 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...
  8. GSWForever8

    Run python in terminal?

    How do you run python in macOS terminal?
  9. 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
  10. 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
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. M

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

    Check out this video I saw on YouTube
  19. 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...
  20. 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...