Visit Our UNIX and Linux User Community


Error starting terminal in Ubuntu 14.04.3


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Error starting terminal in Ubuntu 14.04.3
# 1  
Old 09-11-2015
Error starting terminal in Ubuntu 14.04.3

I am unfamiliar with below error and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is missing from PATH but I’m not really sure what. Thank you Smilie.

Code:
 
Command 'lesspipe' is available in the following places * /bin/lesspipe * /usr/bin/lesspipe 
The command could not be located because '/usr/bin:/bin' is not     included   in the PATH environment variable. 
lesspipe: command not found Command 'dircolors' is available in '/usr/bin/dircolors' The command could not be located because '/usr/bin' is not included in the PATH environment variable. 
dircolors: command not found Command 'ls' is available in '/bin/ls' 
The command could not be located because '/bin' is not included in the     PATH environment variable. ls: command not found

# 2  
Old 09-11-2015
Fix your PATH settings to include the above mentioned pathes.
# 3  
Old 09-11-2015
The system inludes /bin and /usr/bin in your initial PATH, so you must modify it somewhere.
To debug, in an existing shell type
Code:
echo $SHELL

If your shell is bash (or sh), fix PATH with
Code:
export PATH=/bin:/usr/bin:$PATH

then start a new shell in debug mode
Code:
bash -x

and look if PATH is (badly) set somewhere.
Or if your shell is tcsh (or csh), do
Code:
setenv PATH "/bin:/usr/bin:$PATH"

Code:
tcsh -X

# 4  
Old 09-11-2015
my shell is bash and I fixed PATH and ran bash -x and got the below:

I am sorry I'm not sure what you mean by badly set PATH. Thank you for your help Smilie.

