A type of user interface for a computer. This can be both command line or graphical user interfaces. More commonly, shell often relates to the command line interface.

learn more… | top users | synonyms

4
votes
1answer
145 views

How to reset $PATH?

I was trying to add something to $PATH and it went totally wrong. I now can't run any commands such as ls. I've looked at this answer and used the following lines: ...
0
votes
1answer
41 views

Is there a package management system for shell scripts on Mac OS?

Is there a package system (think npm, cpan, or even homebrew) that would be suitable for shell scripts?
0
votes
1answer
37 views

Something wrong with the root shell

Today, I've tried opening a root shell and, oh surprise, weird answer... Any idea of where it could be from ?
0
votes
1answer
42 views

How to manually determine version control metadata for Finder?

I have a Scripts folder where I keep Automator actions, Applescripts, and shell scripts. Automator scripts are automatically assigned a version of 1.1.1 it seems. When I make revisions to any of these ...
0
votes
1answer
115 views

How to use automater to run mongo db and node.js app on startup

I'm trying to use Automater(first attempt of using this software) to create a sequence that will automatically run ./usr/mongo/bin/mongod and ./usr/mongo/bin/mongo then run my node.js server app at ...
3
votes
0answers
63 views

“Libraries” (a la Windows 7) on OS X?

There's one feature from Windows 7 that I sort of like (yeah, yeah, I know...) and would like to implement (differently) on OS X. It's what they call "Libraries". It allows you to have the contents ...
1
vote
0answers
66 views

mac asking password after cd in terminal

Recently my mac has started asking me for a password after I use cd in Terminal.app (haven't tested other term apps). strangely though, if I press ctrl-C when the passowrd is asked, the question goes ...
1
vote
0answers
34 views

Most efficient way to get all files in a directory

I have a million+ files spread across four fiber-connected arrays. I need to get the path, filesize, and last_modified date to insert into a mysql database. What would be the best way to do this? ...
1
vote
0answers
606 views

How can I open Google Chrome in Presentation mode using a shell script

Previously in 10.6.8, I was able to start Google using open /Applications/Chrome.app --args --kiosk http://www.google.com Now, on newer systems, that does not work anymore correctly. The only way to ...
0
votes
0answers
57 views

In Mountain Lion why do remote shells via ssh do NOT inherit the environment of the launchd parent process?

When logging in to my Mountain Lion Mac remotely via ssh I do not get the same PATH variable as when I open a shell locally: The local shell inherits its environment as expected from launchd and ...
0
votes
0answers
43 views

Automating Python with launchd & permissions

I setup a Python script to run automatically using launchd (via a .plist) I wanted this particular script to always run, whether a user was logged in or not, so I put the .plist that "launches" it ...
0
votes
0answers
103 views

How to make shell extensions in mac os x

Is there an equivalent of context menu extensions for mac os? I would like to port mine from windows. An example would be the context menu entries for 7-zip or winzip. Specifically I would like to ...
0
votes
0answers
122 views

A working applescript fails when running via cron

MacOs 10.8.2 I have 2 applescripts shown below. They are arranged in one shell script to run one after another by using osascript (just to simplify the example). Everything works fine when starting ...
0
votes
0answers
101 views

Script to Update/download most recent iTunes podcast WITHOUT opening iTunes at all?

I have a couple favorite podcasts that I subscribe to in iTunes. I'm using You Control (so I don't have to open iTunes to play my music). I'm using Keyboard Maestro. I've made a macro that runs ...
0
votes
0answers
160 views

License problems installing aquaterm via macports

I am trying to install aquaterm via macports. I run sudo port install aquaterm This gives back an error: ---> Building aquaterm Error: org.macports.build for port aquaterm returned: command ...
0
votes
0answers
193 views

Mac OS X Lion xterm service behaves differently between Automator and keyboard shortcut

I created the following "Run Shell Script" service in Automator under Mac OS X Lion 10.7.4: export DISPLAY=:0 /usr/X11/bin/xterm -title "Kevin's Xterm" -sb -sl 500000 -geometry 150x25 & and ...
0
votes
0answers
250 views

Sharing folder on Lion

I'm trying to share folder from my Cocoa application, using these shell scripts on MAC OS X 10.7. sudo dscl . -create SharePoints/my-share sudo dscl . -create SharePoints/my-share afp_guestaccess 1 ...
0
votes
0answers
114 views

How to toggle closeViewZoomFollowsFocus in com.apple.universalaccess via shell script with instant activation?

I created a Service with Automator on a Mac running "Lion 10.7.3". The Service toggles via a shell script the visibility of hidden files in the Finder and works like a charm. Here's the script: ...