Month: May 2012

  • Find UID on a partition

    sudo vol_id -u <partition>

  • Copy files with premissions

    Copy /home to the New Partition Next we will copy all files, directories and sub-directories from your current /home directory into the new partition:   sudo rsync -aXS –exclude=’/*/.gvfs’ /home/. /media/home/.

  • Regexp

    by

    in

    Simple regex Regex quick reference [abc]     A single character: a, b or c [^abc]     Any single character but a, b, or c [a-z]     Any single character in the range a-z [a-zA-Z]     Any single character in the range a-z or A-Z ^     Start of line $     End of line \A …

  • OpenVPN

    Innehåll Overview What is a bridged VPN? Setting up a Bridged VPN using OpenVPN Installing the Server Setting up the Bridge Generating Certificates Configuring the Server Getting Clients Connected Generating Client Certificate and Key Configuring the Client Firestarter configuration for OpenVPN Other Resources   Overview   OpenVPN is a Virtual Private Networking (VPN) solution provided…