Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Ê×Ò³>>Unix&Linux>>Applescript for Terminal Commands

Applescript for Terminal Commands

brenthilg
02-15-2006, 05:16 PM
I am very new to OSX and anything UNIX. I have 8 computers that I would like to run a repair permissions on whenever I run a script. I know how to ssh into the others and run it from the command line, but is there a way that just running a single script will repair permissions on one computer, then move on to the next, and so on?

hayne
02-15-2006, 05:26 PM
The 'ssh' command takes an optional "command" argument and runs this command on the remote computer. You could use this to run whatever command you wanted on the various computers simply by invoking the 'ssh' in sequence in a script.

But please note that repairing permissions is not something that needs to be done as a regular maintenance task on OS X. You should only do it when something is not working and you suspect it might be a permission issue.


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
bash not using my .bas
Applescript: Hide Proc
help with installing p
Mozilla install from d
ssh - don't want to us
Escaping quotes in Tig
Terminal Keybindings 
JAVA help, please! 

News Archive

Displaying Images on t
Install Office from th
Terminal Problem...? 
cc1plus not executable
desktop icons.. 
at & growlnotify 
unknown terminal type 
scp arbitrary files 
What and why is a 'Dis
permissions already me

Related stories:

A Question Regarding the 'Find' Command
Catching a snoop ?
How to find out what's playing the submarine.aiff sound?
which online man pages for 10.4 ?
rm command that includes dot-files?
file attributes
Script to copy AND encode Audio CD
Represent ?symbol in command line?
Regular expressions: find paragraphs not containing??

Copyright@2004-2005 www.zzcoke.com All Right Reserved

link:Citenna