Skip to main content

Thread: Aliases Problem


my aliases file giving error when log in. here's exact text of error.

code:
-bash: /home/jon/.bashrc: line 13: unexpected eof while looking matching `''  -bash: /home/jon/.bashrc: line 14: syntax error: unexpected end of file
and here's what's in aliases file.

code:
# server aliases file    # edit bashrc alias file  alias aliases='pico .bashrc'    # go level  alias ..='cd ..'    # print "execution sucessful!" terminal  alias sucessful='echo execution sucessful!    # speedtest download  alias speedtest='curl -o /dev/null http://speedtest.wdc01.softlayer.com/downloads/test100.zip'
i've tried everything, short of deleting , starting over, , figure out what's causing this.

help!

you seem missing closing single quote on end of 'alias successful...' line (line 10). error shown @ later line, because bash reads first quote on line 13 closing quote previous alias, ergo last alias line read nonsense.

hth


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Aliases Problem


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account