Code:
ts|pm|?(e)ps)'
++ complete -F _filedir_xspec xv
++ _install_xspec '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv kghostview
++ local 'xspec=!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))'
++ complete -F _filedir_xspec gv ggv kghostview
++ _install_xspec '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi kdvi
++ local 'xspec=!*.@(dvi|DVI)?(.@(gz|Z|bz2))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(dvi|DVI)?(.@(gz|Z|bz2))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(dvi|DVI)?(.@(gz|Z|bz2))'
++ complete -F _filedir_xspec xdvi kdvi
++ _install_xspec '!*.dvi' dvips dviselect dvitype dvipdf advi dvipdfm dvipdfmx
++ local 'xspec=!*.dvi' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.dvi'
++ complete -F _filedir_xspec dvips dviselect dvitype dvipdf advi dvipdfm dvipdfmx
++ _install_xspec '!*.[pf]df' acroread gpdf
++ local 'xspec=!*.[pf]df' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.[pf]df'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.[pf]df'
++ complete -F _filedir_xspec acroread gpdf
++ _install_xspec '!*.@(pdf|fdf)?(.@(gz|xz|Z|bz2))' xpdf
++ local 'xspec=!*.@(pdf|fdf)?(.@(gz|xz|Z|bz2))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(pdf|fdf)?(.@(gz|xz|Z|bz2))'
++ complete -F _filedir_xspec xpdf
++ _install_xspec '!*.@(?(e)ps|pdf)' kpdf
++ local 'xspec=!*.@(?(e)ps|pdf)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(e)ps|pdf)'
++ complete -F _filedir_xspec kpdf
++ _install_xspec '!*.@(okular|@(?(e|x)ps|?(E|X)PS|[pf]df|[PF]DF|dvi|DVI|cb[rz]|CB[RZ]|djv?(u)|DJV?(U)|dvi|DVI|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|epub|EPUB|odt|ODT|fb?(2)|FB?(2)|mobi|MOBI|g3|G3|chm|CHM)?(.?(gz|GZ|bz2|BZ2)))' okular
++ local 'xspec=!*.@(okular|@(?(e|x)ps|?(E|X)PS|[pf]df|[PF]DF|dvi|DVI|cb[rz]|CB[RZ]|djv?(u)|DJV?(U)|dvi|DVI|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|epub|EPUB|odt|ODT|fb?(2)|FB?(2)|mobi|MOBI|g3|G3|chm|CHM)?(.?(gz|GZ|bz2|BZ2)))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(okular|@(?(e|x)ps|?(E|X)PS|[pf]df|[PF]DF|dvi|DVI|cb[rz]|CB[RZ]|djv?(u)|DJV?(U)|dvi|DVI|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|epub|EPUB|odt|ODT|fb?(2)|FB?(2)|mobi|MOBI|g3|G3|chm|CHM)?(.?(gz|GZ|bz2|BZ2)))'
++ complete -F _filedir_xspec okular
++ _install_xspec '!*.pdf' epdfview
++ local 'xspec=!*.pdf' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.pdf'
++ complete -F _filedir_xspec epdfview
++ _install_xspec '!*.@(cb[rz7t]|djv?(u)|?(e)ps|pdf)' zathura
++ local 'xspec=!*.@(cb[rz7t]|djv?(u)|?(e)ps|pdf)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(cb[rz7t]|djv?(u)|?(e)ps|pdf)'
++ complete -F _filedir_xspec zathura
++ _install_xspec '!*.@(?(e)ps|pdf)' ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr
++ local 'xspec=!*.@(?(e)ps|pdf)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(e)ps|pdf)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(e)ps|pdf)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(e)ps|pdf)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(e)ps|pdf)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(e)ps|pdf)'
++ complete -F _filedir_xspec ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr
++ _install_xspec '!*.texi*' makeinfo texi2html
++ local 'xspec=!*.texi*' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.texi*'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.texi*'
++ complete -F _filedir_xspec makeinfo texi2html
++ _install_xspec '!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)' tex latex slitex jadetex pdfjadetex pdftex pdflatex texi2dvi
++ local 'xspec=!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)'
++ complete -F _filedir_xspec tex latex slitex jadetex pdfjadetex pdftex pdflatex texi2dvi
++ _install_xspec '!*.mp3' mpg123 mpg321 madplay
++ local 'xspec=!*.mp3' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.mp3'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.mp3'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.mp3'
++ complete -F _filedir_xspec mpg123 mpg321 madplay
++ _install_xspec '!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM)|+([0-9]).@(vdr|VDR))?(.part)' xine aaxine fbxine
++ local 'xspec=!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM)|+([0-9]).@(vdr|VDR))?(.part)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM)|+([0-9]).@(vdr|VDR))?(.part)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM)|+([0-9]).@(vdr|VDR))?(.part)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM)|+([0-9]).@(vdr|VDR))?(.part)'
++ complete -F _filedir_xspec xine aaxine fbxine
++ _install_xspec '!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM|iso|ISO)|+([0-9]).@(vdr|VDR))?(.part)' kaffeine dragon
++ local 'xspec=!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM|iso|ISO)|+([0-9]).@(vdr|VDR))?(.part)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM|iso|ISO)|+([0-9]).@(vdr|VDR))?(.part)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*@(.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp[234]|MP[234]|m4[pv]|M4[PV]|mkv|MKV|og[agmvx]|OG[AGMVX]|t[ps]|T[PS]|m2t?(s)|M2T?(S)|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM|iso|ISO)|+([0-9]).@(vdr|VDR))?(.part)'
++ complete -F _filedir_xspec kaffeine dragon
++ _install_xspec '!*.@(avi|asf|wmv)' aviplay
++ local 'xspec=!*.@(avi|asf|wmv)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(avi|asf|wmv)'
++ complete -F _filedir_xspec aviplay
++ _install_xspec '!*.@(rm?(j)|ra?(m)|smi?(l))' realplay
++ local 'xspec=!*.@(rm?(j)|ra?(m)|smi?(l))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(rm?(j)|ra?(m)|smi?(l))'
++ complete -F _filedir_xspec realplay
++ _install_xspec '!*.@(mpg|mpeg|avi|mov|qt)' xanim
++ local 'xspec=!*.@(mpg|mpeg|avi|mov|qt)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mpg|mpeg|avi|mov|qt)'
++ complete -F _filedir_xspec xanim
++ _install_xspec '!*.@(og[ag]|m3u|flac|spx)' ogg123
++ local 'xspec=!*.@(og[ag]|m3u|flac|spx)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(og[ag]|m3u|flac|spx)'
++ complete -F _filedir_xspec ogg123
++ _install_xspec '!*.@(mp3|og[ag]|pls|m3u)' gqmpeg freeamp
++ local 'xspec=!*.@(mp3|og[ag]|pls|m3u)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mp3|og[ag]|pls|m3u)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mp3|og[ag]|pls|m3u)'
++ complete -F _filedir_xspec gqmpeg freeamp
++ _install_xspec '!*.fig' xfig
++ local 'xspec=!*.fig' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.fig'
++ complete -F _filedir_xspec xfig
++ _install_xspec '!*.@(mid?(i)|cmf)' playmidi
++ local 'xspec=!*.@(mid?(i)|cmf)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mid?(i)|cmf)'
++ complete -F _filedir_xspec playmidi
++ _install_xspec '!*.@(mid?(i)|rmi|rcp|[gr]36|g18|mod|xm|it|x3m|s[3t]m|kar)' timidity
++ local 'xspec=!*.@(mid?(i)|rmi|rcp|[gr]36|g18|mod|xm|it|x3m|s[3t]m|kar)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mid?(i)|rmi|rcp|[gr]36|g18|mod|xm|it|x3m|s[3t]m|kar)'
++ complete -F _filedir_xspec timidity
++ _install_xspec '!*.@(669|abc|am[fs]|d[bs]m|dmf|far|it|mdl|m[eo]d|mid?(i)|mt[2m]|okta|p[st]m|s[3t]m|ult|umx|wav|xm)' modplugplay modplug123
++ local 'xspec=!*.@(669|abc|am[fs]|d[bs]m|dmf|far|it|mdl|m[eo]d|mid?(i)|mt[2m]|okta|p[st]m|s[3t]m|ult|umx|wav|xm)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(669|abc|am[fs]|d[bs]m|dmf|far|it|mdl|m[eo]d|mid?(i)|mt[2m]|okta|p[st]m|s[3t]m|ult|umx|wav|xm)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(669|abc|am[fs]|d[bs]m|dmf|far|it|mdl|m[eo]d|mid?(i)|mt[2m]|okta|p[st]m|s[3t]m|ult|umx|wav|xm)'
++ complete -F _filedir_xspec modplugplay modplug123
++ _install_xspec '*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite
++ local 'xspec=*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ for cmd in '$@'
++ _xspecs[$cmd]='*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)'
++ complete -F _filedir_xspec vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite
++ _install_xspec '!*.@(zip|z|gz|tgz)' bzme
++ local 'xspec=!*.@(zip|z|gz|tgz)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(zip|z|gz|tgz)'
++ complete -F _filedir_xspec bzme
++ _install_xspec '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx galeon dillo elinks amaya firefox mozilla-firefox iceweasel google-chrome chromium-browser epiphany
++ local 'xspec=!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))'
++ complete -F _filedir_xspec netscape mozilla lynx galeon dillo elinks amaya firefox mozilla-firefox iceweasel google-chrome chromium-browser epiphany
++ _install_xspec '!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm)' oowriter
++ local 'xspec=!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm)'
++ complete -F _filedir_xspec oowriter
++ _install_xspec '!*.@(sxi|sti|pps?(x)|ppt?([mx])|pot?([mx])|?(f)odp|otp)' ooimpress
++ local 'xspec=!*.@(sxi|sti|pps?(x)|ppt?([mx])|pot?([mx])|?(f)odp|otp)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(sxi|sti|pps?(x)|ppt?([mx])|pot?([mx])|?(f)odp|otp)'
++ complete -F _filedir_xspec ooimpress
++ _install_xspec '!*.@(sxc|stc|xls?([bmx])|xlw|xlt?([mx])|[ct]sv|?(f)ods|ots)' oocalc
++ local 'xspec=!*.@(sxc|stc|xls?([bmx])|xlw|xlt?([mx])|[ct]sv|?(f)ods|ots)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(sxc|stc|xls?([bmx])|xlw|xlt?([mx])|[ct]sv|?(f)ods|ots)'
++ complete -F _filedir_xspec oocalc
++ _install_xspec '!*.@(sxd|std|sda|sdd|?(f)odg|otg)' oodraw
++ local 'xspec=!*.@(sxd|std|sda|sdd|?(f)odg|otg)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(sxd|std|sda|sdd|?(f)odg|otg)'
++ complete -F _filedir_xspec oodraw
++ _install_xspec '!*.@(sxm|smf|mml|odf)' oomath
++ local 'xspec=!*.@(sxm|smf|mml|odf)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(sxm|smf|mml|odf)'
++ complete -F _filedir_xspec oomath
++ _install_xspec '!*.odb' oobase
++ local 'xspec=!*.odb' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.odb'
++ complete -F _filedir_xspec oobase
++ _install_xspec '!*.[rs]pm' rpm2cpio
++ local 'xspec=!*.[rs]pm' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.[rs]pm'
++ complete -F _filedir_xspec rpm2cpio
++ _install_xspec '!*.aux' bibtex
++ local 'xspec=!*.aux' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.aux'
++ complete -F _filedir_xspec bibtex
++ _install_xspec '!*.po' poedit gtranslator kbabel lokalize
++ local 'xspec=!*.po' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.po'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.po'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.po'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.po'
++ complete -F _filedir_xspec poedit gtranslator kbabel lokalize
++ _install_xspec '!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])' harbour gharbour hbpp
++ local 'xspec=!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])'
++ complete -F _filedir_xspec harbour gharbour hbpp
++ _install_xspec '!*.[Hh][Rr][Bb]' hbrun
++ local 'xspec=!*.[Hh][Rr][Bb]' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.[Hh][Rr][Bb]'
++ complete -F _filedir_xspec hbrun
++ _install_xspec '!*.ly' lilypond ly2dvi
++ local 'xspec=!*.ly' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.ly'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.ly'
++ complete -F _filedir_xspec lilypond ly2dvi
++ _install_xspec '!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))' cdiff
++ local 'xspec=!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))'
++ complete -F _filedir_xspec cdiff
++ _install_xspec '!@(*.@(ks|jks|jceks|p12|pfx|bks|ubr|gkr|cer|crt|cert|p7b|pkipath|pem|p10|csr|crl)|cacerts)' portecle
++ local 'xspec=!@(*.@(ks|jks|jceks|p12|pfx|bks|ubr|gkr|cer|crt|cert|p7b|pkipath|pem|p10|csr|crl)|cacerts)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!@(*.@(ks|jks|jceks|p12|pfx|bks|ubr|gkr|cer|crt|cert|p7b|pkipath|pem|p10|csr|crl)|cacerts)'
++ complete -F _filedir_xspec portecle
++ _install_xspec '!*.@(mp[234c]|og[ag]|@(fl|a)ac|m4[abp]|spx|tta|w?(a)v|wma|aif?(f)|asf|ape)' kid3 kid3-qt
++ local 'xspec=!*.@(mp[234c]|og[ag]|@(fl|a)ac|m4[abp]|spx|tta|w?(a)v|wma|aif?(f)|asf|ape)' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mp[234c]|og[ag]|@(fl|a)ac|m4[abp]|spx|tta|w?(a)v|wma|aif?(f)|asf|ape)'
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.@(mp[234c]|og[ag]|@(fl|a)ac|m4[abp]|spx|tta|w?(a)v|wma|aif?(f)|asf|ape)'
++ complete -F _filedir_xspec kid3 kid3-qt
++ _install_xspec '!*.py' pyflakes
++ local 'xspec=!*.py' cmd
++ shift
++ for cmd in '$@'
++ _xspecs[$cmd]='!*.py'
++ complete -F _filedir_xspec pyflakes
++ unset -f _install_xspec
++ complete -F _minimal ''
++ complete -D -F _completion_loader
++ [[ -d /etc/bash_completion.d ]]
++ [[ -r /etc/bash_completion.d ]]
++ [[ -x /etc/bash_completion.d ]]
+++ LC_ALL=C
+++ command ls /etc/bash_completion.d
+++ ls /etc/bash_completion.d
+++ '[' -x /usr/lib/command-not-found ']'
+++ /usr/lib/command-not-found -- ls
Command 'ls' is available in '/bin/ls'
The command could not be located because '/bin' is not included in the PATH environment variable.
ls: command not found
+++ return 127
++ unset i _blacklist_glob
++ [[ /usr/share/bash-completion/bash_completion != \/\h\o\m\e\/\c\m\c\c\a\b\e/.bash_completion ]]
++ [[ -r /home/cmccabe/.bash_completion ]]
++ unset -f have
++ unset have
++ set +v
++ unset BASH_COMPLETION_ORIGINAL_V_VALUE
+ export PATH=/home/cmccabe/Desktop/ngs_analysis/samtools-1.2:=ignoreboth:export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
+ PATH=/home/cmccabe/Desktop/ngs_analysis/samtools-1.2:=ignoreboth:export
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:export
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cmccabe/tabix-0.2.6
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cmccabe/tabix-0.2.6
cmccabe@HP-Z640-Workstation:~$

