Path is empty - how do I edit with Terminal?

Terminal noob here. While trying to use sudo command, I'm getting a "command not found error." echo $path returns nothing so I think my path got whiped out. I tried to edit .profile (from hints found on other sites) but I can't get an editor to open (vi, pico, text edit). So...I could use some detailed instructions on how to reset my path including a typical default path.
Thanks.

If ~/.profile is not there then you can create it. I use ~/.bash_login but ~/.profile is fine as well. There are some differences as to when they are loaded depending on if you are at your machine or logged in remotely.
You can export paths to any location where you want the shell to look for executables.
Examples
export PATH="/usr/local/git/bin:$PATH"
export PATH="$HOME/Dropbox/_tools/:$PATH"
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"

Similar Messages

  • How do I edit with APA SE 3.0?

    The only editing that I have found to do with is Auto Smart Fix in the Edit column of the man menu. One of the Help pages reads that I can crop and do other editing with this software

    Select a picture and then the is a "Fix Photo" [or something like that - don't have software to hand] button. This gives you an interactive edit to make a number of corrections, crops etc.

  • [JS][CS5] How can use 'edit with' option for link using sripting

    Hi All,
    I Can edit link using Link.editOriginal () if the default application is as i need it will open it from there, when I try to open it with other application instead of default application of link file I can't (usually we "use edit" with option in manually). Is there any option to do it in scripting.
    Any clue will help us to update the large set of links in a single click.
    Thanks in advance,
    Sankar L

    Hi csm_phil,
    You are exactly catch my point, my requirement is to update math type eps file. If my math type equation default application file is illustrator (say) as below
    it will open in illustrator instead of mathtype if i use editOriginal function...
    Jus i need to open it in mathtype, the link file default application file is whatever it is.
    Thanks,
    Sankar L

  • How to reset password with Terminal?

    I've just had a new HD fitted and rebooted my system from time machine, the password to access my user account does not seem to work any more. I've been advised that the thing to do is to reset it with 'terminal'
    Can anyone help me wi this?

    This is how for Snow Leopard, which is what your profile says you have:
    http://support.apple.com/kb/ht1274

  • Proxy Editing with Premiere Elements 10

    I just read the great post on how to proxy edit with version 7 at http://forums.adobe.com/thread/390600?tstart=0, but I cannot find a way to save a preset with Premiere Elements 10 so I could then modify it to display previews in low-res and output in full HD. The online help from the program mentions "creating" presets, but then only describes how to slelect existing presets. Can anyone tell me how to make a new project preset, or better yet, if there is a built-in way to proxy edit with 10? Thanks!

    jjenkinsnm
    For reasons that I have not figured out, your last message arrived as an email notification of an Adobe post, but it is not posted in your thread yet. In that post you wrote:
    The properties for the clips shows:
    Type: MPEG Movie
    Image Size: 1920x1080
    Frame Rate: 23.976
    The Interpret Footage settings show under Frame Rate the radio button for Use frame rate from file: 23.9750 is selected, and under Pixel Aspect Ratio the radio button for use pixel aspect ration from file is selected.
    I never received a message to change the project preset.
    As a test, I imported a clip that was shot at 1920x1080 30fps and added it to the timeline. I did not receive an error message, but this clip also has a red line above it on the timeline (as do the 24 fps clips).
    Thanks for the help AT and SG.
    Based on the information supplied, I cannot see a reason why your video should be displaying with a red line over its content
    IF
    a. Your project preset = NTSC DLSR 1080p DLSR 1080p30 @ 23.97
    b. You are dragging the import (1080p @ 23.7 progressive frames per second) from Media to Timeline as the first video to be placed on that Timeline
    Please review these criteria and let us know if you spot anything that you have as not consistent with a and b.
    Keep in mind, when you bring in a file that is 1080p30 into this project set for 1080p24, you would expect to get a red line over the 1080p30 content since there is a mismatch between file and the project settings.
    Another important matter that I am not clear on...is your problem only in previewing? Or does the problem go to previewing as well as exported product?
    Thanks.
    ATR
    Add On: After I submitted this post, I saw that your post which I found missing previously is now displaying in your thread.

  • I purchased an $89.99 pack 2 days ago thinking I could use this to edit PDFs. How do I edit PDF document using this package?

    I purchased an 89.99 Acrobat pack but can't figure out how to edit PDF's which is the reason I made the purchase. How do I edit with this software?

    Hi peggyb50904266,
    I'm sorry for the confusion: Adobe PDF Pack allows you to create and combine PDF files, but not edit them. To do that, you need to use Acrobat. If you'd like, we can switch your PDF Pack subscription for an Acrobat Pro or Standard subscription.
    Best,
    Sara

  • Issue with Terminating Event - Reg

    hi Gurus,
    This might be a simple issue, but am not getting hold on a simple solution for my issue.
    I'm working on ECC 6.0.
    I have a custom workflow in which I have step1(A dialog task - Asynch) with a terminating event "COMPLETED" and then step 2 (A background task). once step1 is completed by user A, i am sending this WIACTUAL_AGENT to the step 2 in modifying some custom table data.
    My issue is if user A finished the task(step 1) manually, then also the Term. event COMPLETED is getting triggered and hence the work item in user A's Inbox is disappearing. And then it's picking up user A as WIACTUAL_AGENT and sending to step 2. But, i need to distinguish or some how find out if the Termin. event occurred thru' execution of the workitem or manually performing the job. I looked into the workflow log for both the cases, and i don't find any clue with which i can differentiate that the Termin. event occurred thru' executing witem Vs. performing manually.
    Anybody has any idea on how to find this out. Coz, depending on whether the action is done manually or thru' witem, i 'll be modifying the custom table data accordingly. Currently, for both the cases, when the Term. event occurs, the WIACTUAL_AGENT is same user A and hence it always is treating that the action is done thru' witem only, even though its done manually. This is because, when executed manually also, the step1 witem is ending with container element WIACTUAL_AGENT filled with user A and hence its proceeding with background task in step 2.
    Any thoughts on how to tackle this issue. Your suggestions / input is really appreciated.
    Thank you in advance. Pl let m

    Hi Venu,
    I have quickly created a sample workflow in my system.
    Here is what I did:
    1) Workflow will tigger to my inbox whenever Change master is created.
    2) Created a custom task with object type ECM and method 'EDIT' with termination event 'Deleted'.
    3) created fork step type with 2 branches and necessary branches 01.
    4) one branch will execute  the task created above
    5) another branch will wait for the event "Deleted" of ECM
    6) I have created a container element flag ( of type XFELD ).
    7) In the wait event binding I am passing X to worklfow container element flag.
    7) I have created change master from transaction CC01.
    8) Received the worklfow and deleted the document via worklfow.
    9) I checked the worklfow log and found that the flag container element is not populated
    10) I have created one more change master from transaction CC01.
    11) Received the worklfow but deleted the document outside the workflow.
    12) I checked the worklfow log and found that the flag container element is populated with 'X' this time.
    I think you can use that flag to differntiate whether the transaction was done outside worklfow or within the workflow.
    Hope this helps.
    Thanks.
    Krishna.

  • How to create editable table with one empty row ?

    I'm looking for solution how to create editable table with one empty row using ADF BC. I have seen this solution in application that was created in JHeadstart and it's very well idea to use it insead of creation form.

    hammm, i do it this:
    drop the VO on the page, select Table->ADF Table....
    so, drop the botton create, from de VO->operations->create (the firts), and right botton (mouse) Edit binding....
    in Data collection select the VO, in Select an action select CreateInsert
    luck

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • How do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?

    how do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?
    so the thing is a few days ago i made an app store purchase and i didn't know i was running out of money on my credit card. i realized that only when i tried to purchase another item and it didn't work. nothing special til here. the problem is that meanwhile my credit card was replaced by a new one by the bank because the old one was soon expiring. So the data associated with the old credit card no longer exist.
    i tried to edit my billing info associated with my apple id in order to enter the new credit card data, but the system doesn't allow me to do that.
    so i can neither pay my purchase, nor edit my info, nor access app store anymore.
    what's next? any ideas? thanks

    Servers down wait till status is fixed to change or add your data http://www.apple.com/support/systemstatus/

  • How Many Multi Folios with single Professional Edition?

    Hello
    how many multifolios can I create with single Professional Edition Subscription?
    for example, is it possible to create Magazine's English Edition (with weekly updates), Russian Edition (weekly updates) and etc....both of them shoud have different folio viewers
    thanks in advance

    http://www.adobe.com/products/digital-publishing-suite-family/buying-guide.html

  • Set up apple Id with invalid email so can't validate new account. How can I edit account  info when I can't sign in for anything? Thx

    Set up apple Id with invalid email so can't validate new account. How can I edit account  info when I can't sign in for anything? Thx

    Hi Franklin777,
    If you are having issues with your Apple ID, this article will get you started.
    Frequently asked questions about Apple ID
    The first step is to find and edit the Apple ID you created:
    Apple ID: Finding your Apple ID
    If you need to reset your security questions this article will help ... 
    The rescue email address is a different address than the one you use for your Apple ID. 
    Rescue email address and how to reset Apple ID security questions
    You can edit or delete your rescue email address at My Apple ID. To edit your rescue email address:
    Navigate to My Apple ID using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    Hope you get back on track soon!
    - Judy

  • How do I edit a PDF file with Adobe PDF Pack?

    How do I edit a PDF file with Adobe PDF Pack?

    Well, you don't. Editing a PDF is a difficult and fraught business even with the most expensive software.
    But PDF Pack lets you export to Word; then often you can edit in Word. Now you can make a new PDF. It might look like the original, or it might not. If small changes matter you might be out of luck. ON NO ACCOUNT USE THIS FOR GOVERNMENT FORMS.

  • I am working with Acrobat  9 Extended Pro. How do you edit 3rd party pdf files?? Some do not allow.

    I've been attempting to modify a 3rd party, original form purchase agreement -- so I may complete it with answers and save in my system for future submital or more editing. The form I'm attempting to complete with my laptop .. turns blue (converts to photo storage?) and makes it impossible for me to edit.
    How do I edit under Acrobat 9 Extended Pro software  -- Please advise ASAP.
    Paul Johnson

    You could add form fields or comment annotations. If you want to modify the text directly you may need to OCR the pdf and convert it to a text or Word document, edit the text, then make a new PDF.

  • After creating a form, how do I download it for further editing with Adobe Professional XI?

    After creating a form, how do I download it for further editing with Adobe Professional XI?

    This is probably a new precaution that Apple has taken to alert folks that something has occurred with their account that has not occurred before*, namely a Mac has downloaded something from their account that has not done so before. And as the notice says, if it was you doing so, then you may safely ignore the notice. Also, do not be alarmed, Apple refers to all downloads as purchases, even when they are free.
    But if you are truly concerned about the notice then you can authorize the Mac with your iTunes account, which should be the same as your MAS account. Open iTunes on the older Mac and sign into your account. Then in the Store menu choose Authorize This Computer. Now this Mac is definitely associated with your account and can now play media that you purchase from the iTunes Store as well.
    *My banks do the same thing when I pop up making a purchase with my bank cards somewhere in the world I have never made a purchase before. They call me and email me and want to know if it is indeed me using the card.

Maybe you are looking for