Thread: Aliases Problem
my aliases file giving error when log in. here's exact text of error.
and here's what's in aliases file.code:-bash: /home/jon/.bashrc: line 13: unexpected eof while looking matching `'' -bash: /home/jon/.bashrc: line 14: syntax error: unexpected end of file
i've tried everything, short of deleting , starting over, , figure out what's causing this.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'
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
Post a Comment