Command line tool?

What are people doing for command line tools? Say you want a shell script to clear a cache or something...?
Thanks,
Andrew

For commands that are immediately available via the Coherence console, Christer's batch solution is quite useful.
I like to follow the "eat-your-own-dog-food" approach, such that the command-line utilities are written in the same language (and preferably same codebase) as the production code (ie. same config files, same logic, etc). For 3rd Party C++ APIs, I tend to create bindings in a scripting language such as Python so that I can test out ideas/prototype and create regression tests. Once you have these type of bindings, its very easy to create a wide-range of command-line utilities, especially for automation.
Alternatively, if your requirements are already well defined and you dont need full scripting capability, out-of-the-box Coherence 3.5+ provides an application launcher called Sanka.exe which allows you to execute your C++ classes. You'll find further info on Sanka in the C++ documentation.
Things are much easier in the Java/.NET world as its just as easy to use the APIs directly and create console apps (Its also much easier to migrate to UI admin tools from these).

Similar Messages

  • GUI Applications unable to use command line tools

    Hi All-
    I've searched, but I can't find a thread about this one, so...
    On OS 10.4.5:
    Whenever I use a GUI app that wants to use a command line tool (e.g. curl, df, java), the app fails giving an error message to the effect of "unable to find curl" or the like. It is as if the GUI cannot find my unix $PATH.
    Examples:
    -- Eclipse refuses to launch, because it appears to use "java xxxxxxx" to launch.
    -- Automator fails to run certain Safari actions because they use curl to navigate web pages.
    -- Carbon Copy Cloner fails to launch, because it can't find a tool (df, IIRC) to read drive/volume info
    Possibly relevant details:
    -- I can use the tool in question from the command line, so they are present, and in my $PATH, but the GUI can't find them.
    -- I recently moved from an old G4 to a relatively new G5, and had issues migrating files, so I eventually just copied my entire home directory from the old machine to the new, replacing the freshly created one on the new machine. I feel like that missed something that tells the GUI where your $PATH is, or some other link between GUI and command line.
    -- I created a new user, and that user does not experience the same troubles. This adds to my suspicion that it is account/PATH related.
    Any help anyone can give it greatly appreciated.
    -p
    PM G5 dual 2.0   Mac OS X (10.4.5)  

    Did you by any chance create an evironment.plist file? It is located in ~/.MacOSX/ If you don't know about it or don't know to look (.MacOSX is normally invisible), try this:
    In Finder.app, in the "Go" menu select "Go to Folder..." (shift-command-G), type ~/MacOSX in the text field and hit OK, the finder should then open a window or complain.
    If it opens a window and you find in it a file named environment.plist move that file to the desktop and try your applications. Do they work as advertized? Try again after logging in/out if things don't work. Do they work now?
    Whatever hapens, tell us more...

  • Running a command in a command line tool in fastest way

    Before anything I want to clarify some terms : 
    apk
    file (android application package file) : equivalent to executable (exe) files on windows
    aapt.exe
    : A command line tool which comes with android sdk in order to fetch information of an apk file (It obviously has other usages)
    note : This question is not about an android feature. It's all about C# and functionality of .Net framework 
    An
    apk file has a name just same as any other file, but it has a internal name (which will be shown when you install apk file on android os as name of application) 
    with
    aapt.exe I can get internal name of an apk using following command :  
    aapt
    d badging "<apk path>"
    I
    have copied aapt.exe where executable file of my c# application is and I want  :
    Enter
    above command for each apk in selected directory (using GetAllFiles method)
    I want to get internal names of apk files and
    I've tried a lot of ways and I've searched a lot. finally this is what I've got : 
    Process proc = new Process();
    proc.StartInfo.FileName = "cmd.exe";
    proc.StartInfo.RedirectStandardInput = true;
    proc.StartInfo.RedirectStandardOutput = true;
    proc.StartInfo.UseShellExecute = false;
    proc.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
    proc.Start();
    using (StreamWriter sw = proc.StandardInput)
    foreach (string path in Directories.GetAllFiles(@"E:\apk", "apk"))
    sw.WriteLine("aapt d badging " + "\"" + path + "\"");
    //following line doesn't work because sStandardInput is open
    Debug.WriteLine(proc.StandardOutput.ReadToEnd());
    // There will be a really huge amount of text (at least 20 line per sw.Writeline) and
    //it impacts performance so following line is not really what I'm looking for
    Debug.WriteLine(proc.StandardOutput.ReadToEnd());
    GetAllFiles is
    a function that I've created to fetch all apk file full path. It gets two argument. First argument is path and second one is extension of file you want its full path to be fetched.
    This is not final code.
    As I've commented it out first Debug.WriteLine doesn't
    work and second one is not a good idea. how should I get output from proc?
    I have tried running process by argument and its awful :)
    As another approach :
    Because apk files are basically zip files I can extract them get what I want from them.
    There is an xml file named Androidmanifest.xml in every apk file.
    Androidmanifest.xml is like an ID card for an apk file and apk internal name can be found in it but here are some problems with this approach : 
    1. Androidmanifest.xml is not a plain text file. It's coded and it requires a lot of complexity to decode it
    2. application name (or apk internal name) is an attribute in this file and it's value is not a string value. It's a reference to a file where strings are stored and worst thing is it's not an easy to find out reference. It's just a number

    And you don't get any output from it? Maybe you're passing the arguments incorrectly?
    No. I don't get any result and I have checked arguments and it's correct.
    But you are already running a separate process for every apk file. You start a single cmd.exe and then send it commands that will cause aapt to be run for every file. Unless aapt accepts multiple apk filenames on the command line there's no way
    around using separate processes.
    I didn't know that. anyway speed in this way is much more rather than creating a function. creating a Process object in it and calling function for each apk file.
    I read somewhere that it's possible to run multiple commands in cmd by & operator but as you said I think every command runs aapt. I have tested this approach too and it's very very slow
    fastest approach I have found is what I have wrote here and speed is about  0.6 per apk file which is still slow when there is thousands of apk files.
    I tried an application that does same thing (fetching apk information) and in it's installation directory I found aapt.exe which means it uses this tool to get information but speed is significantly faster rather than my application.   
    So what's your suggestion about this? 

  • Error while exporting webi reports using BIAR command line tool.

    HI,
             We are trying to export webi objects to a biar file using the biar command line tool, biarengine.jar in XI 3.0. We are using the query select * from ci_infoobjects where si_kind='webi'.
    We are getting an error "unable to create plugin object".
    Export of all other objects is going through fine.
    Any ideas?
    Thanks,
    Ashok

    Try this
    importBiarLocation=C:/test.biar
    action=importXML
    userName=UserName
    password=Password
    CMS=cmsname:6400
    authentication=secEnterprise
    exportQuery=select * from ci_appobjects where si_kind='universe'

  • Command Line Tools installs the latest version of clang (and others) in /Library/Developer/CommandLineTools/... but not in /usr/bin/

    I've upgraded Xcode to the latest 5.1 Installed Command Line Tools via xcode-select --install Homebrew tells me "A newer Command Line Tools release is available"
    brew --config:
    Xcode: 5.1 CLT: 5.1.0.0.1.1393561416 LLVM-GCC: build 2336 Clang: 3.1 build 318
    Checking my clang executable:
    $ /usr/bin/clang --version Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
    $ /Library/Developer/CommandLineTools/usr/bin/clang --version Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    So it appears Command Line Tools didn't install clang (and perhaps other executables) into /usr/bin? I checked my other laptop (w/ Mavericks), and /usr/bin/clang is version 5.1.
    So I'm guessing this is the problem? I've tried to reinstall Command Line Tools as sudo, but now it won't let me install again (says software isn't currently available).
    Can anyone help me with this? I've spent hours on it now, but can't find a solution.
    Thanks

    BTW, I installed Xcode 5.1 from the Store, but have never run xcode-select --install.  Here is the verbose output from a clang.
    xew ~/$:clang -v -o hello main.c
    Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    Target: x86_64-apple-darwin13.1.0
    Thread model: posix
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk -fdebug-compilation-dir /Users/xew -ferror-limit 19 -fmessage-length 100 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /var/folders/zf/d5vqmmtn5mq7h6766jtlkrvr0000gn/T/main-353995.o -x c main.c
    clang -cc1 version 5.1 based upon LLVM 3.4svn default target x86_64-apple-darwin13.1.0
    ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.9.sdk/usr/local/include"
    ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.9.sdk/Library/Frameworks"
    #include "..." search starts here:
    #include <...> search starts here:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1/include
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/include
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk/usr/include
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk/System/Library/Frameworks (framework directory)
    End of search list.
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/MacOSX10.9.sdk -o hello /var/folders/zf/d5vqmmtn5mq7h6766jtlkrvr0000gn/T/main-353995.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a
    xew ~/$:

  • Issue while creating BPEL artifacts using BPEL command line tool

    All
    I am trying to create BPEL artificats for SQL server stored procedure for SQO Server 2005 using BPEL Command line tool.
    My demo.properties is
    ProductName=Microsoft SQL Server
    DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ConnectionString=jdbc:sqlserver://10.10.20.2:1433;databaseName=dAP
    Username:apcdb
    Password:password1
    SchemaName:dev
    ProcedureName:spiSOATesting
    ServiceName:SQLServerSPService
    DatabaseConnection:MSSQLServer
    Destination:c:/temp/sqlprocedure
    and I have create a batch file called as generate.bat and it contains following information
    java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\jlib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts %1
    and when I try to run the command at BPEL PM Developer Prompt, I am getting Procedure not found, Can one please tell, what is the cause of this error. and how does this command line tool exactly work.
    Following is the output from command prompt.
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>D:\temp\sqlprocedure\generate.bat D:\temp\sqlprocedure\demo.properties
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar
    ;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\j
    lib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts D:\temp\sqlprocedure\demo.properties
    Procedure not found: dAP.spiSOATesting
    Thank you

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • "add_mp_to_mpa" is not recognized by OEM 12C Command line tool

    Hi,
    As per Oracle® Enterprise Manager Command Line Interface 12c Release 1 (12.1) document ( http://docs.oracle.com/cd/E24628_01/em.121/e17786/cli.htm ), after the EM CLI Client is installed basic operational verbs like 'add_mp_to_mpa " can be used to create managenment plug-in archive. But when i am using this command with OEM 12C EM CLI command line tool it throws following error
    +Error: The command name "add_mp_to_mpa" is not a recognized command.+
    +Run the "help" command for a list of recognized commands.+
    +You may also need to run the "sync" command to synchronize with the current OMS+.
    I also used sync command to sync with my OMS server. The sync command ran successfully with output "Synchronized successfully" .
    When i use help command("emcli help") to see the list of command it supports, it doesn't list this ('add_mp_to_mpa ') verb.
    Please tell me how can i use this particular verb to create my own management plug-in archive(.jar file) in 12 C.
    -Tripati

    "add_mp_to_mpa" verb is no longer an emcli verb in EM 12c. The plug-in framework has changed EM 12c. If necessary, please see the following doc for information on packaging and deploying a plug-in.
    http://docs.oracle.com/cd/E24628_01/doc.121/e25161/package.htm#CACDJJDA
    Regards,
    - Loc

  • How are Windows Server Backup and Command Line Tools used in vCSHB installation?

    How are Windows Server Backup and Command Line Tools used during the installation of vCSHB?  Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment?  Are these tools not used in some deployments?

    You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
    Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

  • What are the commands for compiling c++ using the command line tools for xcode?

    Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.

    c++ testfile.cc

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools?
    (That is, without using the SystemImageUtility)
    If so, are there reasonable instructions posted somewhere?
    I don't believe I can use SystemImageUtility with my current setup,
    but I would be happy to hear how I could:
    I have a set of Xserve clusternodes but without optical drives or video cards.
    One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
    They are wired to a gigabit switch.
    I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
    I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
    I have tried to start one node in target(Firewire) mode, connect it via Firewire
    to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
    But a NetBoot image requires the whole nbi file, right?
    Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
    I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
    Thanks for anyones help.
    dmaus
      Mac OS X (10.4.4)  

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • CohQL command line Tool select query output in file (unix)

    Ho to insert Coherence CohQL command line Tool select query result in file in unix platform. I have tried below query but failed
    query.cmd -s -c -l "select * from 'dist-example'" >myOutput.txt
    I also tried below query, result is displayed in command line but no file is created in folder.
    select * from dist-example >myOutput.txt
    I also tried one more query, result is displayed in command line but no file is created in folder.
    select * from dist-example >/opt/bin/myOutput.txt

    Hi,
    In Unix you should use query.sh instead of query.cmd
    In your case then the command would be smething like:
    query.sh -s -c -l "select * from 'dist-example'" >myOutput.txt
    You can also try using '>>' instead of '>' in order to redirect to a text file.
    Hope this helps.
    -Cris

  • Can not login into command line tool or check out application system

    Hi,
    I'm not able to check out application system. Message error stack is empty. If I try to connect using command line tool to purge the version I get this:
    Repository Command Line Tool: Production on 11-July-03, 18:46
    Release 9.0.2.90.21 - (c) Copyright 2002 Oracle Corporation. All Rights Reserve
    d
    REPCMD> conn repos_manager@msdes01
    Enter password: ******
    [JDK2] No message error
    oracle.repos.services.ReposServiceException
    at oracle.repos.services.connection.RepositoryConnection.setConnection(R
    epositoryConnection.java:613)
    at oracle.repos.services.connection.RepositoryConnection.setConnection(R
    epositoryConnection.java:539)
    at oracle.repos.tools.cmdline.util.CmdLineConnection.setConnection(CmdLi
    neConnection.java:162)
    at oracle.repos.services.connection.RepositoryConnection.<init>(Reposito
    ryConnection.java:333)
    at oracle.repos.tools.cmdline.util.CmdLineConnection.<init>(CmdLineConne
    ction.java:122)
    at oracle.repos.tools.cmdline.ConnectCommand.runConnect(ConnectCommand.j
    ava:197)
    at oracle.repos.tools.cmdline.ConnectCommand.exec(ConnectCommand.java:78
    at oracle.repos.tools.cmdline.BaseCommand.exec2(BaseCommand.java:130)
    at oracle.repos.tools.cmdline.CommandLine.run(CommandLine.java:494)
    REPCMD>
    Any help will be greatly appreciated.
    Thanks,
    Radek

    Radek,
    See Metalink article <Note:178311.1>
    I assume sqlplus and the Repository Object Navigator are working.
    Check the tnsnames.ora file:-
    i.e Change the entry
    DTE817.world = (DESCRIPTION = (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ukp-desteam)(PORT = 1521)))
    (CONNECT_DATA = (SID = DTE817)))
    to
    DTE817.world = (DESCRIPTION = (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ukp-desteam)(PORT = 1521)))
    (CONNECT_DATA = (SERVICE_NAME = DTE817)))
    David

  • Oracle Http server 11g, change ports with command-line tool

    I have installed the WLS11g webtier's Oracle Http server 11g. I installed the OH 11g only.
    The OH is runing fine with ports: non-ssl 7779 and ssl 4444
    I want to change the ssl port to 443 such that we can have the url without showing the port as https://hostname.domain/
    I have looked up the documnet http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJIFHB for "managing port".
    it states "You can change the port numbers for some Oracle Fusion Middleware components, using Fusion Middleware Control, Oracle WebLogic Server Administration Console, or *the command line*."
    Because I only installed the OH, I have no the Fusion Middleware control , admin console available for making the port change. And I cannot find out how to the command line tool to make the change.
    I followed the steps in section 5.3.2.1 Enabling Oracle HTTP Server to Run as Root for Ports Set to Less Than 1024 (UNIX Only) http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJEEJH
    And I did edit ssl.conf for port change to 443 ---- this is not documented in the document. I think because Oracle wants you to use the console to make the change.
    OH is not working after I made the change.
    Does anyone know how to use the commend line tool for making the port changes for OH11g?
    Thanks

    Hi,
    if u want to achieve it using JMX then u can try :
    http://middlewaremagic.com/weblogic/?p=613
    Using Command Line Option WLST you can do it in ONLINE Mode...like:
    Step1). Please run the ". ./setWLSEnv.sh" script to set the CLASSPATH & PATH in the shell prompt.
    <b><font color=red>NOTE:</font></b> Run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the <BEA_HOME>/wlserver_10.3/server/bin) then run the following command….
    *. ./setWLSEnv.sh*
    Note: the first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
    Step2). Now in the same Shell Prompt please run the WLST Utility like following:
    <b><font color=maroon>
    java weblogic.WLST
    wls:/offline> connect()
    Please enter your username [weblogic] : weblogic
    Please enter your password [weblogic] : weblogic
    Please enter your server URL [t3://localhost:7001] : t3://localhost:7001
    Connecting to t3://localhost:7001 with userid weblogic ...
    edit()
    startEdit()
    cd ('Servers/AdminServer')
    cmo.setListenPort(9999)
    save()
    activate()
    </font></b>
    Now you NEED NOT to restart your Server to reflact these Changes....
    The Above JMX Code is also able to do it in Runtime only on the Fly.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • How to uninstall the command line tools?

    I installed the command line tools in Xcode 4.5 from the preferences : downloads : command line tools.
    If i want to uninstall this component, what should I do?
    PS:
    I saw an answer in the Apple Support Communities about how to uninstall the Xcode 4.3 and later versions.
    This is the original: " If You want to uninstall completely XCode go to launchpad and push Xcode icon for two
    seconds, so click on the upper left checkbox.".
    I don't know what means "push Xcode icon for two seconds, so click on the upper left checkbox".

    There is no easy way to uninstall the command line tools. The following article has a script to uninstall them:
    You Don’t Need The Xcode “Command Line Tools”
    Read the comments in the article. I have not tested the script, but this is the first result when searching Google for "xcode 4.5 uninstall command line tools".

  • Command line tools for xcode??

    I am used to compiling code much like the java sdk works from terminal where I say javac the filename and then i get a .class file that i can run by doing the command java and then the .class file after. I am now wanting to learn c++ and I dont feel like installing xcode all i want is a compiler that can run from terminal. i found command line tools for xcode on the apple developers site and i was wondering do i need xcode for this to run and after that what the commands are and how i compile/run the code. But my biggest question is still wether or not i need xcode to let command line tools work. ive read in a couple places i dont need it but in other ive read you do can i get help?!

    You don't need Xcode to compile your apps with; just the compiler/linker.
    Xcode is Apple's IDE.  One could write the same code in TextEdit but that wouldn't be easy nor fun.
    (Missed it by THAT much!) 

  • How to uninstall "Command Line Tools" in Xcode 4.3?

    Just installed Command Line Tools using the perference in Xcode 4.3. After removing Xcode 4.3, I found the Command Line Tools are not removed.
    Is there any way to uninstall?
    Thanks!

    Check the 'About Xcode' readme:
    Uninstalling Xcode Developer Tools
    To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=all
    To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
    To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
    Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
    NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.
    -=-
    If you find a black hole with the above, you could always reinstall Xcode, with those tools deselected and then delete according to the above, but all bets are off at that point, sorry
    Good luck in any case.

Maybe you are looking for