OS X :: Automatically Running Commands Upon Opening Terminal?

Aug 23, 2010

Is there any way to have Terminal automatically run a command each time it is opened? I want to always have my background as my screensaver with the command
Code:/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background & and I have made an alias for the command so that I can just type in ss, but I have to type it in every time I open up terminal. I'd like to have Terminal start at login in the hidden state and run my screensaver background command automatically.

View 2 Replies


ADVERTISEMENT

OS X :: Running Terminal Commands Without Logging In?

Jan 22, 2009

I know on windows allows you to run batch files without actually logging into the OS. This allows you to put an base image onto a PC and use batch files to change settings, place on active directory, and other things without having to log in.

How do I do this with a mac? I want to be able to run 2 command line commands, one after the other once the other is finished, and then add it to Active directory. Would I do this in perl? and how do I get it to run without logging in so I can start it and then move on to other stuff?

View 6 Replies View Related

OS X ::looking For Commands In Terminal

Dec 5, 2009

I'm trying to change MTU settings in my router using terminal MacOs 10.5.8. eMac 1GHz.All goes well till I get to saving settings. "saveall" or "SaveAll" I get "Invalid interface name specified"It's probabably not saving settings.

View 3 Replies View Related

OS X :: Wants To Find Terminal Commands

Jun 3, 2009

If I'm using a PCI wireless card with my Mac that isn't used with Airport Utility, how do I find the MAC address of my Mac?

I tried IPCONFIG in Terminal, but it just gives me "IPCONFIG <command> where command is " a whole bunch of commands.

View 8 Replies View Related

OS X :: How Do You Write Commands In Terminal?

Sep 12, 2009

I found some information in another thread that instructed one to write some commands in terminal but I have never used terminal and have no idea what I actually need to write.Can anyone please advise me on how to translate the instructions into what exactly should be typed into terminal?Spaces, special characters, anything?All I know how to do is start the app and then I am faced with some text and characters that are already on the screen.The instructions were:Open a Terminal and run some commands:cd /replace/this/with/the/path/to/contents/of/extracted/zip/file/ #this path probably is Downloads/360ControllerInstallsudo sh 360ControllerInstall.sh

View 4 Replies View Related

OS X :: Glitch On My Safari 5.0.2 - Terminal Commands?

Oct 17, 2010

Having some sort of a glitch on my Safari 5.0.2. It turns that if i only have a single window open, the tab will not hide but it will remain. On my macbook though it behaves normally, meaning wear there is only one page on safari, the tab will be hidden.Is there any way i could possibly make my safari behave normal again? Any nifty terminal commands?

View 3 Replies View Related

Software :: Terminal Commands Gateway

Apr 12, 2009

Is it possible to connect to and send messages via gateways with Terminal in Mac osX?

View 1 Replies View Related

OS X V10.7 Lion :: Reversing The Terminal Commands?

Mar 12, 2012

I looked up an old thread on clearing recently viewed quicktime player videos.The advice recommended was to enter the following three commands into terminal.After entering the three commands the quicktime recent files were cleared. Uninformatively then finder would freeze up and give me errors.how to undue these commands?

defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 0
defaults delete com.apple.QuickTimePlayerX.LSSharedFileList RecentDocuments
defaults write com.apple.QuickTimePlayerX.LSSharedFileList RecentDocuments -dict-add MaxAmount 0

Info:
MacBook Air, Mac OS X (10.7.3)

View 3 Replies View Related

MacBook Pro :: Undo The Commands That Tried On Terminal?

Apr 17, 2012

Basically the title says pretty much everything. just want a way in which i can undo commands i did on terminal. and if restarted the macbook does the job?

Info:
MacBook Pro

View 7 Replies View Related

MacBook :: Can Terminal Commands Really Ruin It

Apr 30, 2012

I've just entered the world of terminal commands. I've only done a few so far. I've also heard that they can cause some big problems with my Mac, is that true?

Info:
MacBook

View 1 Replies View Related

OS X :: Hidden The Admin Account From Some Terminal Commands?

Nov 5, 2010

