How to create an alias for a custom command line with paramters

Is it possible to create an icon that runs a terminal command line ?
What i want to do is start firefox with a specific profile. In terminal this is done by using Firefox -P [profileName]
How can I put this in an alias (or something else) ?
I tried creating an alias that changing the original but it won't let me insert a command line.
Any help ?

In my .profile this works: alias f="/Applications/Firefox.app/Contents/MacOS/firefox -P doug"
for starting under my profile. Make sure you run source ~/.profile if you add an alias to .profile
Starting default FFox profile is /Applications/Firefox.app/Contents/MacOS/firefox -P swxazqvy.default
And for Desktop icon to start whichever profile, open Script Editor and paste with proper changes(and save as an app(maybe to Desktop again?) :
do shell script "/Applications/Firefox.app/Contents/MacOS/firefox -P doug"
And you can make an executable with icon in a bash script with above and chmod u+x it and save to Desktop too.
Message was edited by: doug pennington

Similar Messages

  • How to create function module for getting customer name

    Hi Experts,
                   How to create function module?  when in import parameter kunnr values to be passed it must give name1 details according to the customer number...
    how to write the logic in source code....
    Regards,
    Thiru. R

    1. First of all create function group.
    2. Create function module using this function group.
    3. If only one kunnr is needed at a time, create import parameter for it. But if many kunnr to be entered at a time,use table.
    4. Fetch name1 for each kunnr from KNA1 table.
    "->> if many kunnr
    if not t_kunnr[] is initial.
    select kunnr as kunnr name1 as name1
    into table t_kunnr_name1
    from kna1
    for all entried in table t_kunnr
    where kunnr = t_kunnr-kunnr.
    endif.       
    sort t_kunnr_name1 by kunnr name1.
    delete adjacent duplicates from t_kunnr_name1 comparing kunnr name1.
    table t_kunnr_name1 will contain kunnr and its name1.
    I hope logic is clear for you now.
    Regards,
    Aparna

  • Re: How to create new subtypes for OM  Custom infotype

    Hi Gurus,
    I  facing  problem when creating for Subtypes in  OM , i need create Infotyes with Subtypes in OM.Check below steps how i created
    1. I create Structure in se11. HRI9119
    2. In PPCI , i create infotype 9119
    3.In SM30 , I Maintain table T777i, here i selected my infotype (9119), then i clicked on infotype per object type and assign subtype (9229, 9339) to the my infotype .
    4. After that, in same screen, i selected my infotype and assign TIME CONSTANT to my all subtype and infotypes.
    After this , any think required to maintain , Plz tell me.. i didn't find my subtype in PP01.
    Thanks and Regards ,
    Venkatesh.M

    Hi Venkatesh,
    The new subtype has to be maintained in table V_778U.Also you need to relate the new subtype to object type in table T777Z and miantain the time contraints.
    Please refer following path in IMG for further information
    Personnel Mgt > OM > Basic settings > Data model enhancement
    Hope this helps.
    Regards,
    Malathi V.

  • How to Create Manual Standby for a Oracle 11g RAC with ASM to Single Instan

    Hi All,
    I have a task to configure a Single Instance Standby Database with ASM for 2-node Primary RAC+ASM database.
    Version using : 11.1.0.6 Oracle 11g --- *" STANDARD EDITION "* Please note datagaurd will not be supported in standard edition.
    Primary database - 2 -Node RAC using ASM storage (All datafiles, redologs, controfile and archive logs)
    Need to setup a single instance standby database manually and than using scripts to transfer the archive logs from primary server to standby server to do recovery time to time.
    Please let me know if there are any configuration document(s) which can help me to set the manual standby? or need your kind help to give your valuable ideas how to go in above situation.
    Thanks in advance

    Niall Litchfield wrote:
    El DBA wrote:
    Well if the archive logs are stored in ASM on the primary nodes, you almost definitely want to be using RMAN to access them. Then to transfer between primary and standby there are many options, this is essentially the step that Data Guard takes care of - so if you (and I) are running Standard Edition, this is the part to "worry" about.
    I'm not really sure what you mean by this:
    As in standard edition the archive destination will be on ASMI don't think the Edition of Oracle (Standard or Enterprise) dictates where and how you store your archive logs, but it's possible I've misunderstood what you mean...SE dictates that database storage for RAC will be ASM, including archive log files. Anything else is not officially supported. I haven't tested but it may be that you can use LOG_ARCHIVE_DUPLEX_DEST to specify a local filesystem for archive log files as well.
    If that doesn't work you'll have to script rman "backup as copy" jobs regularly and then transport the results of that.
    Niall Litchfield
    http://www.orawin.info/
    By the way, it seems Robert has been pretty helpful, it's polite to give him some points dude. And since this is your thread, not mine, give him a "helpful" from me too :p
    El DBA
    Incidentally if you are forced down the RMAN backup as copy route then this will likely throw your current backup retention strategy somewhat, you'll need to think carefully about when an archivelog can be deleted following backup, how many times it might be backed up and so on. I do understand, and have argued for, the use of SE RAC. I also understand and have argued for and implemented manually managed standby a number of times. However by the time your primary database is a RAC instance and you need a standby for DR etc then you really have to look very seriously at whether Standard Edition is still the right investment or not. You will be spending a lot of DBA time managing and troubleshooting this, and you will find that it is less reliable than the off the shelf solution. I suspect that you are very close to the point where an EE installation becomes a worthwhile investment here.
    Niall Litchfield
    http://www.orawin.info/

  • How to create an alias from the command line

    Hi
    I would like to know how to create an alias (for a file, not a command) from the command line. I don't want to use the ln command, as an alias has more interesting features than soft/hard links... Is there an Apple specific tool to do this?
    Thanks
    -Jerome
      Mac OS X (10.4.10)  

    The only straightforward way that I am aware of for creating a "Finder" alias from the command line is using AppleScript via 'osascript'. Of course, it's not really a command line solution since the "Finder" has to be running. Anyway, something along the lines of:
    <pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">osascript -e 'tell application "Finder" to make alias file to POSIX file "/full/path/to/file" at POSIX file "/full/path/to/folder"'</pre>

  • How long does it take for the custom field created in SFDC to show up in the field mapping list?

    How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience? 

    Hi,
    What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped?   

  • How to create diferents deliveries for each schedule line

    Dear gurus,
    I have sales orders with many schedule lines in order to deliver in diferents dates. We need to create all the deliveries together but each schedule line needs to be in a diferent delivery with the corresponding delivery date.
    I analiced the customizing about pool for delivery creation (VL10) but all I can change is for display and can not change the way the delivery is created. If we select two schedule line with diferent dates, the proccess create only one delivery with the total quantity and the first date of delivery.
    Anybody knows some way to make the proccess create individual deliveries from diferents schedule lines?
    Tanks in advance!
    Marina.

    Hello Marina
    I hope you are using VL10E. Did you try working with Delivery creation date (range) and Delivery Date calculation rule? For example if you go for a value of 2 for the CalcRuleDefltDlvCrDt ('Rule for determining default value for deliv. creation date), then system will consider only those sched lines which are to be delivered today and tomorrow.
    You also have the possibility of setting up your own routine for CalcRuleDefltDlvCrDt.
    Thirdly SAP has suggested a solution for Scheduling agreements ( valid for releases upto 4.7). In this SAP has suggested solution 4 for ensuring all schedule lines are not delivered together. You can customize the code to include Sales orders ( in stead of Sched Agreements)  in your case. Though it is for release 4.7, I think you can use the smae concept in ECC also.
    137937 - SD scheduling agreement: Delivery split for each schedule li
    Check it out and let me know how it goes. Good luck.

  • How to create t-code for a table and how to create transaction variant???

    Hi,
    I have created a custom table zsark.
    Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.
    Now,
    1.     how to create transaction code to a table. Can any one give me the 
                    staps??
    2.     how to create transaction variant for the above requirement???
    Thanks & Regards,
    Sarkar

    Hi
    1 Goto SE93 transaction
    2 Choose 5th option Transaction with parameters
    3 Give transaction : SM30, Check Skip Initial Screen Press Enter
    4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name
    5 Press one more time F4, choose update , mark it X on right side.
    6 save the transaction.
    Thanks
    sandeep
    reward if helpful

  • Duplication of Purchase Order while creating sales orders for a customer

    when we try to create sales order for one customer it have to create by picking up the purchase order from the table linearly.
    But the problem is that here when we are trying to create multiple sales orders the same purchase order is being picked.
    for example..when we create sales order 1 the purchase order picked is PO1 and
    for creation of sales order 2 the same purchase order PO1 is being picked up instead of PO2.
    No idocs are being generated in this, even to check them..
    How shall i resolve this...? Please help me out ASAP

    Hi Kumar,
    Thanks for the reply. But actually the problem is that this is related to some customized table in the project. When a EDI Batch job runs in the background then automatically the SO is created and the PO is being picked from the table(custom table) and then posted against the respective SO. we are not aware of that job which is triggering this to debug. Once if we can know that particular batch job or pgm or edi or idoc what ever it is then we can debug.
    Do you have any idea how can we find that particular pgm/edi/idoc/job name which triggers this creation of SO?

  • How to create db conn for JDBC-ODBC Bridge for MS Access in ADF APP?

    Sir,
    How to create db conn for JDBC-ODBC Bridge for MS Access in ADF APP?
    Regards

    Hello Every Body!
    I succeeded in getting connect to the ms access database in adf application in jdeveloper as below:
    First in control panel to to admin tools and  go to data source(odbc) and create system dsn as bellow pic
    Then go to jdeveloper resources ide conn and then database and new database conn and then select jdbc-odbc briddge and then give custom jdbc url as bellow pic
    Cheers
    tanvir

  • I would like to learn how to make an alias for my "Home" page in Adobe Muse.

    Currently, my homepage is titled "Home."  This works great in the vertical menu at the top of the main pages.  It does not, however, work well if someone wants to bookmark my site in which case their bookmark generates the generic "Home."  Can I create an alias for the home page in Muse?  If so, how?

    What exactly is your question?
    Something to do with promotion, or something about settings on your device? It's not clear what you are asking.

  • How to attach PLD layout for my custom form.

    How to attach PLD layout for my custom form.
    Or
    How to enable print functinality for my custorm form - purchase indent etc
    Is the only option is Query print layout or any other option?

    Hi,
    Unfortunately, you cannot create your own PLD layouts for your addons. Instead, most developers opt for a third party report writer such as Crystal Reports or SQL Reporting Services to provide reports.
    If you search this forum you'll find a lot of useful information on how to integrate Crystal with your addon.
    Kind Regards,
    Owen

  • How to create transactoin code for a predefined variant?

    Hi,  I have created one variant for a custom report.How to create transaction code for the report with that variant?

    When you create the transaction in SE93 select the Program and selection screen(Report transaction) type not
    the transaction with variant(Variant transaction)

  • How to create database item for fast formula?

    Hi,
    Is there any document for how to create database item for fast formula? I could not find in Metalink or this forum. Thanks.
    Andy

    Oracle ship many pre-delivered Database Items plus they're created automatically when you create Input Values (etc).
    There's often something already there for you. If there's not, you usually create Fast Formula functions to retrieve other data. You don't create your own custom DBIs; Oracle don't deliver APIs for that.

  • How to create fxplug transition for xcode and quatrz composer

    how to create fxplug transition for xcode and quatrz composer?

    Hi Mohan,
    You have to create and configure your system in the system administration tab in the portal.
    Usually, it looks like the following:
    System from template: JDBC System
    Connector properties
       Connection URL: jdbc:sap:sqlserver://<serverlocation>;DatabaseName=<database name>
       Driver class name: com.sap.portals.jdbc.sqlserver.SQLServerDriver
    User management properties
       User mapping type: admin, user
    Set the system with an alias.
    Go to user administration tab and map the user with VCRole to the configured system
    (the default for MSSQL is usauly user: sa and pw: admin)
    Save your changes and logon to VC with this user.
    The alias name should appear in your list of systems.
    Hope I helped,
    Shay

Maybe you are looking for

  • Firefox cant connect to the internet after a while of being on

    Hi, I posted this question some time ago and since i didnt get any working solution and I still have this issue I am reposting it now. My problem is simple: I start up my computer and open Firefox. I browse the internet normally. No problem so far. B

  • OIM 11.1.1.5.0 - Failure to start eventhandler

    My post process event handler would seem to be set up correctly. I created a metadata file and imported it and I've created the plugin.xml file along with the Java code in the zip and placed it into the plugins directory. I currently have just one ev

  • IPod Touch accelerometor doesn't work, what can I do?

    When I turn my iPod Touch on Safari or Albums, my screen doesn't turn, what can I do? Thanks

  • Specific rights on source-system connection?

    Hi all, we are up to connect our Solution Manager BW system to our "standard" BW system. But due to security reasons, we only want to allow access to specific datasources from the SolMan BW system. We tried to set up the rights for the BATCH/backgrou

  • PR Release with Material Type Characteristics

    Dear Experts, Any of you used material type as PR release class craracteristics? I have one query regarding this- 1. My business requires material type wise relesae strategy, means raw material and spares will have separate release strategy 2. We hav