Open command verbose mode

Hi all
is there a way to get the open command to show the actual command it calls to open files.
example:
     open somefile.pdf ... it launches Preview,
I want to be able to see the actual command and any other arguments it uses.
prysm_1

WZZZ wrote:
For an application, you will need to find the executable in the package. For example (as Kappy said "usually /Contents/MacOS/appname") for Console.app, it will be
/Applications/Utilities/Console.app/Contents/MacOS/Console
yup, I know this already, my questions was what are the exact arguments "open" calls to do what it does.
man open, did not show anything obvious.
example
open file.sparseimage = hdiutil attach file.sparseimage???
_assuming_ example above is correct, when given a sparseimage file open calls by default hdiutil with an argument "attach" and the file itself.

Similar Messages

  • How to start up MAC mini only in the verbose mode (command line) , no GUI

    Can anyone let me know how I can set up the mac mini to ALWAYS boot into a verbose mode only, no GUI interfaces at all?
    Mac Mini   Mac OS X (10.4.6)  
    Mac Mini   Mac OS X (10.4.6)  

    Hi, Andy your replies are really helpful. I did tried your method and also followed the link http://www.oreillynet.com/pub/h/348
    Now my mac mini - Tiger seems hanging forever at the boot up screen. A Apple log showed up with a message "Starting Mac OS X ..." and now almost 5 minutes passed, nothing happened ...

  • TS2570 iMac won't boot, GSOD with Flashing Question Mark, safe/verbose mode not possible

    I have an iMac 24", just over 2 years old running OS X v10.5 (Leopard). Mighty Mouse and bluetooth keyboard, no peripherals.
    It slowed enormously over the last few weeks and has now ceased to boot.
    On switching on I hear the chime (blank grey screen initially), the grey screen hangs for approx 30sec before the flashing folder/?mark icon appears.
    There is no further progress.
    Boot key combination results:
    Can reset NVRAM (Option-Command-P-R)
    Cannot boot to safe mode
    Cannot boot to startup manager
    Cannot boot to verbose mode
    Cannot boot from target media (DVD etc)
    Cannot boot to AHT mode
    Cannot boot to single user mode
    I have followed the steps here http://support.apple.com/kb/TS2570
    Disconnect, test peripheral devices and network cables - done - de-powered and rebooted. No difference.
    Perform a Safe Boot- this does not work.  I am familiar with the boot combinations and timings. The safe boot leads to the same flashing folder/?mark icon. I have also tried verbose, single user, AHT and startup manager with the same result.
    Reset the NVRAM / PRAM - done - this worked and kicks the system into an auto-reboot after 3-5 seconds. This also demonstrates the Keyboard is fine. The subsequent boot fails at the same point via normal, safe or verbose boot instructions.
    Start from your Mac OS X Install disc; use Disk Utility – I never received an OSX install disk.  I have the original box with receipts etc, the only disk present is an unsealed version of iLife (yeah thanks Apple).  Where would I get one?
    Check your cables and power source – done - all fine.
    Remove third-party RAM and internal hardware – not applicable.
    Perform an Archive and Install installation of Mac OS X – how would I do this when I cannot boot the device?
    Perform an Erase and Install installation of Mac OS X as a last resort – how would I do this when I cannot boot the device?
    To me the problem looks like a HDD failure.  I had windows (dual boot) professionally installed when I bought the iMac and since the Windows boot option is also not visible (startup manager itself does not work) I suspect the system can’t find bootable media because the HDD isn’t spinning.
    An OS corruption would generally affect one or the other but presumably not both Operating Systems simultaneously.
    It's hard to be certain, but I’m sure it used to make more noise.
    I had a look into opening it up and troubleshooting the physical components but it’s hard to know where to start.  There are no obvious ways in and I’m not a professional so decided to post a question here rather than hack it open.
    I'd be grateful if you could suggest next steps here, or is it time to go dig a hole in the garden?  I certainly expected more than 2yrs life from a £1200 unit.
    Many Thanks,
    Ryan

    Thanks for the response,
    I bought the iMac new, 17th Jan 2010, all receipts intact but no extended warrenty. I declined the Applecare Plan for two reasons.
    (1) The sales rep seemed very confident in the product build. In fact the main justification of the price tag was the quality of the device. I'd also never had an apple device malfunction at that stage.
    (2) The incumbent EU regulations are quite fair in so much as legislation dictates electrical goods should be manufactured to function for a 'reasonable' lifetime. I would be morally uncomfortable paying for rights I theoretically already have.
    I triple checked on the OS X disks you mentioned but no joy. Unusual as it may be, the box has not been used and it's contents reflect the day of purchase. 
    I'm happy to order the OS X v10.5 DVD and attempt a boot to the disk utility, I don't mind risking a few bucks on a potential fix.  I'll need to figure out where to order the disk, the call centre is closed ATM so watch this space.
    What I'd really be interested in is; (a) is there a known diagnostic routine to determine the HDD functionality and (b) it is possible to replace/upgrade the HDD?  This for me is where the iMac loses ground against a conventional PC in terms of motherboard/component access. It's far superior from an asthaetics perspective while things are running smoothly and the OS is great but the first sign of a hardware malfunction and there seems little or no scope to self-medicate the device.
    The disk has around 40-60 GB free space.
    I don't have a second Mac, nor any friends or family with a Mac to 'borrow' for the disk utility test you mentioned. I'll hunt around this afternoon/week but my instinct tells me finding a locally accessable Mac running 3 yr old OS X might not be possible. Again, watch this space, I'll post any further developments. 
    In the meantime any further assistance or answers to the above questions on determining HDD status would be much appreciated. No progress has yet been made on the original issue of failing to boot.
    Many Thanks
    Ryan

  • Verbose mode ****

    So it all started a while ago when sleep mode only lasted for 10 seconds after I upgraded to 10.4.9. I read that this was a common problem, so I just shut down at night. About a week ago, the computer kept booting from the gray Apple boot screen straight to the Blue Screen of Death: "You need to restart your computer". Kernel panic. Yay. Always a code 14: page fault.
    So I swapped the ram but nothing changed, and I could boot into OSX fine occasionally. No Disc Utility noticed anything wrong. Then yesterday my MBP quit recognizing my external hard drive. I can use the hard drive with Windows machines and my iMac G4 just fine. I've tried to boot in safe mode, but while holding down shift, the gray screen just stays there spinning forever. I can't boot into open-firmware either.
    When I put the install disc in and held down C, I got a kernel panic message that said Unable to find driver for this platform : “ACPI”, and now my computer is in verbose mode telling me all kinds of awful things about the mDNSResponder, and " I have no name!#"
    I'm fine with backing up my data and reformatting if that's what it takes - but since the MBP won't recongize the hard drive I can't do that. I want to take it to the genius bar tomorrow and see if they can figure out what in the world is going on.
    Here's some stuff verbose mode is putting out right now:
    mDNSResponder: GetDNSConfig: Error: dnsconfigurationcopy returned NULL
    configd[257]: No AirPort Driver found.
    configd[257]: LINKLOCAL: inet6attachinterface(en0) failed, File exists (17)

    Furthermore, the PRAM reset command won't even load the gray Apple before it restarts (maybe that's normal). I managed to get into Hardware Test mode by holding D.

  • Verbose Mode Always On

    I just got my 15 inch Powerbook G4 1.67 GHz (running OS X 10.4.6, Tiger) back from the factory. They had to repair the lower memory slot because it was failing to recognize the memory in the lower slot (hence the name, haha). My computer seems to continually be booting up in "Verbose Mode." (I found that out after much research on what I might call this issue.)
    So... HOW DO I TURN VERBOSE MODE OFF ON MY POWERBOOK G4??? Please help me. I have searched, but I just could not find out how to turn it off. Thank you!

    I figured out how to turn off Verbose Mode. Be careful when doing it! The link to the website is...
    http://www.oreillynet.com/pub/h/348
    Here's what I did to turn it OFF:
    1. Opened program "Terminal" (Applications > Utilities > Terminal)
    2. Copied and pasted in the command given in the website to turn Verbose Mode ON (yes, ON). Pressed Return key.
    3. Typed the admin. access password (as defined by you, the administrator). Pressed Return key.
    4. Copied and pasted in the command given in the website to turn Verbose Mode OFF. Pressed Return key.
    5. Closed Terminal
    6. Restarted my computer.
    * Verbose Mode OFF!
    Note: During the Restart process the Verbose Mode still showed up, but upon starting up, it was OFF, back to showing the little spinning gear under the Apple (gray/grey screen).
    Hope this helps others!

  • HELP! MacMini starting up in Verbose Mode

    Hi,
    My Mac Mini seems to be sarting up in Verbose Mode (black background with white type). Any ideas why this is happening? and how do I stop it?
    I've run Disk First Aid off the installion CD and its fixed all the problems that it found, but it still happening. Do I need to wipe the HD and start all over again, or try to just re-install the OS?
    Any words of wisdom?
    Thanks!
    Su
    Mac Mini   Mac OS X (10.4.9)  

    also download and install onyx
    http://www.titanium.free.fr/pgs2/english/download.html
    once installed, open onyx and go to the parameters tab, then go to the tab under that named login. find the one that says startup mode. select normal mode and it should reset it to normal.
    hope this helps
    -bjarec

  • Suddenly, Macbook doesn't boot up in single user mode or verbose mode

    Hello, I use the single-user boot up quite often to check permissions and do a fsck after my mac crashes.
    I do this by pressing Apple(Command)-S at startup or cmd-V for the verbose mode. I do this all the time.
    But now my Mac won't take it anymore. It just refuses to accept any key combo. Any ideas why this is happening?
    thanks.

    Hi Jose, actually you don't have to boot to single user and repair permission all the time. Just perform that after you update your software and or hardware.
    Can you start up normally and then use your keyboard as usual, or is the keyboard refuse to do so?
    Try to reset your PRAM and or PMU to refresh your hardware behavior.
    http://docs.info.apple.com/article.html?artnum=2238
    http://docs.info.apple.com/article.html?artnum=303319
    Good Luck.

  • IMac won't boot up. Stuck in "verbose mode" ??

    I've had this problem on and off for a few weeks now. I either restart my iMac after installing some new software-or for other reason- and my computer won't boot up. Sometimes it will stay at the white screen with the grey apple for hours if I leave it there. I've tried all the tricks with key commands. I even reinstalled my software, which worked, but now its happening again. Today, I restarted my iMac, and the same thing is happening, except sometimes it will go into what I've heard called- "verbose mode." The screen is black and white command text appears in the upper left hand corner. Here are some examples of what appears...
    No Airport driver found.
    Exited abnormally. Bad system call.
    Repawning too quickly! throttling
    10 more failures without living at least 60 seconds will cause job removal.
    Will restart in 10 seconds.
    (this will continue until it has restarted and failed 10 times. After this is done, it will display one of the following...)
    too many failures in succesion
    OR
    local:/root# (continuously flashes on the screen)
    OR
    localhost:/ I have no name!# AppleYukon- eno link active, 100-Mbit, full duplex, flow control disabled.
    I really don't know what to do. I'm really frustrated with my iMac. I've had to replaced a dead hard drive within the 6 months of my purchase, and now it is acting crappy again.
    Can anyone help?
    Thanks.

    I tried using the disk utility on the grey disks, but
    they can't repair the error on my HD. I can't restore
    the original software from the disks either... there
    is an error when I try.
    No, you can't restore while the current OS is in place, due to the fact that your 10.4.8 isn't compatible with the older version (10.4.4) that's on the install DVDs. Once a Mac OS is in place, it can only be upgraded, not downgraded. You'll have to choose either:
    to "Archive & Install" which would set aside your current system unerased until the new installation is completed and your current settings are transferred over - at which point you can erase the archived OS.
    to entirely erase and reformat the HDD, then install a fresh OS.
    Use the install disc's version of Disk Utility to perform either. First, though, you probably need to do a PRAM reset - that often clears things up so that you won't get an error message.
    To reset the PRAM:
    1. Shut down the computer.
    2. Locate the following four keys on the keyboard: Command (Apple logo), option, P, and R. You will need to hold these four keys down simultaneously in step 4.
    3. Start up the computer.
    4. Press and hold the Command-option-P-R keys. You must press this key combination after the startup chord sounds, but before the gray screen appears.
    5. Hold all four keys down until the computer restarts and you hear the startup chord for the second time.
    6. Release the keys.

  • CANNOT_START-UP: Stars in Command-Line-Mode: "Deallocation of a pointer not

    HELLO EVERYONE, PLEASE CAN YOU HELP ME...
    My computer: Mac OS X (10.3.9) had froze, couldn't force quit..and i forced started it by holding the power button. Restarted it, came on: the grey-screen and apple, spinning-gear...satayed like that long time then it went into Command-Line_Mode.
    Darvin,
    UserName:
    Password:
    I enterded UserName and Password, but could not start in normal ways.
    Now when I start-up the computer, Command-Line opens with only:
    :/root#
    and a curser-point.
    I have been reading all the leads that I found in the discussions, tryed most of the suggestions: fsck (/sbin/fsck -fy), Safe-Mode (didn't start in), couldn't start up from CD.
    COMMAND-LINE (at one time it said like this):
    *God boot device= IOService:/MacRISCZPE?pci@f2000000/AppleMacRiscPCI/*
    *mac-io@17/AppleKeyLargo/ata-4@1f000/KeylargoATA/ATADeviceNum@0/IOATABlockStorag eDrive/IOATABlockStorageDevice/IOBlockStorageDriver/ST340810A.Media/IOAppleParti tionScheme/MacOS@5 BSD root: diskOs5, Major 14, minor 5*
    *Feb 22 14:32:25 mach_init[2]:Started with uid=0 audit-uid=-1*
    *Feb 22 14:32:25 init:ignoring exwss arguments/etc/rc.boot:cannot dublicate*
    *fd-1048577 to fd 1: Bad file descriptor*
    **malloc[3]: Dealocation of a pointer not malloced: 0x710; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug*
    *at an other time after using fsck*
    Command-Line-Interface:
    *:root#/sbin/fsck -fy*
    **/dev/rdiskOsF
    *Root file System*
    *Checking HFS Plus volume.*
    *Checking Extents Overflow file.*
    *Checking Catalog file.*
    *Keys out of order*
    *(4, 8874)*
    *Rebuilding Catalog B-tree.*
    *The Valume Macintosh could not be repaired.*
    PLEASE HELP!
    WHAT Should i do?
    If nothing works, could i start-up from OS 9.2.2? (Both Systems OSX and OS_9.2.2 were installed)
    If the B-tree is corrupt, does it being shared by both OSX and OS_9.2.2?
    THANK YOU

    Hi Kappy,
    Thank you for taking an interest.
    I already tryed to start_up from CD, but it either didn't started-up
    or it started still in Command-Line-Mode.
    Put the CD in the tray, startedUP with the C_Key Held.
    It took a little longer and seemed it was going to start from CD but went into CommanLine again.
    but instead of
    :/root#
    it said something else, something like:
    2e_sh.. (Something! i could redo it and write it down here if it will help)
    Other times i tryed to bootUP from CD by holding-down the Option-Key and saw the install-CD icon next to
    OSX-Icon, so i chose the CD and hit the Straight-ARROW-Icon to start up from the CD, but again it fell
    into CommandLine.
    If i try the Target-Disk-Mode with a healty-Mac, could i be able to see my HD. Then i can switch to
    OS_9.2.2 which i spose is healty because i was using OS_10.3 when this problem happened. And the way
    i think, if the B-tree Catalog is not being shared by both Systems, if each have its own one, then the
    OSX's B-tree Catalog have been corrupted, not OS9's, and so if i could change the start-up-system(Disk)
    somehow, i could be able to start the computer with OS_9.2.2 running. Both systems were installed,
    and i was switching back and forth between them. Then i can fix my computer by, at least, starting
    to throw away some of the junk and so making some free-space.
    I had read that HD should not be full more than 85%. I had 2.5GB space left out of 40GB.
    But if there is a risk that things like this could happen because your HD is too full;
    why arn't they (Apple) fix this, buy, at least, showing as if you HD is full before it gets
    too full to leave a safety net for the B-tree Catalog files evidently that need to be written
    in continuous blocks on the HD.
    So thank you again, and keep me posted if you might think something else could fix my computer. I need
    this computer.
    thanks

  • How to permanently boot up in verbose mode?

    Hi,
    I want to always boot up OS X Mavericks (10.9.2) in verbose mode (debug mode) as I pressed Cmd+V everytime.
    I remember an old command which I used on Snow Leopard for doing this:
    « sudo nvram boot-args="-v" »
    but I don't know if it's still valid on Mavericks!!
    The command « nvram -p » works and doesn't show any "-v" verbalization in the "boot-args" section, so I'm currently thinking my command is still valid (it does still show other commands, though).
    But I need your help, Apple experts! Can you confirm this?
    Thanks in advance,
    Tyrexionibus
    Message was edited by: Tyrexionibus

    Restart the computer. At the chime press and hold down the SHIFT key until you see the spinning gear below the Apple Logo. You should also see a progress bar appear. Booting into Safe Mode takes much longer than a normal startup.

  • Can not open in safe mode

    I can not open in safe mode.  It launches Utilities instead.
    I tried to reinstall Mavericks but it stalled for over an hour.
    I found a loose kernel in my HD fielder and deleted it.
    Anny ideas?  Thanks.
    Allan

    Using Safe Mode. What happens with a normal boot - same thing? If so then your startup volume needs to be reformatted and you need to reinstall OS X.
    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.
    This should install the version of OS X that you had installed.

  • Turned on fileVault AND firmware password, can't boot into verbose mode?

    Just out of curiousity, I turned on fileVault AND firmware password on my retina macbook pro,
    and when I boot up holding command-v, instead of getting the firmware password screen, I get the filevault password screen.
    Is this normal and expected behaviour?

    The firmware password disables that shortcut; verbose mode can still be used by using the Terminal to change the NVRAM boot arguments, which requires an administrator password.
    (100118)

  • Boots up almost like verbose mode.

    I have an Intel iMac that seems to work fine, that we have reinstalled Leopard on several times, but everytime we startup the machine, I get a black screen with some white text (almost like it was starting up in verbose mode) then it goes away and goes to the login screen. Then when I shutdown, it logs me off, and then goes back to the black screen/white text, and shuts down. Basically I'm not getting the grey screen with the gear, but instead I'm being shown how the computer is booting up, how do I get rid of this?

    Restart the computer with the Option, Command, P, and R keys held down, and release the keys when you hear the second startup chime.
    (29431)

  • Gerring Error -"Could not open command file"

    Hi All,
    I'm using Business Object Data services XI 4.0 .When I executes the job it given an error -"Could not open command file "
    so if anyone know the solution then please let me know.
    Thanks
    Rajeev kumar
    SAP-BODI Developer

    The -compat=4 (and the default -compat=5) compilation modes are not related to the compiler version. All compiler versions from 5.0 (1998) through 5.10 (2009) have these options. The C++ Migration Guide
    [http://docs.sun.com/app/docs/doc/819-5266]
    explains the differences in detail between -compat=4 and -compat=5, with examples of how to make old code compatible with standard C++.
    There is no compiler version 7. Perhaps you are thinking of the Sun Studio release. There is a Sun Studio 7 (containing C++ 5.4), but it is End Of Life, no longer available for purchase, and is not supported on Solaris 10. The recent releases are these:
    Sun Studio 11, C++ 5.8, supports Solaris 8, 9, 10
    Sun Studio 12, C++ 5.9, supports Solaris 9, 10, Open Solaris, Linux
    Sun Studio 12 update 1, C++ 5.10, supports Solaris 10, Open Solaris, Linux
    (Sun Studio 12 update 1 should be released next week. Watch this forum for an announcement.)
    Please run the command
    CC -V
    to find out your compiler version.
    When compiling on Solaris, 32-bit compilation is the default. You don't get 64-bit compilation unless you ask for it, via the -xarch option on older compilers, or the -m64 option on current compilers.

  • 10.4.9 Server Starts in Verbose Mode

    When I restart my G4 Server, it looks like it is starting like normal, shows the blue startup screen and says Mac Server is starting up, but when the bar reaches the end, it briefly goes to an all blue screen and then moves to a black screen with white text(verbose mode I think).
    After searching the forums, I tried forcing the mac os x startup by holding command and x during startup, but nothing changes. I have also tried entering:
    sudo nvram boot-args=""
    to boot up normally, but still no change. I have tried repairing the disk in disk utility, booting from an external hard drive, but still boots in verbose mode.
    Any help would be great.
    1.6GHz G5 iMac   Mac OS X (10.4.10)  

    Hi Dan-Cherokee:
    What happens if you boot from the installer disk?
    In the meantime try resetting the PRAM (ParameterRAM). Restart the server and hold down the command, alt, P and R keys at the same time. You should hear the start-up chime, keep them depressed until you hear the chime again, keep them depressed for a further start-up chime, now release the keys and immediately hold down the shift key. You will have to keep this depressed for some time as you are now booting in safe mode/boot. Eventually you will see the log in window with Safe Mode/Boot (in red) displayed, release the shift key and log in as normal, wait a few seconds and click on the trash icon, you should see a folder that has a long number for its name or possibly be called recovered items, delete this folder and reboot as normal. Safe Mode does a thorough check of your drive and directory as well as flushing system caches (this is what gets dumped into the trash).
    Hope this helps – Tony

Maybe you are looking for

  • HFM 9.3.1 - Consolidation - Abort

    Hi, Please suggest me on this. Having problem when I added the following in business rule. The consolidation aborts when it reaches 17%! Tops = ".I#[ICP Top].C1#AllCustom1.C2#TOTAL_SOURCE.C3#AllCustom3.C4#AllCustom4" HS.EXP "A#II_COML_C_AND_I = A#II_

  • Stock issue at zero price

    Hello, I am facing one problem. Price control indicator in material master is S. I have uploaded stock with quantity 5 at zero price. After uploaded, i set the standard price to Rs. 15/-in material master. While issuing the material from stock for de

  • Lightroom 4.x Maps location

    Hello,   I love the new Maps feature in LR 4.x. However, there is a small annoyance: - Select some pictures and to into the Maps module - Search for a city, as an example "Paris" - select some of your picture, zoom, and click on the map where you wan

  • TS4002 emails are being sent out without my knowledge

    emails are being sent out without my knowledge, do I have a virus?

  • Parallel synchronous calls from BPM

    Hi, how many parallel synchronous calls can XI perform at once? Reason why I ask, for me it looks like parallel calls are handled sequentially in XI. My scenario: I have a ccBPM that should ask three different synchronous WebServices to collect data.