1) I had two user accounts: one standard, one admin. I had "hidden" the admin account from prying eyes using some Terminal commands (see here if you're interested some months later, I enabled the Open Firmware Password (hence, I can no longer boot into single user mode, boot from CD, etc)3) at some point, I inadvertently reinstalled OS X (don't ask... or do, I'll explain if necessary)4) when logging in, I ONLY have my standard account. My hidden admin account seems to be gone. OS X won't even accept the admin login/pwd when attempting to execute admin-only commands from within the standard account

View 1 Replies View Related

MacBook :: Unable To Find Terminal Commands...

Aug 16, 2010

My macbook 2006 recently would not boot properly. By that i mean it takes about a good 5 minutes to boot to a messed up looking desktop.

Before i restore the system i need to get some files off of the machine. (The gui side freezes when i try to drag and drop).

I can boot into single use mode and use terminal but i do not know how to do the command mv /documents...etc but i don't know what drive my usb stick is or that it is mounted.

View 6 Replies View Related

MacBook Pro :: Installing New Library Commands Within Mac OS X Terminal

Sep 2, 2014

How can I install new library commands within the Mac OS X Terminal. How to do that task? 

Info:
MacBook Pro, Mac OS X (10.6.8)

View 2 Replies View Related

OS X V10.6 Snow Leopard :: Deleted All Data Through Terminal Commands

May 31, 2012

deleted all data by using terminal and time machine was not set up.

Info:
iMac, Mac OS X (10.6.8)

View 2 Replies View Related

MacBook :: Slow Running Commands?

Oct 5, 2010

I've messed up my MacBook and it's now running really slowly (even just clicking on icons, going into folders and suchlike) and I need to find out the best way to sort out the following issue:

I wanted to back up my pictures and (now realise, foolishly) moved them from iPhoto to my desktop so I could transfer it to an external hard drive. It was hanging and had the spinning beachball. This was 7 days ago; it looks like it's done it and is now running very slowly, I know it's lagging because the clocks shows it is sometimes 10 minutes slow and it's whirring and doing something.

I had unplugged the hard drive in case it was slow due to that and from researching other forums for advice I have been able to check the Activity Monitor - the CPU is fine but the disk space is almost zilch (all blue and no green). I now want to delete the pics off my desktop as I'm sure this is the root of the problem. Is there a simple/easy way or do I really have to be patient, delete and trash them one by one?

As you can tell I am not a full on techie but understand simple instruction, so please if you can help me resolve this, I'd be very grateful.

View 2 Replies View Related

OS X V10.3 :: Forgot Password On IBook G4 Running OS X  None Of Keyboard Commands Work

Jun 17, 2012

I forgot my password on my iBook G4 running OS X none of the keyboard commands work. commands does not put me into single user mode.In fact none of the command keys work.

Info:
iBook, Mac OS 8.6 or Earlier

View 2 Replies View Related

OS X Tiger :: Finder Windows Opening At Start Up / Prevent Finder From Automatically Opening?

Nov 29, 2010

I recently added a NAS with four main partitions (recognizes them as drives). Now, when ever I start up my mac, finder opens four panes, one for each drive. Is there any way I can prevent finder from automatically opening?

mac mini running 10.4, iomega network drive attached to linksys wireless router.

Information:
Mac OS X (10.4.11)

View 4 Replies View Related

OS X :: Command For Opening Files In Terminal?

Jun 25, 2006

You'd think this was all pretty basic. It probably is.

I'm trying to open/edit '/usr/local/php5/lib/php.ini' with TextWrangler through Terminal. The TextWrangler part isn't an absolute requirement. The directory exists and I'm assuming the file does as well. (No 404-esq errors during my fumblings and it was a standard installation of PHP5)

Also, is there any way to browse through the above directory using the Finder's GUI? That would be nice.

View 5 Replies View Related

OS X V10.5 Leopard :: Terminal Does Not Open A Window Automatically?

Mar 29, 2012

When I open Terminal, I don't get automatically a new window, even though I have set the relevant option in preferences.

Info:
Mac OS X (10.5.8)

View 1 Replies View Related

OS X V10.7 Lion :: Installer Packages Are Opening In Terminal?

Apr 16, 2012

I am currently installing OSX 10.7.3 on an external passport HD for my wife whose Macbook hard drive has died. I now have all the system up to date but have encountered an odd problem. All the .mpkg installers are opening in Terminal not the Installer utility, which I can't find. My choices are in Open with: Terminal, App Store and Other.

View 3 Replies View Related

OS X V10.7 Lion :: Opening App Automatically When Another Opened?

Jul 4, 2012

I want to automate an app to open everytime I open another. Is this possible?

Info:
MacBook Pro, Mac OS X (10.7.2)

View 2 Replies View Related

OS X :: How To Deactivate Mail Window Opening Automatically

Jan 28, 2009

If I close a session while mail was still open with a window of it open. When I open a session again it automatically open up with a window of mail. Is there anyway to deactivate that.

View 4 Replies View Related

Safari :: Stop From Opening 99 Tabs Automatically

Apr 21, 2012

When I first start up Safari - it automatically opens a huge number of tabs (the drop down menu on a tab right click shows an option to bookmark 99 tabs - and there are more tabs opened than I care to count). They appear to all be existing bookmarks; but could also be history.

At one point it would not let me close it at all & because it wouldn't close the OS would not allow a shutdown. So I had to do a hardware power off instead.

I played around with the setting and finnally - after severl hard reboots and a lot of try this & try that - I got it to allow itself to be closed. 

But the 99+/- auto opens continue to be a problem.  I've tried to completely clear my history, and several other property adjustments - but overall the behaviour remains very very flakely. 

I want to make it my default browser on all my Apple things (Macbook / iTouch / iPad) but the very bad behaviour keeps pushing me back to Firefox - sigh. It feels like a very bad user design that cannot be trusted. 

Are there some obvious know gotcha's with this browser? Or some standard settings that should never be touched? Or are these common bugs that just don't work right?

Info:
MacBook Pro (13-inch Mid 2010), Mac OS X (10.7.3)

View 4 Replies View Related

OS X V10.5 Leopard :: Delete Mail From Opening Automatically?

Jul 3, 2012

How can I delete mail from opening automatically when I start my computer? Also, can I make iCloud an icon on my dock?

Info:
MacBook Pro, Mac OS X (10.5.8)

View 1 Replies View Related

OS X Mavericks :: 10.9.3 - How To Stop Apps Automatically Opening When Log In

Jun 17, 2014

on OSX 10.9.13 how do i stop things automatically opening e.g.. mail, messenger when I log in?

Info:
iMac, OS X Mavericks (10.9.3)

View 6 Replies View Related

OS X :: Running Terminal Command / Connecting To Ssh Through Dock Icon

Aug 18, 2010

I've use a terminal command to create a SOCKS proxy through my ssh server (ex. ssh -D 2008 -l user server.here), to which I am then prompted to enter a password, and everything is connected. For the sake of ease of use (as I need to do this frequently), is there any way I can make a dock icon, or something along those lines, so I can just click it, it runs the command, I enter a password (or maybe even not?) and it's all set? I have tried setting up a workflow in automator to run a shell script, but it is unsuccessful, leaving me with "Run Shell Script failed: Pseudo-terminal will not be allocated because stdin is not a terminal."

View 5 Replies View Related

Applications :: How To Stop Preview From Automatically Opening Photos

Nov 21, 2009

I am a new Mac user (had my macbook for 2 weeks, loving it, but still learning how to use it). I am really annoyed by Preview app. Anytime I save a photo in my Download folder, it automatically opens it with Preview, whether I want it or not. When I quit Preview, it still opens the next time I download a photo. I can't find anywhere in Preview options such option to disconnect automatic opening of photos. How do I turn it off please?

View 2 Replies View Related

MacBook Pro :: Numerous Programs Opening Automatically After Startup?

Feb 2, 2012

When my mac pro i7 is getting started, a lot of programs are starting opening. How to make them -to be opened, only when I press the icon of a program

Info:
MacBook Pro

View 3 Replies View Related

OS X V10.7 Lion :: Prevent Mail From Automatically Opening Messages

Jun 17, 2012

I've recently upgraded to OS X Lion and I have one issue with the mail program. When I click on an email message (spam or not) it automatically opens it up in the pane on the right. Is there any way to prevent this automatic opening of messages?

Info:MacBook Pro 17", 2.66 GHz i7, 4GB 1067 DDR3 RAM, OS X 10.6.4 /// iPhone 4, 32GB, iOS 4

View 4 Replies View Related

Safari :: Stop It From Automatically Opening Last Browsing Session?

Jun 28, 2012

Is there a way to prevent Safari from opening all your previous tabs and windows? When I close Safari I just want everything to close as well, but when I open it later everything else opens again.

Info:MacBookPro, Mac OS X (10.7.4)

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved