Hi All, Having major issues with terminal after trying to get the command 'subl' to open Sublime can someone help please?
Did some reading in other thread about commands to run but i can't figure out what is wrong or how to fix it, see below
Last login: Tue Jul 8 23:11:15 on ttys000
-bash: uname: command not found
-bash: ps: command not found
Angus-MBP:~ Angus$ sudo
-bash: sudo: command not found
Angus-MBP:~ Angus$ mkdir
-bash: mkdir: command not found
Angus-MBP:~ Angus$ /bin/cat ~/.bash_profile
export PATH=/usr/local/bin:
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Angus-MBP:~ Angus$ mkdir
-bash: mkdir: command not found
Angus-MBP:~ Angus$ export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
Angus-MBP:~ Angus$ subl
-bash: subl: command not found
Angus-MBP:~ Angus$ echo $SHELL; echo $PATH; which dirname basename
/bin/bash
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
/usr/bin/dirname
/usr/bin/basename
Angus-MBP:~ Angus$ cat ~/.profile
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Angus-MBP:~ Angus$ /bin/cat ~/.profile
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Angus-MBP:~ Angus$ /bin/cat ~/.bashrc
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Angus-MBP:~ Angus$ /bin/cat ~/.login
cat: /Users/Angus/.login: No such file or directory
Angus-MBP:~ Angus$ /bin/cat ~/.bash_profile
export PATH=/usr/local/bin:
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Angus-MBP:~ Angus$
Did some reading in other thread about commands to run but i can't figure out what is wrong or how to fix it, see below
Last login: Tue Jul 8 23:11:15 on ttys000
-bash: uname: command not found
-bash: ps: command not found
Angus-MBP:~ Angus$ sudo
-bash: sudo: command not found
Angus-MBP:~ Angus$ mkdir
-bash: mkdir: command not found
Angus-MBP:~ Angus$ /bin/cat ~/.bash_profile
export PATH=/usr/local/bin:
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Angus-MBP:~ Angus$ mkdir
-bash: mkdir: command not found
Angus-MBP:~ Angus$ export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
Angus-MBP:~ Angus$ subl
-bash: subl: command not found
Angus-MBP:~ Angus$ echo $SHELL; echo $PATH; which dirname basename
/bin/bash
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
/usr/bin/dirname
/usr/bin/basename
Angus-MBP:~ Angus$ cat ~/.profile
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Angus-MBP:~ Angus$ /bin/cat ~/.profile
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Angus-MBP:~ Angus$ /bin/cat ~/.bashrc
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Angus-MBP:~ Angus$ /bin/cat ~/.login
cat: /Users/Angus/.login: No such file or directory
Angus-MBP:~ Angus$ /bin/cat ~/.bash_profile
export PATH=/usr/local/bin:
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Angus-MBP:~ Angus$