Terminal command needed

There used to be a way to turn OFF the micro$oft style "are you sure" dialog alerts. I select Shutdown and have to suffer thru the "are you Sure" dialog...Am I sure??? I told it to shut down, I wouldn't have told HAL that if I didn't want it. There used to be a terminal command to stop these micro$oftish alerts. I forgot what they are.
HELP!!!!!!!!!!!!!!!

Mine doesn't do that, are you connected to some kind of Sharing?

Similar Messages

  • Link speeds showing wrong, terminal command needed...

    Hi, I have what is either a bug in 10.4.10 on my Mac Pro, or something else wrong.
    In the Network Utility, my Ethernet (en0 and en1) both show incorrectly as 10Mb links.
    They should be, and are, 1Gb.
    Plugging my MBP into the ports shows this as true, as does my Fluke meter.
    So...is there a way to show this info in the terminal to see if it's a GUI mistake or other issue?
    I don't know if that's the only way - or even a good way to test, so if anyone has better ideas, I'm all ears.
    I'm concerned as I just had a new logic board installed, and don't know if it's faulty.
    Scott

    We are experiencing the same issue on every Mac Pro that we have and they are all running 10.4.10. (We just received 25 for campus and more are on the way). It happens booted to a netboot image as well as a production OS.
    To answer your question, you can open terminal and type:
    ifconfig en0 | grep media
    or en1 if you are using the seond nic card. Next to media you will probably see autoselect (10baseT/UTP).
    you can change the link speed from here that will work as long as the machine isn't restarted by typing:
    sudo ifconfig en0 media 1000BaseT
    to force the speed to gigabit or you can change it in System Preferences.
    Obviously annoying and can be a time waster, especially if you are dropping an 8 GB image on a machine and it should take 15 minutes and it takes over 2 hours! Hope we get an answer soon.

  • Terminal command needed to prevent wake on lid open

    I've been searching for the proper Unix instruction that prevents the system from waking up when the PB lid is opened. My latch is worn so sometimes the lid opens up on its own and I don't want the system to wake up. Somewhere along the way this parameter's been reset. It goes something like:
    defaults write apple.com.something WakeOnOpen 1
    Obviously that's not it though.

    Hi, John.
    To set PB so opening the display doesn't wake the computer:
    Applications > Utilities > Terminal
    Type or paste the following in the Terminal window:
    sudo pmset lidwake 0
    It will ask for your password. Type that in, hit return, and quit the Terminal.
    To change it back so the system wakes when you open the lid, type:
    sudo pmset lidwake 1

  • Need a Terminal Command

    Hi, I have no idea how to use terminal so I need code I can copy and paste. I am running iFreeMem and its crashed. These type of apps do not show up in the force quit box so I have no idea how to force quit it. My only idea was Terminal but I don't know how to do it.
    Can someone please help? Has this ever happened to anyone? I just read some articles that made me decide to trash the app altogether, but I need to get it closed first. :o)
    I have to many things going on to shut the computer down at the moment and the iFreeMem screen is in the way of everything (floats on top). Thanks in advance!

    You must know either the correct case sensitive name of the application, such as iFreeMem. If you do then the Terminal command is:
    killall iFreeMem
    Press RETURN.
    However, even though iFreeMem is an application it may fork a process with a different identifier. If so the above command will fail. In this case you need to find the PID - Process IDentifier. In the Terminal enter, top, and press RETURN. If the process is in the listing then you get the PID from the lefthand column. Use the same killall command but with the PID instead of the application name.
    If you cannot find a PID, then you need to restart the computer. If the application runs automatically then you need to uninstall its components. See the following:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • I need help starting a Terminal command at start-up to help silence CPU fan

    I have a 24" iMac (Early 2009) and the CPU fan runs at full RPMs - NOTE: it is a refurbished model. I think that the person who did the refurbishing either messed up the CPU Temp Sensor or something, because the CPU temps are fine and the fan kicks on right after start-up chime.
    Anyways, I have found a terminal command (see below) that, when used in conjunction with smcFanControl, will force my CPU fan to run at 1200 RPM. I need a way to either auto-launch this Terminal Command at start-up, or an easier way to launch it because having to type it out in Terminal every boot and reset is getting old.
    Terminal Command:
    /Applications/smcFanControl.app/Contents/Resources/smc -k F2Mx -w 3cf0
    Any help would be greatly appreciated!

    You shell script should look something like this:
    #!/bin/bash
    your command line
    Construct this in your favorite text editor and save as plain text, not .rtf.  Call the file anything you want, but here I'll call it slowfan.
    In terminal type,
    chmod +x /path/to/slowfan
    where /path/to/slowfan is the path to the slowfan file.  You could drag the file into the terminal after typing the chmod +x followed by a space.  This step is only to mark the text file (script) as executable.
    Now you can run Platypus and set up a simple app with admin privleges.  Then test the app.  If it works you can then add it to your login items.
    If you decide to use applescript (do shell script descibed earlier) then you could just use the full pathname to whereever you saved the script and save that as a applescript application.  Again test it and then add to your login items.  I would bother adding an alias to .bash_profile.  That just adds to the complextity.
    As you can see, with Platypus you only have the single app it creates to deal with.  The script is enclosed in the generated app bundle for easy updating if necessary later on.  With the applescript method you will need to keep track of two spearate files; the applescript and the shell script.  Actually three, the app too.

  • I need help, How could I add Aliases to Local Administrator account via terminal commands???

    I need help, How could I add Aliases to Local Administrator account via terminal commands???
    I want to use commands to add alias for existing administrator account remotly by using ARD.
    Thanks.

    Hi,
    a Windows Domain Controller does not have any local user or groups. So you might add the user to the admin group at Domain level.
    B RGDS,
    Gregor
    Edited by: Gregor Gasper on Jan 9, 2009 1:44 PM

  • Need Terminal Command to Erase External HD

    I used the Disk Utility to partition an external Western Digital hard drive with one
    partition for the Time Machine and the other for SuperDuper. Something happened
    when the Disk Utility made the partitions. Now the two empty partitions show up
    on the desktop but the Disk Utility cannot do anything. I suspect the directory is
    hosed. The DU cannot Repair or even Erase the external drive. The DU hangs (does
    not respond) and I have to use Force Quit. FYI, DU fails when it tried to unmount
    the partitions.
    I am not very skilled in terminal commands and would appreciate some specific
    commands to Erase the external WD hard drive. When I open the terminal it has
    me at the user level. What is the command to view the external drive, then what
    command is needed to ERASE it. Once erased I think the Disk Utility should be
    able to do its thing.
    All of this needed to create a Time Machine backup drive

    aRKay wrote:
    Select the top line for the drive in DU's sidebar, click the Partition tab, then
    use the Current pop-up menu to select 1 Partition, and click Options and select GUID.
    I tired that before making the posting. When I click on partition, it cannot unmount
    either partition and DU hangs (does not respond).
    Try booting up from your Install disc and using it's copy of Disk Utility. (Boot from the disc, select your language, then on the next screen select Utilities in the Menubar, then +Disk Utility).+
    I would like to jump start the drive from the terminal if possible.
    II'm not well-versed in UNIX. You might get some help with that in the UNIX forum, in the +Mac OSX Technologies+ forum, at: http://discussions.apple.com/forum.jspa?forumID=735
    Maybe I need a 3rd party utility to fix what DU hosed? Again, I suspect the director his hosed.
    +Disk Warrior+ is thought by many to be the "gold standard" of such apps, and as probably a good investment, but is about $100. Whether it can fix this, I have no idea.

  • Need terminal command for setting display colors ASAP!!!!!

    Hello everyone,
    I was being dumb and figured, oh what will this do?
    I know, I know one of those button pushers...anyway I set the Display colors to 256 on my Xserve, which has no video card in it, and now all I see in Chicken of the VNC is a black screen. Im sure there is a terminal command out there where
    I can ssh into the Xserve, and change the colors back, but I can't find it...could someone post it up here or point me in the right direction please?
    Thanx in advance!!!!!!!

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • Can't seem to sync my phone with iCal because I get a message that says:No writable calendar. I tried the suggestions I found in Help including a Terminal command to no avail.

    Can't seem to sync my phone with iCal because I get a message that says:No writable calendar. I tried the suggestions I found in Help including a Terminal command to no avail.

    I can only suggest you now need to somehow link your mobile to sync with the new calendar 'On my Mac'.
    I have a work Blackberry whose calendar I sync with an iCal calendar 'On my Mac' using a usb lead and the Blackberry Desktop Manager for Mac. This free piece of software from Blackberry, automatically starts up as soon as I connect the usb to the iMac and it then prompts me to select which calendar 'On the iMac', which is writable, that I want my Blackberry to sync to.

  • Terminal command to refresh USB peripheral device

    I'm running OS 10.7.5, and I have a recurring problem with the USB ports on my Mac mini.  After several days of up-time, one or more of the ports will sometimes become non-responsive.  This seems to be software related, because logging off and logging back into the machine always fixes the problem (as does a restart and a cold-reboot).  I was thinking maybe the "checklist" of device filenames somehow gets corrupted over time, and needs to be recreated.
    Does anyone know how to refresh the list of peripheral devices without restarting, rebooting, or logging off?  Ideally a terminal command?  I'm hoping not to have to keep shutting down the session each time this happens to get my list of connected devices back.
    Thanks very much for your suggestions for the newbie.

    Hi Korby,
    If you are having difficulties with USB devices such as you describe, I would suggest resetting your Mac mini’s parameter RAM, as described in this article -
    About NVRAM and PRAM
    http://support.apple.com/kb/HT1379
    Specifically -
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • How to make Apple Script do a terminal command

    Hey,
    I am wondering how can I make an AppleScript do the following command :
    "networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4"
    Please mention step by step since I'm new to AppleScript
    Best Regards,
    Nadav.

    To run a terminal command it is usually sufficient to use do shell script. So for your command it would be
    do shell script "networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4"
    note if the command requires administrator privileges you would need to do
    do shell script "command"  with administrator privileges
    will prompt for the password when the script is run.
    do shell script "command" user name "me" password "mypassword" with administrator privileges
    will store the password and username in the script. More convenient but much less secure.
    See do shell script in AppleScript

  • Terminal Commands for Internet Connect VPN?

    I could maybe do this as an applescript but I'm hoping there are terminal commands which I can incorporate into an rsync script...
    I need to open a PPTP VPN connection on a computer (Internet Connect VPN client, 10.4.8) , to connect to VPN services on OS X Server (10.4.8). The configuration works fine but really needs manual intervention at times. I would like to just script the equivalent of hitting the 'connect' button, so this can be run by cron.
    Any ideas or links?
    Ta.
    -david

    I did repair permissions with disk Utility and I used Onyx to delete the various caches, but that didn't work.
    Everything is functioning. The problem isn't on the VPN server side, because I can log into the VPN on my Powerbook and the status shows correctly. There's definitely something going on with my G5.
    This isn't a really huge deal, but it would be nice if the status indicated that I'm connected when I'm connected.

  • I didn't find configure terminal command in the ios of aironet 1131AG

    Dear All
    i bought cisco aironet 1131AG yesterday. when the AP get IP from DHCP and trying to access it by internet browser, the web page is empty so i tried to access AP by console and login in to the privileged mode but i did't find the configure terminal command to enter the config mode.
    what is the problem !!!???
    is the IOS version problem?
    the details of show version command :
    Cisco IOS Software, C1130 Software (C1130-RCVK9W8-M), Version 12.3(11)JX1, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Mon 17-Jul-06 11:38 by alnguyen
    ROM: Bootstrap program is C1130 boot loader
    BOOTLDR: C1130 Boot Loader (C1130-BOOT-M) Version 12.3(8)JEA, RELEASE SOFTWARE (fc2)
    AP001e.7abd.dca6 uptime is 3 hours, 9 minutes
    System returned to ROM by power-on
    System image file is "flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx"
    cisco AIR-LAP1131AG-A-K9   (PowerPCElvis) processor (revision A0) with 24566K/8192K bytes of memory.
    Processor board ID FOC12072A3U
    PowerPCElvis CPU at 262Mhz, revision number 0x0950
    Last reset from power-on
    LWAPP image version 3.0.51.0
    1 FastEthernet interface
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:1E:7A:BD:DC:A6
    Part Number                          : 73-8962-12
    PCA Assembly Number                  : 800-24818-11
    PCA Revision Number                  : B0
    PCB Serial Number                    : FOC12072A3U
    Top Assembly Part Number             : 800-29144-02
    Top Assembly Serial Number           : FOC12072A3U
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-LAP1131AG-A-K9
    Configuration register is 0xF

    Hi,
    The APs image is LWAPP and to access the config t command we need to convert the IOS to Autonomous.. here is the step by step procedure that we need to follow to get the issue resolved..
    C1130 Software (C1130-RCVK9W8-M)
    I request you to do download any image from the below link and perform the conversion from LWAPP image to autonomous..
    http://www.cisco.com/cisco/software/release.html?mdfid=279537722&flowid=6775&softwareid=280805680&release=12.4.25d-JA&rellifecycle=ED&relind=AVAILABLE&reltype=latest
    the method to convert is..
    download TFTPd32 from google and install it on ur PC.. point the image that you have downloaded in the TFTP server..
    connect  a ethernet cable between ur laptop and AP.. both should be in the same  subnet.. and connect a console cable and get the hyperterminal console  access and issue the command..
    AP>en
    AP#debug lwapp console cli or debug capwap console cli
    AP#config t
    AP(confg)int fa 0
    AP(confg-if)ip addr (same subnet as that of the laptop)
    AP(confg-if)end
    AP#archieve download-sw /force-reload /overwrite tftp:///
    eg-
    Assuming tftp ip address is 10.0.0.1 and the image is c1130-k9w7-tar.124-25d.JA.tar, then..
    AP#archieve download-sw /force-reload /overwrite tftp://10.0.0.1/c1130-k9w7-tar.124-25d.JA.tar
    The AP will reload and it will come up with IOS image and you will be able to enter the config mode
    lemme know if this answered your question..
    Regards
    Surendra
    ====
    Please dont forget to rate the posts which answered your question and mark it as answered or was helpfull

  • What Is The Terminal Command For PRAM & SMC Reset?

    Hi Folks - Cant get my Macbook Pro to shut down (instead it does a re-start) thus the key combination for these re-sets doesnt seem to function (no chimes). I saw in another thread a terminal command entry "sudo nvram boot-args=”-p -r” but I also saw it mentioned that entering that casued the following to pop-up "Note that resetting the PRAM will wipe out the contents of the boot-args environment variable, which means the command would need to be reissued each startup." Whats with "reissued each startup"? Also would like a an SMC re-set command. THANKS in advance!

    I dont know of a terminal command but here is how to reset the SMC:
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • Is there a terminal command to disable the "Boing' sound ?

    Hello, Everyone
    I was wondering if any one knows if there is a terminal command that can
    be used to disable the "boing" sound that folders and files make (in Tiger)
    as they are being moved about the desktop and or into finder windows.
    A couple of people have looked in the System preferences,usual areas but
    can not locate the file for this "Boing" sound. If any one knows I would love
    the answer. TIA for reading this & any help.; )
    Regards , Eme
     Power PC G4 (3.3) ♥ iMac Flat Panel 10.3.9 ] 15 Alum.PowerBook Tiger   Mac OS X (10.4.6)   AEBS & iMac Intel Core Duo 2gb
    Message was edited by: Eme~

    Mine doesn't make a sound when I do this.
    I presume you have unchecked the "Play user interfacesound effects" > in System Preferences> Sound. The other OP wants to disable only the infamous boing. I found both the files you wrote of. Thank you very much !
    I just needed to summarize this & then undoing if so desired.
    Bill, please what would the command be for undoing this action ?
    Launch Terminal and type this: sudo gzip
    enter ~~
    password prompt,
    then this : /System/Library/PrivateFrameworks/ScreenReader.framework/Versions/A/Resources/S ounds/SpringForward.aiff
    Is this correct ?
    Thanks so very, very much for your expertise, patience and sharing it with me.~ Eme
     Power PC G4 (3.3) ♥ iMac Flat Panel 10.3.9 ] 15 Alum.PowerBook Tiger   Mac OS X (10.4.6)   AEBS & iMac Intel Core Duo 2gb

