SalixOS bash Tips

Colorful terminal
To make it more clear if you are normal user or root in a terminal you can change the color.
Change the export PS1='\u[\W]\$ ' in ~/.bashrc to:
export PS1='\e[0;32m[\u[\W]\$ \e[m'
bash prompt
For root change the export PS1='\u[\W]\$ ' in /root/.bashrc to:
export PS1='\e[0;31m[\u[\W]\$ \e[m'
bash prompt

In ~/.bash_profile add the folowing:
#!/bin/sh
source $HOME/.bashrc

if .bash_profile don't exists then just create it.

Another tips is to change colors on files and maps on listing.
Add the folowing to ~/.bashrc:
alias ls="ls --color=auto"
Changed: 08-May-2013

News

2012-08-05
Fluxbox tips updated
2012-05-20
CD-labels for Salix OS MATE edition
2012-03-07
New page about Epson Perfection 1260
2012-01-29
New page about Hardware
2012-01-21
New Thunar Custom Actions under File Management
2012-01-17
Uppdated Thunar Custom Actions
2012-01-08
New page on Thunar Templates.
2012-01-05
My new homepage about Salix OS

Statistics

This page: 949 Total visits:69479