Author: lc-root

GIT

[How To] set vim as GIT editor

You can change the default editor used by Git by setting the core.editor configuration variable to the path of the editor you want to use. To set the editor to Vim, you can use the …
Linux Command Line

[How To] find php.ini file

find php.ini file The location of the php.ini file can vary depending on the server configuration. Here are a few ways to find the location of the php.ini file. Use the phpinfo() function: Create …
FreeBSD

[How To] set or change the IP address on FreeBSD

To change the IP address on a FreeBSD system, use the ifconfig command pattern. sudo ifconfig interface_name inet new_ip_address netmask subnet_mask Example To change the IP address of the em0 interface to 192.168.1.100 with a …