# macOS

**URL:** https://community.unix.com/c/unix/macos-apple/36.md?page=2

[Latest](https://community.unix.com/latest.md) · [Categories](https://community.unix.com/categories.md)

**Page:** 3

---

## [A new OSX 10.12.x terminal from the command line.](https://community.unix.com/t/a-new-osx-10-12-x-terminal-from-the-command-line/366629)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 2\
**Last updated:** [May 18, 2017, 11:44am UTC](https://community.unix.com/t/a-new-osx-10-12-x-terminal-from-the-command-line/366629 "2017-05-18T11:44:19Z")

</div>

Hi guys and gals… After much searching on the good ol’ internet I could find nothing, so this is the result. ALthough many people seem to have asked this question no-one seems to have a solution so here we go. I need …

---

## [Text mode AF spectrum analyser.](https://community.unix.com/t/text-mode-af-spectrum-analyser/366272)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 7\
**Last updated:** [April 26, 2017, 4:28pm UTC](https://community.unix.com/t/text-mode-af-spectrum-analyser/366272 "2017-04-26T16:28:07Z")

</div>

Well guys, this MUST be a first. This is DEMO code only and has NO error detection or correction, nor out of bounds checking. I have succumbed to Python and scipy to do the FFT heavy lifting as I have absolutely no ide…

---

## [Warning using 'find'.](https://community.unix.com/t/warning-using-find/363447)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 8\
**Last updated:** [March 25, 2017, 7:12am UTC](https://community.unix.com/t/warning-using-find/363447 "2017-03-25T07:12:28Z")

</div>

This is more of a discovery than a bug and for OSX 10.12.x, maybe earlier but I don’t have them now. Consider this code:- # Auto-find the correct path and "sox" file, but it WILL take a very long time... # NOTE: It…

---

## [Help in explaining this echo conundrum.](https://community.unix.com/t/help-in-explaining-this-echo-conundrum/365582)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 6\
**Last updated:** [March 17, 2017, 11:54am UTC](https://community.unix.com/t/help-in-explaining-this-echo-conundrum/365582 "2017-03-17T11:54:51Z")

</div>

OSX 10.12.3, default bash terminal. Consider this code and note it is calling ‘sh’ inside the code… #!/bin/sh echo '1 2 2 3 5' \> /tmp/text hexdump -C /tmp/text /bin/echo '1 2 3 4 5' \> /tmp/text hexdump -C /tmp/text No…

---

## [SHA1 verification script](https://community.unix.com/t/sha1-verification-script/365058)

<div class="topic-metadata">

**Author:** [@Ardzii](https://community.unix.com/u/Ardzii)\
**Replies:** 2\
**Last updated:** [February 15, 2017, 6:30am UTC](https://community.unix.com/t/sha1-verification-script/365058 "2017-02-15T06:30:45Z")

</div>

Hi guys! Me again! … I’m trying to build (on MacOS directly) a bash script that will help me verify a SHA1 digest (to verify downloads and so on and so forth). So first off, here’s my version of BASH under OSX: bash-…

---

## [A small OSX centric app' to help a newborn sleep...](https://community.unix.com/t/a-small-osx-centric-app-to-help-a-newborn-sleep/364483)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 5:40pm UTC](https://community.unix.com/t/a-small-osx-centric-app-to-help-a-newborn-sleep/364483 "2017-01-11T17:40:19Z")

</div>

shush.sh This is a noise generator for newborn babies to listen to sooth them to sleep. See more about it here:- White noise machine - Wikipedia It is invoked as:- Usage:- \[./\]shush.sh \<time in seconds from 18 to 27…

---

## [Arrange file by modified date](https://community.unix.com/t/arrange-file-by-modified-date/364995)

<div class="topic-metadata">

**Author:** [@gigagigosu](https://community.unix.com/u/gigagigosu)\
**Replies:** 2\
**Last updated:** [February 10, 2017, 2:07pm UTC](https://community.unix.com/t/arrange-file-by-modified-date/364995 "2017-02-10T14:07:23Z")

</div>

Hi, Am performing a find based on filename and result can contain multiple files being found Let’s say my find command is find /Archive -f -name 12345.pdf and result of find command is /Archive/Folder A/12345.pdf /A…

---

## [Noob trying to improve](https://community.unix.com/t/noob-trying-to-improve/364184)

<div class="topic-metadata">

**Author:** [@Ardzii](https://community.unix.com/u/Ardzii)\
**Replies:** 39\
**Last updated:** [February 8, 2017, 11:52am UTC](https://community.unix.com/t/noob-trying-to-improve/364184 "2017-02-08T11:52:10Z")

</div>

Hi everyone! This is my first post here, I hope that I will not already be violating any rule! I also would like to apologize in advance as my post will definitely be a noob post… please have patience and faith :rolleye…

---

## [String manipulation](https://community.unix.com/t/string-manipulation/364915)

<div class="topic-metadata">

**Author:** [@gigagigosu](https://community.unix.com/u/gigagigosu)\
**Replies:** 9\
**Last updated:** [February 6, 2017, 9:41pm UTC](https://community.unix.com/t/string-manipulation/364915 "2017-02-06T21:41:37Z")

</div>

i have a string that am looking to extract all characters following 3 consecutiv numbers. Example my string is J1705PEAN038TDMN, i need to get TDMN My string can have multiple 3 consecutive numbers, i need what follows…

---

## [OSX Sierra transparent shell audio sampler.](https://community.unix.com/t/osx-sierra-transparent-shell-audio-sampler/363520)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 3\
**Last updated:** [February 5, 2017, 10:04am UTC](https://community.unix.com/t/osx-sierra-transparent-shell-audio-sampler/363520 "2017-02-05T10:04:01Z")

</div>

Well after the transparent QuickTime Player means of capture for OSX 10.7.x became broken in at least Yosemite I decided to persevere with a version of command line capture for OSX 10.12.x. A derivative of this DEMO is …

---

## [Text file cleanup](https://community.unix.com/t/text-file-cleanup/364641)

<div class="topic-metadata">

**Author:** [@gigagigosu](https://community.unix.com/u/gigagigosu)\
**Replies:** 4\
**Last updated:** [January 20, 2017, 3:02pm UTC](https://community.unix.com/t/text-file-cleanup/364641 "2017-01-20T15:02:44Z")

</div>

Hi there, i do get some text files that i’d lile to clean them up based on following rule: if a line starts with " then remove return (new line, carriage return) before ". Example, my input text file line 1 line 2 "li…

---

## [Installing Dash Shell on OS X Lion](https://community.unix.com/t/installing-dash-shell-on-os-x-lion/306520)

<div class="topic-metadata">

**Author:** [@Scrutinizer](https://community.unix.com/u/Scrutinizer)\
**Replies:** 2\
**Last updated:** [January 16, 2017, 7:48am UTC](https://community.unix.com/t/installing-dash-shell-on-os-x-lion/306520 "2017-01-16T07:48:55Z")

</div>

For those interested in installing dash shell on OSX Lion to help test POSIX compliancy of shell scripts, it is quite easy. I did it like this: If you don't have gcc on your system: 0. Download and install the Command …

---

## [Root access in OSX 10.12.2.](https://community.unix.com/t/root-access-in-osx-10-12-2/364071)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 4\
**Last updated:** [December 31, 2016, 7:37am UTC](https://community.unix.com/t/root-access-in-osx-10-12-2/364071 "2016-12-31T07:37:47Z")

</div>

Mac users… I updated this MBP from OSX 10.12.1 to the brand new OSX 10.12.2 two days ago. A week ago I installed the Xcode suite. Now the QT shell audio capture in another recent thread is broken when exporting a file…

---

## [Mac OS X LDAP client not accepting ssh or console logins  (PAM error)](https://community.unix.com/t/mac-os-x-ldap-client-not-accepting-ssh-or-console-logins-pam-error/362118)

<div class="topic-metadata">

**Author:** [@jlh](https://community.unix.com/u/jlh)\
**Replies:** 2\
**Last updated:** [August 23, 2016, 3:33pm UTC](https://community.unix.com/t/mac-os-x-ldap-client-not-accepting-ssh-or-console-logins-pam-error/362118 "2016-08-23T15:33:00Z")

</div>

Hi Folks, I’ve install 389 Directory Server on a Centos 7.0 server. Over the last two days I’ve been trying to connect a MacBook running 10.10.5 to the server as a client and I’m having only partial success. I’ve “Jo…

---

## [OSX afplay command line audio player \_manual\_.](https://community.unix.com/t/osx-afplay-command-line-audio-player-manual/362074)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 0\
**Last updated:** [August 21, 2016, 1:24pm UTC](https://community.unix.com/t/osx-afplay-command-line-audio-player-manual/362074 "2016-08-21T13:24:14Z")

</div>

Hi everyone… I don’t know if this is the correct forum but it is Apple OSX specific. It is a proper pseudo-man page for the sparse official one… This is as thorough as experimentation can get… Command line afplay, Au…

---

## [Variable frequency audio generator...](https://community.unix.com/t/variable-frequency-audio-generator/361950)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 2\
**Last updated:** [August 19, 2016, 5:32am UTC](https://community.unix.com/t/variable-frequency-audio-generator/361950 "2016-08-19T05:32:04Z")

</div>

Hi all… I intend to do an Audio Function Generator using Awk, (already started thanks to Don), but the biggest thing I have struggled with was variable frequency. I was going to generate differing sized waveforms on th…

---

## [Text mode dual \_LED\_ VU meter.](https://community.unix.com/t/text-mode-dual-led-vu-meter/361873)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 1\
**Last updated:** [August 9, 2016, 7:56am UTC](https://community.unix.com/t/text-mode-dual-led-vu-meter/361873 "2016-08-09T07:56:11Z")

</div>

Hi guys… Finally decided to release this, I have a python version too but that is unimportant to me. It is a text mode “Dual\_VU.sh” meter. It actually calls dash as the interpreter but change the shebang to suit yours…

---

## [POSIX compliance...](https://community.unix.com/t/posix-compliance/361277)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 11\
**Last updated:** [July 20, 2016, 11:44am UTC](https://community.unix.com/t/posix-compliance/361277 "2016-07-20T11:44:48Z")

</div>

Thanks to all you guys about posix compliance I have learnt an enormous amount over the last few days. I have written a program that is an Egg Timer with simple animation. I now realise how sophisticated ‘bash’ is comp…

---

## [A system deletes my .bashrc file](https://community.unix.com/t/a-system-deletes-my-bashrc-file/361337)

<div class="topic-metadata">

**Author:** [@scrutinizerix](https://community.unix.com/u/scrutinizerix)\
**Replies:** 6\
**Last updated:** [July 11, 2016, 12:46pm UTC](https://community.unix.com/t/a-system-deletes-my-bashrc-file/361337 "2016-07-11T12:46:46Z")

</div>

It deletes my .bashrc file rarely but predictability after some unknown count of Mac’s restarts. Has someone ever faced such behavior? How do I prevent OS X from modifying .bashrc? What ownership/permission should I set…

---

## [Manually Installing McAfee AV agent](https://community.unix.com/t/manually-installing-mcafee-av-agent/359922)

<div class="topic-metadata">

**Author:** [@unimachead](https://community.unix.com/u/unimachead)\
**Replies:** 3\
**Last updated:** [June 6, 2016, 1:57am UTC](https://community.unix.com/t/manually-installing-mcafee-av-agent/359922 "2016-06-06T01:57:20Z")

</div>

I've tried a few things to manually push out a script as a test from one of my primary machines to a test machine. I have a McAfee agent that I just obtained from McAfee, and I'm simply trying to remember what I did via…

---

## [Virtual mixer](https://community.unix.com/t/virtual-mixer/359930)

<div class="topic-metadata">

**Author:** [@Tameto](https://community.unix.com/u/Tameto)\
**Replies:** 2\
**Last updated:** [April 24, 2016, 3:54am UTC](https://community.unix.com/t/virtual-mixer/359930 "2016-04-24T03:54:44Z")

</div>

Hi, I am setting up a Radio Broadcast from my laptop and looking for the software I need. As I will be playing music from a software, voice from a usb microphone and jingles from another software I was wondering if any…

---

## [An Audio Function Generator...](https://community.unix.com/t/an-audio-function-generator/359484)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 11\
**Last updated:** [April 4, 2016, 1:36am UTC](https://community.unix.com/t/an-audio-function-generator/359484 "2016-04-04T01:36:59Z")

</div>

Ok guys, gals and geeks… As from today I am starting to learn awk in earnest doing something totally different. I am going to create a pseudo-Audio\_Function Generator centred around OSX 10.11.x minimum. The code below …

---

## [How to join several HTML files?](https://community.unix.com/t/how-to-join-several-html-files/359032)

<div class="topic-metadata">

**Author:** [@Etnad](https://community.unix.com/u/Etnad)\
**Replies:** 4\
**Last updated:** [March 10, 2016, 11:33am UTC](https://community.unix.com/t/how-to-join-several-html-files/359032 "2016-03-10T11:33:19Z")

</div>

Hello I need to merge several HTML files into one and possibly convert it to “.rtf” All files are in the same folder. The files contain Links I need to keep Any hints? Thanks

---

## [What's the reason behind having -n option for mv command?](https://community.unix.com/t/whats-the-reason-behind-having-n-option-for-mv-command/358852)

<div class="topic-metadata">

**Author:** [@scrutinizerix](https://community.unix.com/u/scrutinizerix)\
**Replies:** 8\
**Last updated:** [February 29, 2016, 5:50pm UTC](https://community.unix.com/t/whats-the-reason-behind-having-n-option-for-mv-command/358852 "2016-02-29T17:50:25Z")

</div>

Sorry for a question that may seem dumb but learning UNIX basics I still can not grasp benefits of using mv -n source file target file I can understand the need for cp -n source file target file when you get a copy …

---

## [Installer issue](https://community.unix.com/t/installer-issue/358695)

<div class="topic-metadata">

**Author:** [@peli](https://community.unix.com/u/peli)\
**Replies:** 1\
**Last updated:** [February 21, 2016, 3:01pm UTC](https://community.unix.com/t/installer-issue/358695 "2016-02-21T15:01:25Z")

</div>

Hi, I have a little problem with an Installer. In my script I have a section that place a keyboard shortcut: #!/usr/bin/perl ################################################################################ # # Create D…

---

## [Can I mount partition at given dir path](https://community.unix.com/t/can-i-mount-partition-at-given-dir-path/358271)

<div class="topic-metadata">

**Author:** [@ezee](https://community.unix.com/u/ezee)\
**Replies:** 0\
**Last updated:** [February 2, 2016, 10:49am UTC](https://community.unix.com/t/can-i-mount-partition-at-given-dir-path/358271 "2016-02-02T10:49:21Z")

</div>

Hi, In Linux, I had modified fstab file which used to mount ~/Music, ~/Pictures, etc with disk partitions containing corresponding content or binding directory located at other partition. But I am wondering can I do sam…

---

## [Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?](https://community.unix.com/t/does-there-exist-a-unix-command-to-prevent-docs-versions-from-uncontrolled-erasing-on-logging-in/357973)

<div class="topic-metadata">

**Author:** [@scrutinizerix](https://community.unix.com/u/scrutinizerix)\
**Replies:** 0\
**Last updated:** [January 16, 2016, 2:40pm UTC](https://community.unix.com/t/does-there-exist-a-unix-command-to-prevent-docs-versions-from-uncontrolled-erasing-on-logging-in/357973 "2016-01-16T14:40:52Z")

</div>

So far nobody on ASC, nor anywhere was able to respond to my issue and Google wasn’t much of help either. I started to experience the issue some time ago: my OS is Lion 10.7.5. It occurs in all apps that have the functi…

---

## [Don't understand the practical difference between command aliases and environmental variables](https://community.unix.com/t/dont-understand-the-practical-difference-between-command-aliases-and-environmental-variables/357829)

<div class="topic-metadata">

**Author:** [@scrutinizerix](https://community.unix.com/u/scrutinizerix)\
**Replies:** 3\
**Last updated:** [January 10, 2016, 6:29am UTC](https://community.unix.com/t/dont-understand-the-practical-difference-between-command-aliases-and-environmental-variables/357829 "2016-01-10T06:29:24Z")

</div>

Hey, I'm recently learning Unix from the video course by Kevin Scoglund. I'm stuck at the moment where he goes into Environmenat variables. I have some issues with understanding what's the essential difference between E…

---

## [Just installed El Capitan...](https://community.unix.com/t/just-installed-el-capitan/357579)

<div class="topic-metadata">

**Author:** [@wisecracker](https://community.unix.com/u/wisecracker)\
**Replies:** 4\
**Last updated:** [December 28, 2015, 8:21am UTC](https://community.unix.com/t/just-installed-el-capitan/357579 "2015-12-28T08:21:34Z")

</div>

Just updated from Yosemite to El Capitan on my iMac… What an improvement! The front end is really slick now on this tool… Still using OSX 10.7.5 on my laptop and the Applescript code inside AudioScope.sh is now broken…

---

## [Search recursive](https://community.unix.com/t/search-recursive/356538)

<div class="topic-metadata">

**Author:** [@sbrady](https://community.unix.com/u/sbrady)\
**Replies:** 2\
**Last updated:** [November 4, 2015, 10:01pm UTC](https://community.unix.com/t/search-recursive/356538 "2015-11-04T22:01:33Z")

</div>

before posting, I have tried to find my answer elsewhere. no luck. I need to find a file buried in a folder somewhere. Master folder has 10 sub folders. each sub folder has folders too. I found this but it does nothi…

[Previous page](https://community.unix.com/c/unix/macos-apple/36.md?page=1)

[Next page](https://community.unix.com/c/unix/macos-apple/36.md?page=3)
