How to repair .cshrc file ?

Hello, I this get error when my solaris 10 start :
//.cshrc: syntax error at line 4: '(' unexpected
my .cshrc file :
"//.cshrc" 33 lines,840 characters
#@(#)cshrc 1.1 89/11/29 SMI
umask 022
set path=(/usr/bin /bin /usr/sbin /etc)
setenv JAVA_HOME "/usr/jdk/jdk1.5.0_07"
/usr/apache5/bin/catalina start
please tell me where is the problem, can .cshrc file change to it default value ?

alanst wrote:
set path=(/usr/bin /bin /usr/sbin /etc)
isn't csh. Seems valid to me.
You want to change this to:
setenv PATH /usr/bin:/bin:/usr/sbin:/etcThat should work as well, but doesn't really explain the error.
The whole 'syntax error at line 4: `(' unexpected' looks more like a sh/ksh error to me. Exactly what I'd expect if the .cshrc were being executed by an sh-style shell (although bash doesn't seem to complain).
Darren

Similar Messages

  • How to repair xls file?

    How to repair xls file? Microsoft Excel report me what file is not Excel format.

    When an Excel file is corrupted, then you can try several methods to recover it:
    1. First of all, you can try to repair the file manually in Excel, as follows:
    (1) On the File menu, click Open.
    (2) In the Open dialog box, select the file you want to open, and click the arrow next to the Open button.
    (3) Click Open and Repair, and then choose which method you want to use to recover your workbook.
    You may find more information about this at:
    http://office.microsoft.com/en-us/excel-help/repairing-corrupted-files-in-excel-HA001034656.aspx (for Excel 2003)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx?CTT=1 (for Excel 2007)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010342840.aspx?CTT=1 (for Excel 2010)
    http://office.microsoft.com/en-us/excel-help/repair-a-corrupted-workbook-HA102749554.aspx?CTT=1 (for Excel 2013)
    2. Second, since Excel 2003, it provides a "Document Recovery" mechanism so that when Excel is shutdown abnormally, the Excel file being edited will be recovered when Excel is launched next time, which makes the file recovery possible.
    See below:
    http://office.microsoft.com/en-us/excel-help/recover-your-office-files-HP010354299.aspx?CTT=1
    for more detailed information.
    3. If 1 and 2 does not work, then you may try third-party tools such as DataNumen Excel Repair at
    http://www.datanumen.com/excel-repair/
    It provides a free demo version so that you can try to see if the data you want can be recovered or not.
    Good luck!

  • How to repair .mdf file?

    My sql databases in SQL Server 2014 has the status "suspend" as I saw in SQL Management Studio. I can't restore to serviceable condition sql databases through standard procedures. I need to restore .mdf file.

    You may try to use third party tool
    SQL Server Repair Toolbox. Free demo version is available from here http://www.sqlserver.repairtoolbox.com/how-to-repair-an-mdf-file.html
    In case this solution couldn't help you, make use of next steps: 
    1. select ‘run’ from ‘start’ enter 
    2. ‘cmd’ and then enter type “chkdsk 
    3. x: /r” and press enter key, here X represents drive where mdf file is 
    4. stored to confirm restore press “Y” restart system, the drive will be scanned at startup and the MDF file is recovered

  • How to repair xls file? Microsoft Excel report me what file is not Excel format.

    I need help again(( i have .xls file that cannot be opened by Excel. It reports that this file is not excel format. Can i recover it?

    When an Excel file is corrupted, then you can try several methods to recover it:
    1. First of all, you can try to repair the file manually in Excel, as follows:
    (1) On the File menu, click Open.
    (2) In the Open dialog box, select the file you want to open, and click the arrow next to the Open button.
    (3) Click Open and Repair, and then choose which method you want to use to recover your workbook.
    You may find more information about this at:
    http://office.microsoft.com/en-us/excel-help/repairing-corrupted-files-in-excel-HA001034656.aspx (for Excel 2003)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx?CTT=1 (for Excel 2007)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010342840.aspx?CTT=1 (for Excel 2010)
    http://office.microsoft.com/en-us/excel-help/repair-a-corrupted-workbook-HA102749554.aspx?CTT=1 (for Excel 2013)
    2. Second, since Excel 2003, it provides a "Document Recovery" mechanism so that when Excel is shutdown abnormally, the Excel file being edited will be recovered when Excel is launched next time, which makes the file recovery possible.
    See below:
    http://office.microsoft.com/en-us/excel-help/recover-your-office-files-HP010354299.aspx?CTT=1
    for more detailed information.
    3. If 1 and 2 does not work, then you may try third-party tools such as DataNumen Excel Repair at
    http://www.datanumen.com/excel-repair/
    It provides a free demo version so that you can try to see if the data you want can be recovered or not.
    Good luck!

  • How to Repair A File Changed into an Alias?

    hello,
    so i have a really frustrating problem. and here it is:
    --oct 25 i backed up all my files onto an external hard drive (EHD)
    --i upgraded my osx from snow leopard to mavericks
    --attached my EHD to laptop to retrieve files
    --discovered that several folders and documents had been changed to aliases.
    not sure why this happened because i have drag and dropped files and folders directly from my desktop to my EHD without any changes. in fact i created a folder and some files on my desktop and drag and dropped them into the same EHD without any issues.
    --i thought it might have something to do with mavericks.
    --i resintalled snow leopard. still have the same problem & i cannot open the files or folders that have been changed into aliases on my EHD.
    for one folder's type description, it says it is a unix executable file not an alias. even though there is a little black arrow showing on the folder icon.
    when i try to open another folder with a black arrow it says: the alias "_______" cannot be opened because the original item can't be found
    another message i am getting when i try to open a word document, .docx, with an arrow is: item "_______" is used by Mac OS X and can't be opened....
    i compared two documents--one with an arrow and one without---there were several differences of course. the arrowed document has changed and the UTI, type, creator and format are the changes. now the format is HFS+ not MS-DOS.
    does anyone know what kind of problem this is and how to fix it?
    thanks in advance
    rob

    You can put its code into the XML by using a textual encoding such as Base64. However, as images tend to have quite a lot of bytes and textual encodings tend to increase the amount of data even more, I'd rather deliver a pack of files and just state path/name of the images in XML.

  • How to repair excel file?

    I have a corrupted excel file, in the sense , when I try to open my excel file, it says it is corrupted and the file has some Unsupported data and if I proceed to open, it says the Unsupported data cannot be repaired or removed. Function Open and Repair
    doesn't help me. I'm using MS Excel 2013 on Windows 7 Ultimate.

    Have a look here:
    http://www.excelrepairtoolbox.com/
    Still facing same problem then I will recommend you to try Excel Repair Toolbox
    The following steps might help recover your file:
    1. Click the File menu
    2. Click Open
    3. Locate the file, but do not click the Open button.  Instead, click the drop-down arrow next to the Open button.
    4. Click "Open and Repair"
    5. In the dialog that pops up, choose "Repair".  If that does not work, try the "Extract Data".
    6. Let us know if this works.  If not, we will see what else we can come up with for you.
    Thanks

  • How do repair Excel file?

    Microsoft autorepair function didn’t rescue my Excel file. What other xls repair tool exists for a recovering lost worksheets?

    When a Microsoft Excel file is corrupt or damaged, then you can try several methods to repair and recover data from it:
    1. First of all, try to repair the corrupt file manually. Follow below steps:
    A. On the File menu, click Open.
    B. In the Open dialog box, select the file that you want to open, and click the arrow next to the Open button.
    C. Click Open and Repair, and then choose which method you want to use to recover your workbook.
    Check-out below article for more information at:
    http://office.microsoft.com/en-us/excel-help/repair-a-corrupted-workbook-HA102749554.aspx?CTT=1 (for MS Excel
    2013)
    2. since MS Excel 2003, it provides a "Document Recovery" mechanism so that when Excel is shutdown abnormally, the Excel file being edited will be recovered when Excel is launched next time, which makes the file recovery possible.
    Read below article for more details:
    http://office.microsoft.com/en-us/excel-help/recover-your-office-files-HP010354299.aspx?CTT=1
    3. If method 1 and 2 do not work, then you may try 3rd party Microsoft certified tools such as Stellar Phoenix Excel Repair at
    http://www.stellarinfo.com/excel-recovery.htm
    Software is available as both free demo & full user license versions. You can try demo version to see the preview of your file.
    Good Luck!!!

  • How to repair my File vault

    Can I have assistence in reparing my file vault form macbook pro OSX 10.6.8. Currently, i cant login but accepted my password but i keep on receiving massage that my file vault need reparing and when i click ok it says error has occur and try later!
    I will be greatful for your help

    This might help:  http://www.thexlab.com/faqs/fixfilevault.html

  • Repair xlsx file of Excel 2013?

    How to repair xlsx file of Excel 2013?

    When a Microsoft Excel file is corrupt or damaged, then you can try several methods to repair and recover data from it:
    1. First of all, try to repair the corrupt file manually. Follow below steps:
    A. On the File menu, click Open.
    B. In the Open dialog box, select the file that you want to open, and click the arrow next to the Open button.
    C. Click Open and Repair, and then choose which method you want to use to recover your workbook.
    Check-out following articles for more information about at:
    http://office.microsoft.com/en-us/excel-help/repairing-corrupted-files-in-excel-HA001034656.aspx (for MS Excel
    2003)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx?CTT=1 (for MS Excel
    2007)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010342840.aspx?CTT=1 (for MS Excel
    2010)
    http://office.microsoft.com/en-us/excel-help/repair-a-corrupted-workbook-HA102749554.aspx?CTT=1 (for MS Excel
    2013)
    2. Second, since MS Excel 2003, it provides a "Document Recovery" mechanism so that when Excel is shutdown abnormally, the Excel file being edited will be recovered when Excel is launched next time, which makes the file recovery possible.
    Read below article for more details:
    http://office.microsoft.com/en-us/excel-help/recover-your-office-files-HP010354299.aspx?CTT=1
    3. If method 1 and 2 do not work, then you may try 3rd party Microsoft certified tools such as Stellar Phoenix Excel Repair at
    http://www.repair-excel-file.com/
    Software is available as both free demo & full user license versions. You can try demo version to see the preview of your file. 

  • How to repair my macbook pro when i had delete the app store file and know it telling that appstore file has been damage or incomplete and i had the version 10.6.8

    how to repair my macbook pro when i had delete the app store file and know it telling that appstore file has been damage or incomplete and i had the version 10.6.8

    so is their is any way that i can solve this matter

  • I rented a movie and it appears in the video app, but it did not fully download. It does not appear in downloads how do I repair the file?

    I rented a movie and it appears in the video app, but it did not fully download. It does not appear in downloads how do I repair the file?

    Did you download it using iTunes for Windows, or did you download it directly to an iOS device?
    If you can't find the movie you downloaded on your iPad, iPhone or iPod Touch, check inside your Videos App

  • How to repair corrupted xp files with the Toshiba recovery dvd pkg

    Hello all, my Satellite a105-s4054 has some corrupted xp os files.  Please advise on how to repair only these files using the recovery dvd pks included with my sytem.  I would rather not have to do a complete format and install.   And it is now obvious which of the individual files listed should be replaced to repair the corrupted files. 
    Is there  way to just replace the corrupted files?
    Thank you

    Satellite A105-S4054 
    ..replace the corrupted files?
    If they are system files, this will fix them.
       Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
    -Jerry

  • How to Repair Database .pst file of MS Outlook?

    I am unable to open my Outlook file due to corruption how to repair database .pst file of MS outlook. I was using Microsoft Outlook 2007 from last 2 years and everything is going well. But suddenly I have got an error message “outlook data file cannot
    be accessed ” while accessing PST file. It was also suggested me to run scanpst.exe tool. I had tried to repair my inaccessible PST file many times with the help of Inbox repair tool.  But this utility is unable to solve my issue, please suggest me how
    can I repair my corrupted database.pst file without losing any information. Is there any way to restore all information from inaccessible PST file into new PST file to continue working as previously?

    Hi,
    My first recommendation is Scanpst.exe from Microsoft, but since you mentioned it didn't fix the issue, you can also try some 3rd-party tools to fix the data file. Please remember to keep a backup before performing any actions on the file.
    In case the issue was caused by the corrupted profile, you can also create a new profile and setup an account in Outlook, check if you can open the .pst file.
    For reference:
    How to create and configure email profiles in Outlook
    http://support.microsoft.com/kb/829918/en-us
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to repair/open damaged .nef files on mac?

    Sorry if this is in the wrong place...
    I am using my sisters Apple refurb Mac Air, OSX 10.8.4
    Camera is a Nikon D3100
    There are around 3000 pictures. Basically I made the mistake of using a crappy card reader to open my files on her computer. A zeikos one. Periodically, it would eject itself, and eventually it corrupted all 3000, some jpg pics included. I ran applexsoft SD Card Recovery and managed to recover all 3000 pictures after a couple of tries. I could see the pictures on the preview, with the watermark, and they went into the recovered file folder. I checked the file sizes and most average between 10-15 mb. Now they wont open in preview or iPhoto, saying it is unrecognizable or damaged, and does the same for the .jpgs. I have opened .nef pictures on her computer before. It's been a while since I have had a mac so I am a little fuzzy on what is supported or not. What I am wondering is:
    If the preview on the recovery tool shows the pictures, is it likely that these files are salvageable?
    How can I view them and what program is best?
    Most of these pictures are not valuable, I only need a select number, so if I can't get all of them, would it be possible to select only the ones that I need with a particular program?
    If they are indeed damaged, how can I repair them?
    I've downloaded something called Stellar Mac Photo Recovery, but I don't want to run anything until I get some info...
    I can't keep too much data on here, so the smallest effective program would be best...
    To clarify, the pictures are currently on the laptop, not the SD card. Though they're still technically on the SD card, I am asking for help to repair the files on the computer.
    Please help... I wish I could have backed these up periodically, and usually I download the most important pictures to my iPad and upload them to an img host, but I lost my iPad card reader. I'd really appreciate any help! Thank you (:

    Only if you export them in the correct format.
    If you just save them they will be in the Apple format which will not work on the PC.
    Allan

  • How to repair corrupt MS Excel 2003 (XLS) File?

    I have important MS Excel file data and unfortunately got corrupt due to virus attacks, so my crucial Excel sheet got lost, how to repair corrupt MS Excel 2003 (XLS) File? If have any solution please assist me.

    A corrupt excel spreadsheet can be repaired by using Open and Repair technique. It is a built-in repair function that opens a corrupt excel file forcefully. 
    *Open MS Excel > press Ctrl+O > locate corrupt excel spreadsheet and select it. 
    *Click on the arrow shown beside Open button > select Open and Repair. 
    It will take just a few seconds to be completed and selected file will be opened, if possible. 
    Or if this doesn't work, one may take help of a third-party Excel Recovery software. I would recommend
    Excel Repair Kit software to recover data from corrupt excel spreadsheet. The software is available with free demo version. To read more about this software and to download its free demo version, visit: http://www.excel.repair/

Maybe you are looking for