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


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 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

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?

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?


View 1 Replies View Related

OS X :: How To Run A Terminal Command When Logging In

Jul 23, 2010

What is the best way to run a terminal command when logging in? And by �best� I mean �fastest.� I�ve been encapsulating my commands in an Applescript, but it�s terribly slow to load, and I�m hoping there�s some UNIX back-end I can use to speed things up.

Specifically, I want to run a shell script that I wrote. It decrypts some folders inside my Home directory so I can use them (this part works seamlessly, I just need it to auto-run itself).

View 13 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? 

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.

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.

iBook, Mac OS 8.6 or Earlier

View 2 Replies View Related

OS X Mavericks :: Mail Running Slow - Connection Logging Enabled

Aug 23, 2014

My mail is running very slowly and it looks as if I have more messages saved and coming in that I believe I actually have.  I also have a message that reads "connection logging enabled" at the top that seemed to appear about a month ago and I don't know what it means.  Any reason for mail running slow, mail messages duplicating multiple times and for trash not emptying as it should?

MacBook Pro (13-inch Late 2011), OS X Mavericks (10.9.4)

View 1 Replies View Related

OS X V10.5 Leopard :: Home Folder Mounted After Logging Out Then Logging Back-in?

May 27, 2012

After I logged out of my account, I logged back in to see nothing on my desktop except for "Macintosh HD." I click on it and noticed that my home folder is mounted as a disk image under "Places." By "home folder" I meant the folder found at MacintoshHDusers ame-of-folder. I did not shutdown and login again, I logged out back to the main login screen, then logged in again under the same account. Shutting down the computer before logging in to the same account prevents this from happening, but logging out then logging back in causes it to happen.

MacBook, Mac OS X (10.5.8)

View 5 Replies View Related

OS X V10.7 Lion :: Switch Users Without Logging Logging Out?

Feb 4, 2012

How do you switch users without logging logging out?

View 2 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

OS X Technologies :: Command That Works In Terminal Not Running As Launch Agent

Apr 11, 2012

Trying to run the following command as a Launch Agent (OS X 10.7): /usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -print0 | xargs -0 rm -r 

Created a plist file (reproduced below) and saved to ~/Library/Launch Agents, but the command isn't executed either at the specified time or when the agent is loaded via launchctl.  If I change the command to a simple Applescript test: osascript -e 'tell Application "Finder" to display dialog "hello"' 

It runs correctly as a launch agent when loaded and as the specified time Which means there's something wrong with the first command (find). But the command runs as written when executed manually in the terminal.  

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">


View 4 Replies View Related

Applications :: Unable To Use Terminal / Terminal Stucks At Blank Login Window

Oct 20, 2009

Anybody see this before? I opened up Terminal.app and the window is completely blank. There is nothing in it whatsoever. Looks as if bash never started. The title bar simply says "Terminal — login — 80x24". I can type whatever I want in the Terminal window like it's a text document and nothing happens. If I restart the computer, this seems to fix the problem, but it seems to only be a temporary fix as the issue happens again soon after.

View 1 Replies View Related

OS X :: Unable To Type Password In Terminal / Terminal Not Reacting To My Typing

Jan 26, 2010

I'm trying to do something in terminal, and it asks for my password. I press a letter on my keyboard, and nothing appears. I am in the right window and everything, terminal just doesn't react to my typing. However, when I click enter, it says 'Sorry,try again'. So it does react to the enter key.

View 3 Replies View Related

OS X Server :: Processes Started In Terminal End When Terminal Closed?

Jan 29, 2008

I'm running Symantec Backup Agent on our mac osx server. I start the agent in the terminal (./agent.be). It returns a notification that it started the service, however, it doesn't return to the prompt. Closing the terminal gives a warning that the process will be closed if the terminal is closed. Closing it does kill the process. Ctrl+c to return to the prompt also kills the process. So it's as if once the process is started in the terminal, nothing can be altered.

I am not much of a mac guy so please forgive me if this is a stupid question.

Anyone have any advice on how to handle this so the process is ALWAYS running?

View 2 Replies View Related

OS X :: Unable To Install Terminal App - Run Terminal As Admin?

Aug 19, 2010

I'm on a standard user account and I would really like to install icalbuddy which is a terminal app. When I install apps normally I simply have to provide a admin name and pw, but this doesn't work when it is a terminal app because it requires that the 'su' command be run.

So I thought that I could run terminal as admin through 'su - admin' and then install. But of course the admin account doesn't have access to the user folder where the installer is located. I just can't win.

View 3 Replies View Related

OS X :: 2 Key Commands Are The Same Have The Same Result?

May 23, 2009

2 Key commands are the same have the same result.

View 2 Replies View Related

OS X :: Not Accepting And Recognizing Commands

Sep 18, 2009

terminal isn't working. It's not accepting any of my commands or even recognizing them as such. And it just opens up to a blank terminal window. Correct me if i'm wrong but isn't it supposed to open usr/bin/login?

View 4 Replies View Related

Intel Mac :: It Won't Accept Any Commands

Apr 16, 2012

I can power it on but it won't accept any commands. The only way to shut it down is to hold in the power button.Its a 4 yr old IMAC running snow leopard

View 3 Replies View Related

OS X :: Shortcut To Invoke Speech Commands

Jan 23, 2007

Im new to the mac and I'm looking to find out if there is a keyboard shortcut I can use to have my macbook read out selected text to me other than me having to go the the services menu

View 3 Replies View Related

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