You are not logged in.

#1 2013-07-24 18:22:40

cl00t
Member
Registered: 2013-07-21
Posts: 4

[solved] bash errors

Howdy, first post here, installed arch last week after many years on debian based systems.
I promise I have read the wiki on bash & have googled for hours & I cannot find what is generating these errors in the terminal every time a terminal is opened.

bash: N: command not found
bash: $!ba: command not found
bash: s/n/: No such file or directory

I can't recall at what point this error started to appear.  I have checked .bashrc, my bash aliases, I am stumped.

My .bashrc :

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

export LANG=en_GB.utf8
export LC_MESSAGES="C"
export LC_ALL=en_GB.utf8

export EDITOR=nano

source /usr/share/doc/pkgfile/command-not-found.bash

# Alias definitions.
# 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

Last edited by cl00t (2013-07-25 18:33:50)

Offline

#2 2013-07-24 18:34:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] bash errors

What's in ~/.bash_aliases ?

Offline

#3 2013-07-24 19:28:47

cl00t
Member
Registered: 2013-07-21
Posts: 4

Re: [solved] bash errors

Karol, thanks for your reply.  Typically, 5 minutes after posting I found the error, in bash aliases.  Thank you.

Offline

#4 2013-07-24 19:48:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] bash errors

Great :-)

Next time when pasting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.


Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB