Fixing path command in terminal, fixing path command in terminal

I have "mangled" by system path env variable.... Can overwrite with export, but would like to make the correction permanent... which file?

One of the following (assuming the default bash shell):
/etc/profile
~/.bash_profile
~/.bash_login
~/.profile

Similar Messages

  • [svn:fx-trunk] 8459: Fixing current point after CloseSegment command in Path sequences.

    Revision: 8459
    Author:   [email protected]
    Date:     2009-07-08 12:39:23 -0700 (Wed, 08 Jul 2009)
    Log Message:
    Fixing current point after CloseSegment command in Path sequences.  Also fixing up cubic and quadratic smooth/shorthand logic (t/s) when preceding command is not a curve command).
    Bugs: SDK-21866, SDK-21862, SDK-21607
    Reviewer: Jason, Peter F.
    QE Notes: None
    Doc Notes: None
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21866
        http://bugs.adobe.com/jira/browse/SDK-21862
        http://bugs.adobe.com/jira/browse/SDK-21607
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as

    Hi,
    If I were you, I would Streamline the MDT Task Sequence to find the root cause.
    Moreover, please refer to the link below:
    How to fix Windows System32 Winload.exe Missing Or Corrupt 0xc000000f Error?
    http://winwiki.org/windows-system32-winload-exe-missing-or-corrupt-0xc000000f/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • "zip" Terminal command no help fixing corrupt zip file; any other workarounds?

    I downloaded a ".zip" file containing some files that I need to access.
    When I double-click on it, I get the "Unable to unarchive 'xyz.zip' into '[foldername].' ( Error 1 - Operation not permitted )" message, which many people report when they try to open a corrupt zip file.
    I also tried opening the file with "StuffIt Expander," "Archive Utility," and "The Unarchiver," as well as some specialty zip-compression programs, but none were successful.
    I then installed the very useful "Archive.qlgenerator" plugin (http://homepage.mac.com/xdd/software/archive/) which allowed me to at least see inside the zip file using OSX's "QuickLook" feature. Lo and behold, all the files that were supposed to be in the zip file are indeed in there, as they should be. The problem is not that the zip file is empty, the problem is that it has become corrupted somehow.
    So, what I need to do is either "fix" the corrupted zip file, or alternately find some way to extract the needed files using brute force.
    Following tips given on various forums, I tried using OSX's "zip" command in terminal (http://homepage.mac.com/kelleherk/iblog/C1901548470/E731143104/index.html and http://hintsforums.macworld.com/showthread.php?t=132146). I was able to use it properly, but unfortunately neither the "-F" nor the "-FF" commands were of any helping in "fixing" the zip file. The "-F" command incorrectly said that the zip file was empty and that there was nothing to fix; the stronger "-FF" command came back with
    Could not find:
      xzy.z01
    Hit c      (change path to where this split file is)
        s      (skip this split)
        q      (abort archive - quit)
        e      (end this archive - no more splits)
        z      (look for .zip split - the last split)
    or ENTER  (try reading this split again):
    ...but none of the options produced any result. Pressing "z" gave me
    Could not find or open
      xyz.zip
    ...which means that even "-FF" could not get past whatever problem had corrupted the file.
    So: is there any built-in way for Mac OSX to fix or extract the contents of a zip file corrupted like this?
    Alternately, is there any third-party shareware or freeware that will do the trick?
    (I don't want to have to spend big $$$ on a commercial program since all I need to do is open a single zip file. And there is no way to contact the zip file's original creator, so I can't download an uncorrupted version.)
    Any help would be greatly appreciated.

    Mark:
    When I try your first suggestion in Terminal ("unzip -t /path/to/file"), I get this message:
    Archive:  /xyz.zip
      End-of-central-directory signature not found.  Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive.  In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.
    unzip:  cannot find zipfile directory in one of /xyz.zip or
            /xyz.zip.zip, and cannot find /xyz.zip.ZIP, period.
    When I try your second suggestion ("unzip -l /path/to/file"), I get the exact same error message. (And yes, I am fixing "/path/to/file" to be the correct path to the actual file).
    And no, it is not really part of a multi-part archive. (Or at least it wasn't supposed to be; only one zip file is available, and there was only supposed to one.) Perhaps the zip was mis-encoded in the first place, so that the person who created it accidentally did something wrong which the unzip applications are interpreting as this file being part of a multi-part archive; but even so, all I have is this one file, so I need to fix it as is, or extract its contents as is, since I have no way to contact the original creator to do it right this time.

  • Terminal Command, how to set defaults write, make application(s) use directory path where file last saved?

    Does anyone know whether there's a terminal command to make all applications remember/use the last directory/path where I last saved a file?
    For example, let's say there are (10) ten PDF's on a website, and I want to use Preview.app to open and save each file to the same directory.
    Problem is, after each time I save a file, Preview.app doesn't automatically remember/use the last directory where I saved my file(s).
    Forcing me to navigate back to the same directory after each time I save a file; super-annoying.
    But, for some reason, when saving images from the web, Firefox remembers the last directory where I saved the file (jpeg).
    So I'm hoping there's some way, possibly a terminal command to set/force all applications (including Preview.app) to remember/use the directory/path where file(s) were last-saved.
    Anyone?

    Get the third-party utility Default Folder X 4.4.9.

  • Sudo: command not found - damaged PATH file in terminal. How to restore?

    Hi, I was editing one of the PATH variables holding file (~/.bash_profile or somewhere deeper), something went wrong and now terminal can't find any program (i.e. nano) or use sudo.
    The problem is that to edit that file I need to be admin, but I can't use sudo. Any ideas?

    Back up all data.
    Select
              Shell ▹ New Command
    from the Terminal menu bar. Uncheck the box marked
              Run command inside a shell
    if checked.
    Copy and paste the following line into the text box that opens, then press return:
    mkdir disabled_shell_files
    Close the Terminal window that opens. Repeat with this line:
    mv .profile .bash_history .bash_profile .bashrc .inputrc disabled_shell_files
    Your old shell initialization and history files will be saved in a directory named "disabled_shell_files" at the top level of your home directory. It's normal that some of these files will not exist, and therefore you will get some "no such file" errors.
    Close the window, open a new one, and test.

  • I have this message on Terminal. nano/private/etc/hosts: command not found. How can I fix it to get right?

    /etc/hosts ; exit;
    /etc/hosts: line 7: 127.0.0.1: command not found
    /etc/hosts: line 8: 255.255.255.255: command not found
    /etc/hosts: line 9: ::1: command not found
    logout

    What are you attempting to do?

  • Fixing the path for images in RoboHelp 8

    I am rather new to Robohelp, so please forgive me if this has been addressed in another dicussion...I have been searching and cannot seem to find what I am looking to describe.
    I am working in Robohelp 8, and  creating a new help system by importing topics from a previous help system. The problem I am running into and I cannot see how to fix is that there are a couple of topics that have images where instead of the path for the image directed to a folder called "Images" in the main directory, it dumps the graphic into the project manager window when I import the topic. I tried viewing topics that don't have their images on the main project manager window, and comparing against the one that does, and I cannot see the difference. I have tried renaming the images and placing in the correct folders, and then inserting the images into the topics, but it still tries to look at the main folder and still dumps the image into the project manager.
    Any help you can provide please share.

    I am going to say yes (because it sounds like what I am trying to get at, but not sure).....I have tried deleting the images, and recreating, and then re-inserting into the topic, and they still go to the root of project. As I am going along, I am finding more and more.....so far there are 20 images that are doing this.  However, I also just did what you mentioned and dragged it and put it under the topic. But I am still confused as to why I would need to do this for some topics and for other topics the images don't appear at all (meaning they don't show under topics or root of project), they are just linked through the folder on the main directory. Does this image help more?
    Left of picture above: The folder directory has a folder called Images, and this is where all of the images were stored and are stored for the new project.
    Middle of picture above: The topic Horizontal Command had an image in it "image20.gif", and it was at the root directory and as you suggested I moved to the topic. Also see the topic circled Expand and Collapse Folders topic has the image circled at the left within it.
    What I am trying to understand is why would the graphic from the Horizontal command topic dump into the root of the project, while the image from the Expand and Collapse Folders topic not show on the root project or even within the topic listed. (Which is what I prefer for all topics).

  • Lenovo System Update Broken, IA.exe command path error

    Hello, I've been fighitng with Lenovo system update through out the years for various issues, but I believe I've found a new error that all my searching doesn't seem to cover. When I do a fresh image of Windows 8.1 and install system update, it works for the first and sometimes second run and reboot. But after these first uses, it completely fails, along with System Health and some of the other Lenovo software. I've managed through some trial and error and looking through the logs to narrow this down to the IA.exe program and the command being sent to gather information. Here is the command found in the tvsu logs: /execute ia.exe /arguments -filename$C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files (x86)\Lenovo\System Update\egather\$ /type COMMAND /timeout 300000 Immediately after this is called, the system calls TVSUCommandLAuncher, and then reports RC eGAther: -1 and that it failed to execute TVIA program and quits. My error in System Update is that it couldn't gather client information. So I took the command and tried to run it myself, having to remove the /execute switch as I wasn't calling this some somewhere else. ia.exe /arguments -filename$C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files (x86)\Lenovo\System Update\egather\$ /type COMMAND /timeout 300000 This when run, will throw "Error: The given path's format is not supported" message. I tinkered with the command line for a while before I figured out what was going on. It seems the "$" being used for the Filename and Directory settings are no longer functioning, and causing the program to not parse properly. I replaced all the $ with " and suddenly I can run the command manually, and it generates the output file properly. Now though I'm still stuck, as there's no way for me to edit the command being called by system update, so it will always improperly format its call and then fail. Does anyone have any idea what in the world is going on here, I can't figure out what would be causing this and why it works the first one or two launches, then never works again. This also causes any lenovo software that uses IA to freeze up, like the system health software from lenovo.

    No, I don't do a silent install due to the license/eula agreements not functioning properly unless you've got an on-site repository.  So its just after imaging via SCCM I'd install system update, run it once to get things installed, and then when I would attempt to run it again, or lenovo system health, they'd be permanently broken.
    On this topic though I believe I sort things out.  I was having issues with the systems later that turned out to be two corrupt files dealing with Windows Store app, and using SFC and DISM to try and repair them fails.  After a lot of searching around I found that someone with Windows 10 preview had the exact same two files corrupted, so my thinking is there's some windows update out there causing issues, and the IA.exe program is affected by these corrupted files.  
    I had to get my win8.1 Install.wim file from the server, and then direct my broken system to use that as the source to do a dism cleanup and restorehealth.  Once it completed it repored it was able to fix the two files and I've not had any more problems and was able to capture the images (previously capture failed because sysprep reported the OS wasn't in a good state). 
    I've still not gone and tried to install the realtek audio driver that I know caused the break, but thats just due to time limits with the project, if I have some time I'll try and install and see if things still function afterwards.  
    So to break down the events:
    Clean Win8.1 Retail image, used SCCM to deploy onto a machine, run windows updates on the machine and install Lenovo System Update.  Things looked okay until I would try to run System update a second time after rebooting, then it was broken due to IA not being able to gather data.  Later after SFC and DISM scans was able to see that two files were being reported corrupt and unfixable, one I know is related to Store app, other I think is a library file for the Apps.  
    Fixed the files by getting the Install.wim from my iso file, telling the system to use that for the source as the online sources weren't working.  Dism was then able to fix the two files and I could successfully sysprep/capture the system with SCCM tools.  

  • Could not complete the new 3D extrusion from selected layer command because the path is too complex.

    I was trying to do a photo of mine like in this video but its not working help needed. thanks.
    http://www.youtube.com/watch?v=egyLY78H7nE
    When I tried the 3D I got an error message that said (could not complete the new 3D extrusion from selected layer command because the path is too complex.) what does this mean and how can i fix it?

    There was a bug at one time where really simple paths (like a triangle, for example) could cause that error.
    Is your path really simple (I don't plan to go watch the video)?  If so, have you installed the latest update for Photoshop?  That bug may have been fixed already.
    If it's not that, it's possible that if your path is really complex and simply exceeding Photoshop's capability.
    -Noel

  • File path recorded with "Save As" Action is fixed?

    I am trying to create an action that will save the open file to a JPG (Quality 9, Matte: None), always in the same folder that it came from, as it does when this is performed manually. (The preference to Save As to the Original Folder is enabled).
    What I am finding is that when the action is recorded, the path to the folder at the time is fixed in the action, effectively rendering it useless for further saves of files opened in different folders.
    Is it possible not to save a path when recording the Save As action or make it variable so that adopts the folder that would have been chosen had the command been invoked manually?
    TIA, Joel.
    Photoshop Mac CS5
    Mac OS X 10.6.4
    MacBook Pro 17" 2.4GHz/4GB/320GB

    So it looks like PS cannot automate a manual process in this case though it would be very desirable for it to do so and has all the information necessary for the task.
    I may not quite follow as I browsed the thread rather superficially, but Scripting may be useful in this case.
    You could try this JavaScript (save as a jsx-File in ExtendScript Toolkit into the application’s Scripts-folder).
    But be warned: This would overwrite existing jpgs of the same name without prompting.
    // saves jpg into same folder;
    // be advised: this  overwrites existing jpgs of the same name without prompting.
    // 2010, use it at your own risk;
    #target photoshop;
    if (app.documents.length > 0) {
    var thedoc = app.activeDocument;
    // getting the name and location;
    var docName = thedoc.name;
    if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
    else {var basename = docName};
    // getting the location, if unsaved save to desktop;
    try {var docPath = thedoc.path}
    catch (e) {var docPath = "~/Desktop"};
    // jpg options;
    var jpegOptions = new JPEGSaveOptions();
    jpegOptions.quality = 9;
    jpegOptions.embedColorProfile = true;
    jpegOptions.matte = MatteType.NONE;
    //save jpg as a copy:
    thedoc.saveAs((new File(docPath+'/'+basename+'.jpg')),jpegOptions,true);
    //that’s it; thanks to xbytor;

  • Fixing CAD Program Paths

    I'm often asked to edit drawings that were created in engineering CAD programs. I keep running into the same problem where Illustrator can't fill a closed path completely, and I can't find a workaround yet for this.
    Let's say I have a closed path of a basic shape, with rounded corners. (Well, I assume it's a closed path. It sure looks like it to me.) If I select this shape and fill with black, only the corners are filled black. The rest of the shape remains white.
    I'm looking for a command in Illustrator CS3 that will correct this path, so the shape will fill entirely with black.
    Can anyone comment on this, or offer a fix?
    I've asked the engineering guys to look into their Export or Save As settings on their end, but there doesn't seem to be anything. I have been receiving .AI files and also AutoCAD .DXF format files, if this is of any help. I also understand some of these files are drawn in SoftWorks.
    Thanks in advance for any potential help in fixing these simple paths.

    i've had to bring lots of cad files into illustrator and that's always a drag and non of the solutions are quick.
    you can use the plug in Concatenate to join segmented paths - this will require you to do one object at a time for clean results. you can do a whole document but you might end up with multiple merged objects etc. it's also not always clean, depending on your object you might end up with multiple lines on top of each other. but in general it helps a lot.
    one helpful thing to do before using it is to get rid of anchor points before joining.
    another way i've been working around this is by using the Live Paint. select the lines enclosing the shape you need and paint fill it.

  • [svn:fx-trunk] 8474: * Fixed the AST generation code path of Vector typed variables and

    Revision: 8474
    Author:   [email protected]
    Date:     2009-07-09 07:20:32 -0700 (Thu, 09 Jul 2009)
    Log Message:
    Fixed the AST generation code path of Vector typed variables and
      properties with Bindable.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    Bug fixes: SDK-21587
    API Change: NO
    Reviewer: Peter D.
    Code-level description of changes:
       AbstractSyntaxTreeUtil.java
         Modified generateParameter(*) to use generateTypeExpression().
       binding/BindableSecondPassEvaluator.java
         Modified generateGetter() to use AbstractSyntaxTreeUtil.generateTypeExpression().
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21587
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableSecondPassEva luator.java

    I got again a total system freeze today when I wanted to launch firefox using only the openbox menu, without wbar running.
    So I decided to try now the 'nouveau.noaccel=1' kernel command line parameter, and to use again wbar for my frequently used applis.
    In the Xorg log, the differences are:
    without 'nouveau.noaccel=1'
    [ 30.761] (II) UnloadModule: "nv"
    [ 30.761] (II) Unloading nv
    [ 30.761] (--) Depth 24 pixmap format is 32 bpp
    [ 30.762] (II) NOUVEAU(0): Opened GPU channel 0
    [ 30.765] (II) NOUVEAU(0): [DRI2] Setup complete
    [ 30.765] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
    [ 30.765] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
    [ 30.776] (II) EXA(0): Driver allocated offscreen pixmaps
    [ 30.777] (II) EXA(0): Driver registered support for the following operations:
    [ 30.777] (II) Solid
    [ 30.777] (II) Copy
    [ 30.777] (II) Composite (RENDER acceleration)
    [ 30.777] (II) UploadToScreen
    [ 30.777] (II) DownloadFromScreen
    [ 30.777] (==) NOUVEAU(0): Backing store disabled
    [ 30.777] (==) NOUVEAU(0): Silken mouse enabled
    with 'nouveau.noaccel=1'
    [ 1191.621] (II) UnloadModule: "nv"
    [ 1191.621] (II) Unloading nv
    [ 1191.621] (--) Depth 24 pixmap format is 32 bpp
    [ 1191.621] (EE) NOUVEAU(0): Error creating GPU channel: -19
    [ 1191.621] (EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
    [ 1191.621] (==) NOUVEAU(0): Backing store disabled
    [ 1191.621] (==) NOUVEAU(0): Silken mouse enabled
    [ 1191.621] (==) NOUVEAU(0): DPMS enabled
    So now 3D acceleration is disabled.
    I will see now if the system is stable enough for my daily usage and gives satisfactory performances.
    I am almost sure that the mesa nouveau dri driver is the cause of the freezes.
    Last edited by berbae (2013-03-27 10:07:42)

  • [svn:bz-trunk] 10026: Fixed a bug around handling ping commands while running load-testing-tool against Servlet-based endpoints .

    Revision: 10026
    Author:   [email protected]
    Date:     2009-09-04 10:28:18 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Fixed a bug around handling ping commands while running load-testing-tool against Servlet-based endpoints.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java

  • [svn:osmf:] 13544: Attempt to fix the broken command line build.

    Revision: 13544
    Revision: 13544
    Author:   [email protected]
    Date:     2010-01-15 17:13:13 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Attempt to fix the broken command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    If there was a magic bullet to keeping clients healthy, then keeping clients healthy would not be an issue.
    However, ConfigMgr 2012 does have a a built-in client health tool called ccmeval -- this is run using a scheduled task on client systems every day and does a very good job of keeping clients healthy.
    Using a task sequence or anything directly deployed by ConfigMgr won't work because its a catch-22: how is the ConfigMgr agent supposed to run a deployment if it or a dependent component is not healthy.
    Other things to keep clients healthy:
    - Don't give users local admin privileges.
    - Beat users that hard shutdown or reboot systems (this is IMO the number 1 cause of client health issues)
    - Get rid of XP
    - Use client startup script that supplements ccmeval
    Jason | http://blog.configmgrftw.com

  • [svn:osmf:] 13639: Attempt to fix the command line build.

    Revision: 13639
    Revision: 13639
    Author:   [email protected]
    Date:     2010-01-19 14:58:36 -0800 (Tue, 19 Jan 2010)
    Log Message:
    Attempt to fix the command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    Hi,
    I am  new to this field.
    I imported the strobe media playback to my flash builder.
    I am getting the error
    unknown configuration variable 'swf-version'
    When i imported the strobe media playback in flash builder
    the ADDITIONAL COMPILER ARGUMENTS  in the projec>properties>actionscript compiler>
    was having value
    -swf-version=11 -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true
    please help me out

Maybe you are looking for

  • Something Funny With GR/IR Clearing?

    Hi, I wonder why do we need an adjustment account to configure the automatic GR/IR clearing because all we want to do is transfer the balance from GR/IR account to the target account, to achieve this, can't we just credit the GR/IR and debit the targ

  • Scanning of HU & issuing only those loaded

    Can someone help me with the below mentioned scenario I have assigned all Handling units to different outbound delivery. I now require to scan the HU from each of the Outbound delivery. After scanning, only those that are loaded need to be posted 'go

  • No Service Abroad

    I'm an EE customer currently in Germany and my phone has no service. I rang customer services when I was in the UK last week to explain I would be working in Germany over the summer and they upgraded my account to an ee extra account and said I could

  • Change spry submenu background color only?

    Is there a way to change the background or background color on the spry horizontal or vertical menus without changing the main menus?

  • DC520 Check Open Data Collection  - XML issues

    Hello, I have the problem that if I save DC via XML Shop Floor interface the activity hook DC520 which is attached as PRE_COMPLETE doesn't see the DC and is complaining that the DC for this operation is missing. From the POD it works without any prob