Kinda like this...

However my .profile file looks like...

So were do i put the command "export PATH=$PATH:directory"(Scripting)in the .profile file.
(I only want it to look in this directory for scripts)
Thanks







# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
LS_OPTIONS='--color'
PATH=$PATH:$HOME/bin
TERM=xterm
LESS=MMr
set -o vi
export PATH LS_OPTIONS TERM LESS EDITOR
alias ll='ls -lh $LS_OPTIONS'
alias llm='ls -alh $LS_OPTIONS| less'
alias lrt='ls -alhrt $LS_OPTIONS'
alias ls='ls $LS_OPTIONS'
alias lsd='ls -lhd */ 2>/dev/null $LS_OPTIONS'
alias lsnd='ls -lh |grep -v ^d $LS_OPTIONS'
alias cp="cp"
alias mv="mv"
alias df="df -h"






Users browsing this forum: No registered users and 3 guests