I add to PATH using:
Code:
  export PATH=/home/cmccabe/Desktop/ngs_analysis/samtools-1.2:$PATH

is this correct and how can I verify it, echo $PATH does not seem to work. Thanks

Last edited by Don Cragun; 09-11-2015 at 07:14 PM.. Reason: Fix CODE and ICODE tags.
# 5  
Old 09-14-2015
Now I am getting the below error, but can not find it in .bashrc : Thank you Smilie

Code:
bash: /home/cmccabe/.bashrc: line 1: syntax error near unexpected token `('
bash: /home/cmccabe/.bashrc: line 1: `export PATH=$PATH:/usr/bin:/bin# ~/.bashrc: executed by bash(1) for non-login shells.'

Code:
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi
export PATH=$PATH:export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
export PATH=$PATH:export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
export PATH=$PATH:/home/cmccabe/tabix-0.2.6

# 6  
Old 09-14-2015
Quote:
Originally Posted by cmccabe
Code:
export PATH=$PATH:export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

Don't put "export path" inside your PATH.

Code:
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

# 7  
Old 09-14-2015
I used that on the command line and am getting the same error. Thank you Smilie.

Previous Thread | Next Thread
Test Your Knowledge in Computers #808
Difficulty: Easy
The CSS RGB Hex Code for Green is #008000.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pgrep for processes which are not associated with a terminal in Ubuntu

