| Reloading the inetd configuration file |
/etc/rc.d/inetd reload |
| System wide / global vim configuration file location: |
/usr/local/share/vim/vimrc |
| Add group read,write permission recursively |
chmod -R g+rw |
| Updating the ports tree (change cvsup.jp.freebsd.org depending on your location): |
csup -L 2 -h cvsup.jp.freebsd.org /usr/share/examples/cvsup/ports-supfile |
| Shutdown with auto-power off: |
halt -p |
| Reconfiguring a port installation: |
make config |
| Mounting a large fat32 external hard disk via USB (/dev/da4s1 will vary depending on your system): |
mount_msdosfs -o large /dev/da4s1 /mnt/ |
| Sync'ing Time (change europe.pool.ntp.org depending on your location): |
ntpdate europe.pool.ntp.org |
| Listing installed software: |
pkg_info |
| Upgrading all ports: |
portmanager -u |
| Making a software avaialable via tab completion after a fresh install: |
rehash |
| csh prompt. Example: username@hostname:/path/to/current/dir> |
set prompt = '%n@%m:%/%#' |