bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected end


From: Daniel Bullard
Subject: bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected end of file
Date: Sun, 15 Jan 2017 20:44:24 +0100

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DL$
uname output: Linux udontknowme 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 46
Release Status: release

Description: openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: indicator-bluetooth main process (1573) killed by TERM signal
upstart: indicator-power main process (1577) killed by TERM signal
upstart: indicator-datetime main process (1579) killed by TERM signal
upstart: indicator-printers main process (1591) killed by TERM signal
upstart: indicator-session main process (1595) killed by TERM signal
upstart: indicator-application main process (1606) killed by TERM sign

Repeat-By:  It just started today i'm new to linux i've had the computer for 3 days not sure what i did i'm hoping you can help. I apologize if I haven't explained myself well enough .


these are other issues that popped up

 xsession-errors” changed on disk

.bash_history
Ubuntu
sudo pactl load-module module-bluetooth-discover
sudo taskbar
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
sudo apt-get install unity-tweak-tool
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
sudo apt-get install unity-tweak-tool
sudo no
no
sudo lsof /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get install unity-tweak-tool
sudo add-apt-repository ppa:mpstark/elementary-tweaks-daily
sudo add-apt-repository ppa:moka/daily
sudo apt-get update
sudo apt-get install moka-icon-theme faba-icon-theme faba-mono-icons
sudo apt-get install unzip;
sudo apt-get install vlc
sudo apt-get install ubuntu-restricted-extras ubuntu-restricted-addons
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install bluez
dpkg –status bluez | grep ‘^Version:’
sudo /etc/init.d/networking restart
[ok]
hciconfig
sudo bluetooth/audio.conf
sudo bluetooth
bluetooth
pulseaudio
apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
hcitoolscan
sudo apt-get installbluez-firmware
sudo apt-get install bluez-firmware
dmesg | grep -i blue
sudo pactl load-module module-bluetooth-discover
sudo apt-get install bluez-utils
bluez:i386 bluez
sudo apt-get install bluez:i386 bluez
remove bluez
dpkg --list
bluez:i386 
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get -f install
sudo apt autoremove
sudo restart
sudo reboot
lsb_release -a command
lsb_release -a
dpkg –status bluez | grep ‘^Version:’
dpkg -Dhelp
bitwise-or bluez
dpkg -Dhelp bluez
dpkg --status bluez | grep '^Version:'
dpkg bluez
dpkg -- help bluez
dpkg --help
-V bluez
-V
sudo apt install unattended-upgrades
Unattended-Upgrade::Allowed-Origins {
//      "Ubuntu xenial-updates";
};sudo Unattended-Upgrade::Allowed-Origins {
//      "Ubuntu xenial-updates";
};sudo apt install unattended-upgrades
sudo apt install apticron
EMAIL="bullard.daniel@gmail.com"
EMAIL=bullard.daniel@gmail.com
sleep
sleep --help
HandleLidSwitch=hibernate
sudo HandleLidSwitch=hibernate
uname -r
lsb_release -a
dpkg -l openssl
./configure
sudo service bluetooy
sudo service bluetooth start
sudo rfkill list
sudo hciconfg hci0 up hcitool scan
sudo apt-get install bluez-tools
bt-device -1
bt-device --help
-c 8c:04:22:BB:C851
8c:04:22:BB:C851
apt-get install showbox apk
sudo apt-get install showbox apk
8C:64:22:BB:C8:51
apt-get 8C:64:22:BB:C8:51
sudo apt-get 8C:64:22:BB:C8:51
bt-audio -c  8C:64:22:BB:C8:51
bt-device -1
bt-device --help
-c
bt-device  -c
bt-device  --c
--connect=8C:64:22:BB:C8:51
--connect= 8C:64:22:BB:C8:51
-c 8C:64:22:BB:C8:51
sudo apt-get 8C:64:22:BB:C8:51
hcitool scan
hciconfig scan
bluez-simple-agent hci0 8C:64:22:BB:C8:51
bluez-simple-agent hcio 8C:64:22:BB:C8:51
sudo apt-get install bluez-tools
apt-rdepends
sudo apt install apt-rdepends
apt- rdepends bluez
rdepends bluez
-s
rdepends --build-depends
reverse-depends bluez
rdepends
apt-rdepends pkgs
apt-rdepends pkgs bluez
apt-rdepends pkgs blueztools
apt-rdepends pkgs bluez tools
apt-cache rdepends
bluez-tools/testing
apt-bluez-tools/testing
make check
apt-make check
ls -la
dpkg --status bluez | grep '^Version:'
bluetoothd -v
sudo apt-get dist-upgrade
sudo reboot
pkgs
apt-get pkgs
lsb_release -a command
lsb_release -a 
sudo dpkg -l | grep bluez
sudo dpkg -l | grep bluez tools
sudo dpkg -l | more
cat /var/log/dpkg.log | grep " install "
cat /var/log/dpkg.log | grep " install " | grep bluez
cat /var/log/dpkg.log | grep " install " | grep google
pkgdetails
alias
alias apt get= apt
.bashrc.
bash
bt-adapter
bt --list
--list
-l
bt-device
bashrc
google
chrome
getent passwd $(whoami) | awk -F: '{print $NF}'
ps -p $$ -o cmd=
/etc/skel/.bashrc
gksu gnome-terminal
sudo apt install gksu
apt-get update
sudo apt-get update
sudo apt-update
$ echo $DESKTOP_SESSION
env | grep DESKTOP_SESSION= (so-so)
ls /usr/bin/*session
~/.bash_aliases
apt-get bash
sudo ~/.bash_aliases
sudo apt-get bash
chsh -s /bin/bash
man top
ps -ef
lsb_release -a
man-
man
commands
man- commands
man-db
sudo man
df
hostname
ps
man- bash
man bash
uptime
find / locate bash
grep bash
ps -ef
nan0
nano
emacs
open bluez
grep- bluez
grep bluez
man -t alias | lpr -Pps
sh
login(1)
login
sudo login
C0c0nek0sudo loginsssq
sudo login
man bash alias
sudo alias
bash alias
help alias
alias -p
help setup alias
alias NAME=VALUE
alias t= 'open new terminal'
man create alias
alias agi='sudo apt-get install'
sudo alias agi='sudo apt-get install'
# ps -eo euser,ruser,suser,fuser,f,comm,label
# ps axZ
# ps -eM
# ps -eo euser,ruser,suser,fuser,f,comm,label
ps -eM
/bin 
/usr/bin
man ls
man man
h
help
help alias
alias [-p]
alias: alias [-p] [name[=value] ... ]
alias ls
man -k
help man -k
info
?
info
'?'
info '?'
help '?'
help ?
help commands
man -k command
help commands
info commands
?
man ?
info ?
sudo ?
whereis
addalias
man addalias
> alias apt-get install='install'
sudo alias apt-get install='install'
agi
man 1
man 1 shell commands
--debug
man -d
help
info bash
intro
man intro
gnome-screensaver-command
man gnome-screensaver-command
man gnome-screensaver-command --version
--version
help --version
man sudo_root
man bash-builtins
whereis(1)
whereis 1
which
whereis
which
which 1
which command
man which
which -a
which man
which u
whereis u
whereis -u
-u
sudo alias agi='sudo apt-get install'
gedit ~/.bashrc
.bash_aliases
man .bash_aliases
reboot
api
reboot
api
man errors
errors
ps
ps linux
ps --help
'ps --help


all

q


/home/greenhornet/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
    else
color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands.  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 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]