My Tips On Ubuntu
My Tips On Ubuntu
edit /etc/vim/vimrc the line have syntax on just delet the “ to enable syntax highlighting in vim
on marverick and lucid it’s on by default
http://xjqian.wordpress.com/2007/11/11/readwrite-ntfs-in-debian/
http://www.howtogeek.com/wiki/Mount_a_Windows_Shared_Folder_on_Linux_with_Samba
Colourful prompt
The Bash Prompt HOWTO is a good start with this.
Debian ships with this coloured prompt:
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\
[\033[00m\]\$ '
Jonathan Hitchcock recommends (well, Stefano added the chroot bit, but otherwise, Jonathan
recommends):
t
Colour-coded ls
In your .bashrc (which on a good Debian system is included from .bash_profile), add
# Nice colourful ls (CLUG-Wiki style)
if [ "$TERM" != "dumb" ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
fi
Coloured logging
$ apt-cache search log | egrep 'colou?r'
grc - generic colouriser for everything
lwatch - A simple log colorizer
ccze - A robust, modular log coloriser
loco - Perl script to add nice colors to your /var/log/messages file
Colourful diff
Dave Ewart's colordiff, a Perl script wrapper for 'diff' which produces the same output but with
pretty 'syntax' highlighting.
MORE!
I want this page to be 2000 screenfulls long, add more, please!
Table
Work in progress...
× 1 2 3
1 1 2 3
2 2 4 6
3 3 6 9
4 4 8 12
5 5 10 15
for supporting language persian on debian just find the locale file and the enable fa and the
locale-gen