Quantcast
Channel: StudioSysAdmins Message Board
Viewing all articles
Browse latest Browse all 3749

Mac OS X Command Alias All Users

$
0
0
Mac OS X Command Alias All Users
posted by Tom Salciccia on Feb. 20, 2014, 10:53 p.m. (1 day ago)
 
I want to create a command alias on a mac that is available to all users on the machine.
 
The alias I want to create is as follows:
 
     alias fixperms='chmod -Rf 2770'
 
Then I would have the logged in user drag a folder in from the Finder into the Terminal to provide the path to chmod.
 
I tried creating the alias in
 
/etc/profile
/etc/launchd-user.conf
 
but neither of these work.
 
My Mac's are generally 10.8.3, 10.8.5, 10.9, 10.9.1
 
Any tricks to being able to configure something like this?
 
Thread Tags:
  alias command osx 

0 Responses   0 Plus One's   1 Comments  
 
 
I want to create a command alias on a mac that is available to all users on the machine.
 
The alias I want to create is as follows:
 
     alias fixperms='chmod -Rf 2770'
 
Then I would have the logged in user drag a folder in from the Finder into the Terminal to provide the path to chmod.
 
I tried creating the alias in
 
/etc/profile
/etc/launchd-user.conf
 
but neither of these work.
 
My Mac's are generally 10.8.3, 10.8.5, 10.9, 10.9.1
 
Any tricks to being able to configure something like this?
 

Viewing all articles
Browse latest Browse all 3749

Trending Articles