By Fekete Zoltán , 26 July, 2018

Put this line into your ~/.bashrc:

case "$TERM" in
rxvt|rxvt-unicode|xterm|vt100)
        export PS1="\[\e[1;32m\]\u@\[\e[1;33m\]\h\[\e[00m\]:\[\e[0;37m\]\w\[\e[00m\] \$ "
        export PROMPT_COMMAND='echo -ne "\e]0;${USER}@${HOSTNAME}: ${PWD}\007"'
        ;;
esac
By Fekete Zoltán , 18 April, 2018
After installing LXDE either from binary or from pkgsrc, it wouldn't start. Here is how to solve:

Tags

By Fekete Zoltán , 25 January, 2018

Put this line into your ~/.shrc:

export PS1="$(echo -e "\033[31m$(whoami)\033[00m@$(hostname -s): \$PWD $") "

Change coloring as you wish by tuning  \e[31m and \e[00m parts.

For color codes and further information see the link attached.

By Fekete Zoltán , 22 November, 2017

poweroff command simply doesn't run shutdown scripts. It causes several dirty killing of running processes, etc.

Use always

# shutdown -p now

instead.

By Fekete Zoltán , 12 November, 2017

Do it like this:

svn propset svn:keywords 'Id' <your_file_name>

propset can be abbreviated by ps or pset

By Fekete Zoltán , 10 November, 2017

You want to set your Apache web server to create files with controlled permissions. Do this with umask setting at the beginning of the rc script, which starts the service. In NetBSD:

/etc/rc.d/apache