Profile.d

After following the Bash Installation Tutorial one can use these examples below to change the bash environment.

/etc/profile.d/profile.custom

PS1='\n\[\e[1;30m\]\[\033)0\016\]\[\]lq\[\017\033(B\](\[\e[1;37m\]\u@\H\[\e[1;30m\])-(\[\e[1;37m\]\T\[\e[1;30m\])->\n\[\033)0\016\]\[\]mq\[\017\033(B\](\[\e[0;1m\]\w\[\e[1;30m\])--> \[\e[0m\]\$ '
 * 1) this sets up the nice environment

alias free="free -m" alias ls="ls -ap" alias oupdate="sudo ipkg-opt update" alias oinstall="sudo ipkg-opt install" alias oremove="sudo ipkg-opt remove" alias oshow="sudo ipkg-opt files" alias osearch="sudo ipkg-opt list | grep " alias writing="sudo mount -o remount,rw /" alias readonly="sudo mount -o remount,ro /" alias adhoc="sudo iwconfig eth0 mode ad-hoc essid palmpre" alias adhoc-up="sudo /usr/sbin/wifidriver -i" alias adhoc-down="sudo /usr/sbin/wifidriver -u" if [ -x /opt/games/fortune ]; then /opt/games/fortune -s fi
 * 1) quick alias
 * 1) ipkg-opt aliases
 * 1) other quick aliases you should use
 * 1) adhoc aliases -- fix plz ktnx
 * 1) bsdgames

In order to gain a nice message of the day (motd) you can optionally choose to install bsdgames via optware

oinstall bsdgames



The aliases should be self explanatory. credits to ad-hoc wiki