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

shell

  1. 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...
  2. 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...
  3. wengwengweng

    FSPathMakeRef(/Applications/iTerm.app) failed with error -36. [fixed]

    it happens when I tried to use the command `open -a` I'm not sure if it has to do with I just deleted some files in /Previous System fixed after a restart
  4. O

    macOS Bash script instead of rm to prompt with number of files about to delete (a safer rm)

    Background I always review my rm command line carefully before executing, so I thought I'd be fine. The other day while using the command history, I recalled and executed a previous command, thinking it's "ls some files", but didn't notice it's "rm some files". I executed that in a different...
  5. mmphosis

    bash — command line shell / Terminal

    I am running Mac OS X 10.5.8 (Leopard), and this is the version of bash, the shell that is installed: /bin/bash --version GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0) Copyright (C) 2005 Free Software Foundation, Inc. I just downloaded and built the latest version of bash. GNU...
  6. X

    macOS Disable kext for external optical mouse by terminal without causing kernel panic

    Hello everyone, I would like to know if there's a way to disconnect external mouse support on the MacOs High Sierra 10.13 for some testing purposes. The test needs to do 10 sleep cycles, leave the computer awake for 30s and sleep it by 60s. When the mouse is connected to the mac, by some...
  7. organicCPU

    macOS shell - arrange images by inode numbers

    Overview: How can I edit the inode number (ls -i /path/to/file) of certain files after file creation on a FAT-32 filesystem? Why I'd like to do this: During the holiday season I encountered a problem with jpg images on USB flash drives showing up in some weird order on a Philips TV. After all...
  8. T

    Resolved umask type behavior on user connected by network sharing

    My network scanner is configured to drop files into a well defined location on my MacBook and it correctly drops files there. Trouble is the default umask value seems to be 077 which means that when it drops scans then I need to do a sudo'd chmod to give myself (or the wife) permissions to the...
  9. michelletelfo

    Can You Build a MacBook Pro?

    Hey, guys! So I currently own a MacBook Pro 15" from late 2011 (w/ the optical drive). It's got a 2.2 GHZ Intel Core i7 with 8GB of memory and an Intel HD Graphics card. I've also got a 1TB SATA Disk. I'm wanting to switch to a lighter laptop, but still want to save my money. So I was...
  10. C

    clamshells

    Hi do you wish apple made g4 clamshells? I do because they have handles are small the keyboard is nice and its durable
  11. 0002378

    macOS (Shell) Can rsync be used to reorganize files ?

    Let me explain the scenario. I have a huge folder of documentaries on my internal HDD, and I also keep them backed up on my external drive. Let's say that one day, I decide to reorganize my documentaries on my local drive into neat categories (folders). I don't add any new files, I just move...
  12. byronic

    MYSTERY: OS X shell processes hanging, CPU load 100%+!

    Hello everybody! This is my first post. Sorry it has to be about a difficult, no-good issue with my Macbook Pro running OS X 10.10.5 (Yosemite), although I believe this applies to other versions as a friend of mine has virtually the same issue. For a few months now I've had a problem where...
  13. A

    macOS Run Script with Launchd at Login

    I'm attempting to setup a Launch Agent that will run a simple shell script to mount a FUSE drive at login. I have written a .plist file and moved it into the ~/Library/LaunchAgents/ directory (shown below). Both the .plist and the shell script have permissions of 755. I am able to use the...
  14. C

    Resolved Macbook pro case?

    Hey, I'm currently desperately searching a case or hardshell for my new macbook pro 15 inch with touch bar. If anyone knows a site where i can buy one, please help me out!
  15. App Tyrant

    Current Directory Window for Terminal for macOS [Free App]

    Today I have released Current Directory Window for Terminal for macOS. This app is currently free for Black Friday for everyone. App description and screenshots below. App Description: Current Directory Window for Terminal allows you to open a new Terminal window from Finder with the current...