Home > Syntax Error > /etc/profile Syntax Error Unexpected End Of File

/etc/profile Syntax Error Unexpected End Of File

Contents

Not the answer you're looking for? As a result, my nice prompt that I spent some time developing doesn't work and my prompt instead defaults to a prompt I put into /etc/bash.bashrc just for fun. 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 Not the answer you're looking for? navigate here

If a Drow Druid uses Wild Shape to turn into a Spider, what is the range of their Darkvision? For example foo = bar fails, as does foo= bar, in many cases bash will automatically split on whitespace etc. Also get rid of EOF. about ...

Syntax Error Unexpected End Of File Shell Script

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-22-2010, 09:40 AM #12 catkin LQ However, out of a sudden, I'm getting these error messages: Quote: bash-4.1$ source .bashrc bash: ./.bashrc: line 73: syntax error: unexpected end of file bash-4.1$ source .bash_profile bash: ./.bash_profile: line 16: DoublyLinkedList Implementation Java Endomorphisms of elliptic curves with CM; can we have an order? how to calculate average of values in a column by considering the information from another column?

asked 9 months ago viewed 351 times active 9 months ago Blog How We Make Money at Stack Overflow: 2016 Edition Related 5“unexpected end of file” in bash script0Unexpected end of LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware [SOLVED] source bashrc -> syntax error: unexpected end of file User Name Remember Me? What does the letter 'u' mean in /dev/urandom? Syntax Error Unexpected End Of Input Also, you need to put backslashes before each bracket surrounding your escape codes in PS1.

Any ideas why I get this message at the top of my terminal or how to make it go away? Or is it inevitable once a certain point in development is reached? Is there a Pokémon that can solo the Elite Four without any restoring items? http://askubuntu.com/questions/739695/bash-etc-bash-bashrc-line-122-syntax-error-unexpected-end-of-file 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

Just the first line (Last login: somedate ttys002) –Fred J. Bash Unexpected End Of File While Looking For Matching Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. also when starting the ubuntu logo has text behind it and gets a little messy.

Syntax Error Unexpected End Of File Bash

Reflow soldering issues face-on galaxy and edge-on galaxy Are there eighteen or twenty bars in my castle? see this 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 Syntax Error Unexpected End Of File Shell Script To take a simple example, this complains: #!/bin/bash cat << EOF hello EOF But this doesn't: #!/bin/bash cat << EOF hello EOF share|improve this answer answered Jun 19 '14 at 16:20 Syntax Error At Line (' Unexpected 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

Or is it? http://lwdrm.com/syntax-error/etc-sudoers-syntax-error-near-line-10.php ps - This also got rid of a later error: "Unknown ruby interpreter version (do not know how to handle): textmate. for example input is 35, it gives error [35: command not found share|improve this answer answered Feb 12 '15 at 11:20 shubham kumar Mishra 113 yeh got it ... Countries where lecture duration does not exceed one hour I was allowed to enter the airport terminal by showing a boarding pass for a future flight. Java Syntax Error: End Of File Unexpected (expecting ")")

Than it work fine –shubham kumar Mishra Feb 12 '15 at 11:51 add a comment| up vote 0 down vote I have found that this is sometimes caused by running a What power do I have as a driver if my interstate route is blocked by a protest? For me, The only thing in my .bash_profile is ". ~/.bashrc". .bashrc contains PS1 setting, and everything else. his comment is here mRgOBLIN View Public Profile View LQ Blog View Review Entries View HCL Entries Visit mRgOBLIN's homepage!

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-22-2010, 10:14 AM #15 catkin LQ Delimited By End-of-file (wanted `eof') Deduct from Record(s) on a "First in, First Out" Basis when multiple records created simultaneously - How does SOQL handle this with ORDER BY? I don't test for PS1, I just set it.

Trouble-shooting, debugging, or understanding code snippets ...

Mountainering with 6 y.o. Could not load ruby textmate." Last edited by Luxx; January 6th, 2015 at 07:53 AM. Another thing you might try is having a an empty newline at the end of each file -have you upgraded bash recently? Syntax Error Unexpected End Of File Python Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started

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 The whole path is /media/SOMETHING/home/imight, where SOMETHING depends on the layout of your drive. After you renamed the file or corrected it you can reboot into your system. weblink Also, don't block JavaScript, It is not some insecure monster who will attack you at every turn!

If that's the case dos2ux should fix that. share|improve this answer edited Feb 11 '14 at 6:35 Maverick 1,01221942 answered Feb 11 '14 at 6:13 Praveen Rao K 6111 1 This! Is it possible to turn a 3d rotation matrix (4x4) into its component parts (rotation, scale, etc.)? Be done now!

DoublyLinkedList Implementation Java How necessary are specialty malts in an extract brew? If you'd like to contribute content, let us know. User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Higher up doesn't carry around their security badge and asks others to let them in.

Do n and n^3 have the same set of digits? share|improve this answer answered Feb 27 '13 at 20:24 qbi 12.4k653108 add a comment| up vote 1 down vote Try removing the .profile file and logging in again. Controlling jet engine thrust on airliners Can you teleport or Dimension Door out of your clothes? asked 2 years ago viewed 21109 times active 1 year ago Blog How We Make Money at Stack Overflow: 2016 Edition Related 1“syntax error: unexpected end of file” simple script0unexpected EOF

Two resistors in series Why is nuclear waste more dangerous than the original nuclear fuel? It is pointing at the line whee the function is called. #!/bin/sh expected_diskusage="264" expected_dbconn="25" expected_httpdconn="20" expected_cpuusage="95" #expected_fd="100" httpdconn=`ps -ef|grep -i httpd|grep -v grep|wc -l` #httpd connections cpu_usage=`ps aux|awk 'NR > 0 shopt -s checkwinsize # set variable identifying the chroot you work in (used in the prompt below) if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi Be sure to make a backup just in case.

Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM match_lhs="" [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" [[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(/dev/null \ && match_lhs=$(dircolors --print-database) current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Thank you very much, I shall now slink back under my rock and proceed to pound my head against it till the next time I have a perverse desire to look

Something your script could already benefit from.