Maybe you are looking for

  • HT1351 How do I put old music from an old library on my iPod onto new library in new computer?

    I do not want to lose my music on my older ipod. How do I upload it to my new library?

  • Why this example doesn't work ?

    for example below: html code: <applet code=LunarPhasesRB.class width="200" height="200">     </applet>when i run it on IE , i get below result: failed to loading java program. why it doesn't work on IE ? who can help me ? thanks !

  • New Repository variable failing with 'Unresolved Identifier' error

    Hi, I created a new repository variable and when used in the Segments/Reports it is failing with 'Unresolved Identifier' error. This is happening intermittently and sometimes it is getting the results as expected, Can you please let me know where I a

  • Safari crashing in mountain lion

    10.8.1, 2010 MBP 2.4Ghz Core 2 Duo. Safari crashes all the time. (It's getting to be a matter of "how-many-minutes-from-opening-safari-till-it-crashes" at this point.  Latest crash report below.  If anyone has any idea how to fix this, I'd be gratefu

  • Solaris 10 iSNS server missing

    The Solaris 10 Documentation -> System Admin Guide: Devices and File Systems (June 2009) - Chapter 15- "Configuring and Managing the Solaris Internet Storage Name Service (iSNS)" has a section called "Configuring the iSNS Server" I have one Solaris 1