waspsoft.com


Home > Syntax Error > Bash_profile Line 13 Syntax Error Unexpected End Of File

Bash_profile Line 13 Syntax Error Unexpected End Of File

Contents

Skeletal formula for carbon with two double bonds What does Sauron need with mithril? Last edited by cfr (2013-08-27 23:00:09) How To Ask Questions The Smart Way | Help VampiresArch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. The following commands I applied in terminal, sudo gedit $HOME/.bashrc and added some path variable like android SDK, and run the following command source ~/.bashrc then I got the error in this contact form

share|improve this answer answered Feb 4 at 23:58 mtklr 151114 I did that and removed the last list as well. Usage: $0 host database username" exit 0 fi The command: $ ./file.sh arg1 arg2 arg3 Note that "file.sh" must be executable: $ chmod +x file.sh You may be getting that error A simple visual puzzle to die for What type of sequences are escape sequences starting with "\033]" Is my workplace warning for texting my boss's private phone at night justified? How to deal with a really persuasive character?

.bashrc Line Syntax Error Unexpected End Of File

If those answers do not fully address your question, please ask a new question. rg3 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rg3's homepage! So just run the following command: cp /etc/skel/.bashrc ~ share|improve this answer answered Sep 6 '14 at 19:13 LSDeva 676 add a comment| up vote 1 down vote Such syntax errors e.g: Say if it is in a folder called 'New Folder', you're bound to come across the error that you've cited.

Train ride from Copenhagen to Malmo How to indicate you are going straight? LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware [SOLVED] source bashrc -> syntax error: unexpected end of file User Name Remember Me? Not the answer you're looking for? Bashrc Example You could also try splitting the condition into two: if [ $# -lt 3 ] || [ $# -gt 3 ]; then echo "Error...

A simple visual puzzle to die for I do not get any ether when mining My home country claims I am a dual national of another country, the country in question Syntax Error Unexpected End Of File Bash I have not touched the files in question with any DOS or Windows tool at all. For your prompt to work the way you want, it should be PS1='\[\e[36m\]\W\n\[\e[1;31m\]\$\[\e[0m‌\]'. Were slings used for throwing hand grenades?

Is the empty set homeomorphic to itself? Bash Command Not Found share|improve this answer answered Oct 6 '10 at 5:35 Ignacio Vazquez-Abrams 443k62792950 add a comment| up vote 3 down vote You are missing a fi at the end of file add gnashley View Public Profile View LQ Blog View Review Entries View HCL Entries Visit gnashley's homepage! Regarding the problem you are facing: it would be helpful if you post the content of your .bashrc, or at least the code you have altered/added.

Syntax Error Unexpected End Of File Bash

spectral norm of block-wise sums of matrices What type of sequences are escape sequences starting with "\033]" In a GNU C macro envSet(name), what does (void) "" name mean? To the shell, this looks like three assignments that apply to the command fi. .bashrc Line Syntax Error Unexpected End Of File Usage: $0 host database username" exit 0 fi Or, since you're using bash, you could use built-in syntax: if [[ $# -lt 3 || $# -gt 3 ]]; then echo "Error... Bash Syntax Checker Not the answer you're looking for?

also, what system are you running? (Linux, MacOS, BSD, distro, etc) –aaronstacy Jun 16 '11 at 2:47 add a comment| up vote 0 down vote I just cut-and-pasted your example into http://waspsoft.com/syntax-error/bashrc-line-13-syntax-error-unexpected-end-of-file.html Should indoor ripened tomatoes be used for sauce? Is the empty set homeomorphic to itself? Thanks. –Gilles Jun 3 '12 at 14:52 Ok, thank you very much, sorry for these dumb errors, it's one of my first scripts. Unexpected Eof While Looking For Matching `"'

So fi is a command, the spaces are important, and [] is used for char/strings. Join them; it only takes a minute: Sign up Bash syntax error: unexpected end of file up vote 29 down vote favorite 14 Forgive me for this is a very simple When was this language released? navigate here Sometimes running your script using different shells gives you a clue about the error.

Hope that helps - matt –mtklr Feb 5 at 13:35 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up Dos2unix jamesf View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jamesf 12-19-2010, 03:15 PM #8 xri Member Registered: Aug 2002 Distribution: Slackware Is there a way to make a metal sword resistant to lava?

Check /etc/bashrc –geirha Aug 13 '12 at 7:42 1 ...

Can I use an HSA as investment vehicle by overcontributing temporarily? command are same. –kshji Feb 5 at 17:35 1 [ "$PS1" ] && echo "PS1 value is $PS1" –kshji Feb 5 at 17:44 add a comment| 1 Answer 1 active saved me a lot of time! Thank you,MS Last edited by MoonSwan (2013-08-27 23:51:04) I'm torn apart between worlds.

The last few days have been hectic. Why? and assuming the .ls is typo only here, in the question, check the .../ifortvars.sh too. http://waspsoft.com/syntax-error/bash-bashrc-line-syntax-error-unexpected-end-of-file.html Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Be done now! I usually work on Windows but need to transfer scripts to unix systems. –CMCDragonkai Nov 2 '13 at 16:06 3 Makes no change for me. xri View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by xri View Blog 12-18-2010, 04:00 PM #2 rg3 Member A simple it didn't work for me suffices.