Category: Manuals

Linux, UNIX Directories

Linux directory structure Mount Point Explanation / Root directory /bin Main program /boot Used at boot /dev directory Where the registered user devices (modem, mouse, keyboard, etc.) /etc
Read More

ipfw nat on FreeBSD 7

In the kernel configuration add: options IPFIREWALL # firewall options IPFIREWALL_VERBOSE # enable logging to syslogd (8) options IPFIREWALL_DEFAULT_TO_ACCEPT # allow everything by default options IPDIVERT options IPFIREWALL_FORWARD
Read More

Swap Management

Get swap mcedit /proc/swaps swapon -s Gem all memory (swap, RAM) /proc/meminfo Show logical volums mcedit /etc/fstab Create Swap File Create swap file 1 GB dd if=/dev/zero of=/swapfile
Read More