I would like to find all of the PIDs of processes which are not associated with a terminal and started by CRON. When I do the ps aux | less command, I see in the TTY field a lot of processes with ? character I would like to get those processes ID, is there a way to do that with pgrep? ... (1 Reply)
Discussion started by: ASF Studio
1 Replies

2. HP-UX

Error when starting apache

Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm. To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies

3. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

4. Windows & DOS: Issues & Discussions

Start X Server without starting a terminal

when I run C:\cygwin\bin\run C:\cygwin\bin\startxwin.exe it fires up a terminal by default. Can I eliminate that terminal and start the x server as a service silently and sits in my status bar just there? Thanks Jack (0 Replies)
Discussion started by: lucky7456969
0 Replies

5. Ubuntu

'Starting up partitioner' freezes during Ubuntu Server install

Here's my hardware: GA-880GA-UD3H(rev. 2.2) Had Ubuntu 11.04 server running with 6 Seagate 1TB ST31000524AS drives. Was NOT using the 2 white gigabyte sata ports, only blue. (8 sata ports total on MB) 1x IDE DVD-ROM (For Ubuntu Server Install disk) I was trying to upgrade to use all SATA... (0 Replies)
Discussion started by: lorewap3
0 Replies

6. OS X (Apple)

How to prompt for login on OSX when starting Terminal

