Category FreeBSD

grep ifconfig list ips

Linux ifconfig Example Type the following command: ifconfig | grep ‘inet addr:’| grep -v ‘127.0.0.1’ | cut -d: -f2 | awk ‘{ print $1}’ FreeBSD/OpenBSD ifconfig Example Type the following command: ifconfig | grep -E ‘inet.[0-9]’ | grep -v ‘127.0.0.1’…

alternative svn backup method

alternative svn backup method. Sometimes svnsync, hotcopy, etc just won’t work for you. Here’s the solution! 1. Create a user with same name and password on each of your servers, example: host1_live_svn_server – backup_usr host2_backup_server – backup_usr 2. Setup SSH…

freebsd set bash default shell

freebsd set bash default shell First you need to figure out where bash was installed: $ which bash /usr/local/bin/bash Now use chsh as show below $chsh -s /usr/local/bin/bash Password: chsh: user information updated