I need to have a script return a date that a particular application launched (in this case Parallels, but solution should be non-specific) so that our asset management system can mark the license for ...

I'm making a script which should run when I open Safari. I want it to open when the user logs in and run in the background, then have part of the script to run when Safari opens.
Is this possible in ...

I am working on a way to import a RootCA into the login keychain of OS X and set it to always trust, the cert is located on a file share server.
I am relatively new to the whole Bash scripting scene ...

I've faced with the problem of using simple shell commands like AWK and print within my sh scripts on my Mac ( the same script works perfect on the Linux). For instance below script which seek for the ...

I just install OSX Lion on an old Mac Pro, as well as all the major updates 10.7.1 through to 10.7.5.
Then I installed the BASH Shellshock patch for OSX Lion 10.7.5 and after restarting my Window UI ...

I need my command history to be shared across all terminal sessions and all commands available for immediate recall from any other terminal. This is the default for old school ksh shells but hasn't ...

I am still running MacOS 10.6.8 on my older iMac because of software issues-some of my most useful stuff won't run on systems past Tiger. Can I use the patch published by Justin Meyers in "Every Mac ...

I saw reference to a bash command, cd /home, in a multiple choice quiz about navigating within Terminal. I tried it, expecting -bash: cd: /home: No such file or directory, but to my surprise it took ...

I installed Apache and tried to change the permissions for one of Apache's working directories. After that my machine keeps changing the default path.
I can't access the simple commands unless I set ...

I have a default installation of nano under /usr/bin/, and I am trying to make nano highlight the bash scripting language code.
I have been searching around, but I had no success: I got always some ...

I'm trying to show/hide google search in Safari v8.0 in mac os "Yosemite" using bash script, I used the following command in terminal but it didn't work even after I restarted Safari, so am I doing ...

I have the following command to run in a terminal shell script:
osascript -e 'display notification "This is a Text" with title "This is a Title"'
This is a shell code running in applescript to open ...

With my useraccount I use a .bash_profile that contains this line:
export PS1='\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;33m\]\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ '
With my adminaccount I use a .bash_profile ...

I think I'm having trouble with environment variables (I'm trying to install seismic unix, the make install doesn't work, and I think that environment variables are the problem). The makefile calls a ...

I have thousands of photos with IPTC metadata -- I'm mostly interested in the star-ratings and the tags -- and I'd like to create folders for those images that automatically stay in sync as I change ...

We have an PC application adapted to run on the Mac using Wine that we install using Apple's Installer.
Because Wine uses X11 to display the adapted application's GUI and because of the way X11 (aka ...

On Mac OSX 10.10.1
I get command not found for anything installed in /usr/local/bin (however command is found if I use sudo)
PATH variable contains this path.
for example pip. Here are some lines from ...

I am currently using RVM for managing different gemsets for different versions of Ruby. RVM has made changes where the RVM folders must be listed first or else I have to manually set the gemset each ...

So, I'm setting up Mac's for new users. I create their profile and give a default password (the same one) to each new user.
My question is, when the user goes into the computer for the first time(it ...

Whats up folks, i have posted this question on other forums but got no reply, just note before you read, my terminology is not the greatest, im only studying IT this year, so my knowledge be still a ...