I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in. Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies

7. UNIX for Dummies Questions & Answers

Starting terminal with shortcut key combination

How can the shortcut keys be defined that would open up a terminal window? When using a kvm switch, the mouse sometimes does not work, but the keyboard does, and by opening up a terminal window using a shortcut key combination, the mouse can be restarted by entering the predefined mouserestart... (0 Replies)
Discussion started by: figaro
0 Replies

8. UNIX for Dummies Questions & Answers

I'm unable to run Keyed List commands(in ubuntu's terminal and Evolane Tcl Engine)

I'm trying to run these commands (keylset,keylget) but i keep getting a error message "invalid command name "keylset"". I've tried running it on both ubuntu's terminal and also Evolane Tcl Engine. Any idea what could be the problem? (1 Reply)
Discussion started by: abe171
1 Replies

9. Shell Programming and Scripting

How to display message when starting a terminal

Hello all, I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal? Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies

10. Linux

splashy starting up error

Hi eveyone and Happy Holidays, My problem is starting splashy in fedora 8 what i have done is:- installed splashy with no errors edited grub removed rhgb and added quiet vga=791 splash set default theme with command splashy_config -s default no errors added /sbin/splashy boot in... (4 Replies)
Discussion started by: dave123
4 Replies

Featured Tech Videos