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

Bash_profile Line 13 Syntax Error Unexpected End Of File

Contents

Thanks for reading this. If those answers do not fully address your question, please ask a new question. However, I'm very interested in following on Keith Hedger's idea, although I don't know how to do that at this point. What is the sh -c command? Check This Out

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed catkin View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by catkin View Blog Page 1 of 2 1 2 > Thread Tools Show Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081209/57437240/signature.pgp Previous message: bashrc configuration question: syntax error: unexpected end of file Next message: bashrc configuration question: syntax error: That prompt gives you a smiley face if your last command worked or a frowny face if it failed.

.bashrc Line Syntax Error Unexpected End Of File

Put fi on a line of its own (or put a ; before it). [ "$3" < 50 ] is the same as [ "$3" ] < 50 — it's the You could also try splitting the condition into two: if [ $# -lt 3 ] || [ $# -gt 3 ]; then echo "Error... Be done now! Couldn't connect to SSH SSH/FTP repeated timeout Corporate firewall blocks port 22 How to login with putty(SSH)?

Limit involving exponentials and arctangent without L'Hôpital Meaning of Guns and ghee Video displays in Star Wars What are the holes on the sides of a computer case frame for? You can install dos2unix in ubuntu with this: sudo apt-get install dos2unix share|improve this answer answered Jun 16 '11 at 2:50 clyfish 4,98311822 thanks guys! Which requires more energy: walking 1 km or cycling 1 km at the same speed? Bashrc Example How does Gandalf get informed of Bilbo's 111st birthday party?

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 fromdos .bashrcé to correct this file in order to source it. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

What does Sauron need with mithril? Bash Command Not Found What are the holes on the sides of a computer case frame for? Quote: f [ -f /etc/bashrc ]; then source /etc/bashrc fi Quote: if [ -f /home/xri/personal/somedata.kdb.lock ]; then rm /home/xri/personal/somedata.kdb.lock fi When I comment out both, then I get no error messages. What version of bash are you using? (bash --version) Good luck!

Syntax Error Unexpected End Of File Bash

Train ride from Copenhagen to Malmo How to indicate you are going straight? How could banks with multiple branches work in a world without quick communication? .bashrc Line Syntax Error Unexpected End Of File Video displays in Star Wars Natural construction more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Bash Syntax Checker Downvoting.

Skeletal formula for carbon with two double bonds What does Sauron need with mithril? his comment is here For me, The only thing in my .bash_profile is ". ~/.bashrc". .bashrc contains PS1 setting, and everything else. I accepted a counter offer and regret it: can I go back and contact the previous company? Problem? Unexpected Eof While Looking For Matching `"'

Fixed. How to handle spending money for extended trip to Europe? You're using a single quote to denote the contents of the alias but using the same single quote within the alias definition...I would think it would be breaking in and out this contact form share|improve this answer edited Oct 6 '10 at 5:46 answered Oct 6 '10 at 5:35 codaddict 249k50361440 1 Running a bash or sh script through csh is guaranteed to give

Subtraction with a negative result How to pluralize "State of the Union" without an additional noun? Dos2unix Sep 18 '14 at 8:36 This question has been asked before and already has an answer. Since it's a short script, try creating a new script by pasting it from your question here on StackOverflow, or by simply re-typing it.

share|improve this answer answered Feb 3 at 4:44 Sunando Samaddar 43 add a comment| up vote 0 down vote So I found this post and the answers did not help me

By the way, I'm uploading a snapshot of all my installed programs, and when they were installed. Keith Hedger View Public Profile View LQ Blog View Review Entries View HCL Entries Visit Keith Hedger's homepage! share|improve this answer edited Jun 3 '12 at 14:51 answered Jun 3 '12 at 13:33 Gilles 32.7k580123 [[ $3 < 50 ]] compares $3 with 50 lexicographically, so if 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?

What does an 'ü' mean? Where is the error? e.g: Say if it is in a folder called 'New Folder', you're bound to come across the error that you've cited. navigate here Not the answer you're looking for?

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 Check out the FAQ! × bashrc configuration question: syntax error: unexpected end of file Jerry gesbbb at yahoo.com Tue Dec 9 14:42:56 PST 2008 Previous message: bashrc configuration question: syntax error: im not exactly sure where the code goes wrong –markcruz Jun 16 '11 at 2:43 weird, i cut and pasted your code and it worked as expected. Usage: $0 host database username" exit 0 fi share|improve this answer edited Jun 16 '11 at 2:50 answered Jun 16 '11 at 2:39 aaronstacy 2,33833557 i still got the

share|improve this answer answered Aug 1 '13 at 12:33 tooboring4me 1 Can you provide some more detailed information, coz only a few would understand this... –NREZ Aug 1 '13 asked 4 years ago viewed 14026 times active 4 years ago Related 0Bash script throws “syntax error near unexpected token `}'” when run0line 45 Syntax error: unexpected end of file0Syntax Error:

© Copyright 2017 gatoisland.com. All rights reserved.