FreeBSD notes

Remove flags:

trouble@sun:$ chflags noschg *

Upgrade a system:

trouble@sun:$ cd /usr/src
trouble@sun:$ make buildworld
trouble@sun:$ make buildkernel
trouble@sun:$ make installkernel

reboot into single user
trouble@sun:$ cd /usr/src
trouble@sun:$ make installworld
trouble@sun:$ mergemaster
trouble@sun:$ reboot

0

Linux notes

tar over ssh

Backup:

trouble@sun:$ tar zcvf – / | ssh user@255.255.255.255 “cat > /backup/data.tgz”

Restore a tar session:

trouble@sun:$ cd /
trouble@sun:$ ssh user@255.255.255.255 “cat /backup/data.tgz” | tar zxvf –

Ubuntu

Start the upgrade manager

trouble@sun:$ gksudo “update-manager -d”
0
Page 12 of 15 «...1011121314...»