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

bash

  1. A

    SketchyBar: A highly customizable macOS status bar replacement

    SketchyBar is a free and open source project with which it is possible to create custom status bars for macOS. The project is targeted towards advanced users and tinkeres. It allows to fully customize the bar experience, including placement, paddings, margins, colors, blur, fonts, icons, etc...
  2. 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...
  3. 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...
  4. D

    macOS Moving from Sierra to Monterey. Will my Bash and Python code survive?

    I am using Sierra right now but will be moving over to a new Mac soon. Many years ago I learned some basic programming (bash and python) and wrote a few little scripts that I still use a lot for work. I have since forgotten most of what I had learned, though. I read somewhere that the version...
  5. 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...
  6. 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...
  7. S

    two character commands not stored in bash history in mac terminal

    I enter commands with just two characters something like 'ae' or 'tt' but they are not stored in history and I can't up arrow to them. How do I fix this in Mac terminal using bash as shell?
  8. B

    macOS Automatic loading of .zshrc inside a zsh script

    Hi, In Mojave I ran simple bash scripts by just writing them in text and saving as script.sh and then running from terminal. In principle the same scripts do work in zsh in Catalina. But now in Catalina the same scripts often cause errors by not loading dyld libraries. I can fix the error by...
  9. allegraosati

    macOS Getting back into coding, encountering an error in Terminal

    I'm dusting off Terminal to be able to publish stories to my channel on Apple News through Apple News Format. Yippee! Here's my question: I've created a .papi config file successfully to get access to publishing to my channel. The Macdown file from Apple tells me to run papi-client channel...
  10. dauber

    Every time I CD: "...is a directory"

    I just did a fresh install of Mojave (10.14.2) on my MacBook Pro. Every time I execute a CD command, whether it's successful or not, i get this: -bash: .: /Users/Dauber: is a directory Weird thing is...there's no such directory...my "Users" directory consists of "Dauber 1", "Shared"...
  11. 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...
  12. C

    (Process completed) message from Terminal

    macos Terminal running Bash hangs with message (Process complete) I have tried Fprce Quit, restart, Shutdown, and Terminal Preferences>profile>shell: close fi the shell exited cleanly, and Don't close the window. None of them unhang the Terminal. Upgrading to macOS 10.13.4 did not work...
  13. 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...
  14. M

    linux terminal -bash: env: No such file or directory

    Hi All, Following is the issue i'm facing. i'm new to the terminal and this linux env I tried to set the env variables on my mac for the ANT and MAVEN. something nano ~/.bash_profile and after logging back, my terminal always opens with the following commands and any linux command i run it...
  15. ilivenicely

    in Mac Terminal I receive: '{PATH}:/tools': not valid identifier

    Today I tried to run an ifconfig in my terminal and encountered this problem : Last login: Fri Apr 21 14:10:52 on ttys000 -bash: export: `{PATH}:/tools': not a valid identifier -bash: touch: command not found bogon:~ robertmccormick$ ifconfig -bash: ifconfig: command not found I've...
  16. 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...