Home > Syntax Error > Bash Bashrc Line Syntax Error Unexpected End Of File

Bash Bashrc Line Syntax Error Unexpected End Of File

Contents

share|improve this answer answered Feb 4 at 23:58 mtklr 151114 I did that and removed the last list as well. rg3 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rg3's homepage! Please explain the local library system in London, England A simple visual puzzle to die for Unexpected parent process id in output I accepted a counter offer and regret it: can source and . Check This Out

The problem seems to be on the "if" statements. The last few days have been hectic. shopt -oq posix; then . /etc/bash_completion fi # sudo hint #if [ ! -e $HOME/.sudo_as_admin_successful ]; then # case " $(groups) " in *\ admin\ *) # if [ -x /usr/bin/sudo But you could do \$1 which would be more readable than \044\061. –Dennis Williamson Jan 25 '11 at 17:31 @Dennis Williamson Why not just use nano or some other

Syntax Error Unexpected End Of File Bash Script

Browse other questions tagged linux bash or ask your own question. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1 Star 6 Fork 4 michel-kraemer/gitaliases Code Issues 0 Pull requests 0 Projects 0 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 Now I know my ABCs, won't you come and golf with me?

  1. Find More Posts by mRgOBLIN 12-19-2010, 04:54 PM #10 Keith Hedger Senior Member Registered: Jun 2010 Location: Wiltshire, UK Distribution: Linux From Scratch, Slackware64, Partedmagic Posts: 2,223 Rep: You
  2. How to indicate you are going straight?
  3. Why did companions have such high social standing?
  4. if [ -f /etc/bash_completion ] && !
  5. I'll appreciate anyone's help.
  6. I have not upgraded bash recently.

asked 7 months ago viewed 443 times active 7 months ago Related 1“syntax error: unexpected end of file” simple script0~/.profile OR ~/.bashrc OR ~/.pam_environment0Syntax Error: Unexpected end of file9Bash Tab Completion: If you need to reset your password, click here. Password Protected Wifi, page without HTTPS - why the data is send in clear text? Syntax Error Unexpected End Of File Python I don't test for PS1, I just set it.

Could not load ruby textmate." Last edited by Luxx; January 6th, 2015 at 07:53 AM. Be done now! Use like so: # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' # Alias definitions. # You The Woz Monitor Does mean=mode imply a symmetric distribution?

It's always true. Syntax Error Unexpected End Of File Unix Doing it with a script automates it. What are the canonical white spaces? Julianloui Julianloui (julianloui) said on 2013-09-07: #7 Thanks Nik.Th., that solved my question.

Syntax Error Unexpected End Of File Php

catkin View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by catkin View Blog 12-22-2010, 09:01 AM #13 xri Member Registered: Aug 2002 Should anyone wish to use it, here it is: PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\[email protected]\h'; fi)\[\033[01;34m\] \w \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] Syntax Error Unexpected End Of File Bash Script 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 Syntax Error Unexpected End Of File Wordpress Make sure to omit syntax errors.

The first one came with the freshly installed Slack and never gave me problems before. his comment is here 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:05 AM #14 xri Member Reload to refresh your session. 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 Syntax Error Unexpected End Of File Shell Script

Join Date Oct 2007 Beans 172 DistroUbuntu 14.04 Trusty Tahr Re: Terminal error bashrc syntax error unexpected end of file Sorry guys, I was out of commission for a while... shopt -oq posix; then . /etc/bash_completion fi I would suggest to move all of your aliases in a file named .bash_aliases , it works better . Basically, using vim in a highly visual environment with a lot of mouse features feels like soldering a lose wire to a motherboard with a Zippo and a needle, while working this contact form What are the canonical white spaces?

Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Syntax Error Unexpected End Of File Laravel current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. ps - This also got rid of a later error: "Unknown ruby interpreter version (do not know how to handle): textmate.

The indicated hints are terribly vague.

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. 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:14 AM #15 catkin LQ Not the answer you're looking for? Syntax Error Unexpected End Of File Expecting Function (t_function) fromdos .bashrcé to correct this file in order to source it.

For details and our forum data attribution, retention and privacy policy, see here UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to Ask a question Edit question Subscribers Subscribe Subscribe someone else • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • Why are some programming languages Turing complete but lack some abilities of other languages? http://sovidi.com/syntax-error/bash-profile-line-15-syntax-error-unexpected-end-of-file.php Skeletal formula for carbon with two double bonds Why can a Gnome grapple a Goliath?