htpasswd -c /var/www/folder_name/.htpasswd <username>
Should be prompted with new password
htpasswd -c /var/www/folder_name/.htpasswd <username>
Should be prompted with new password
Change default nano editor to vim
sudo update-alternatives –config editor
then…select vim
:q == Close Vi
:wq == Save and Close Vi
:vim -p file1.php file2.sh === Open multiple file
:tabn === Switch to Next Tab
:tabp === Switch to Previous Tab
:tabc === Close current tab
:set nu == Show line number
:set nu! === Hide line number
At boot wait for Grub menu
1. Press “a“
2. Choose the second line
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/
3. Add acpi=on rhgb quiet 3 at the end
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ acpi=on rhgb quiet 3
4. After edit… press “b” to reboot
5. then youre done … ^_^
How to install :
# apt-get install <app_name>
How to remove :
#apt-get remove –purge <app_name>
#apt-get clean
Note:
<app_name> must be exactly the same from install to remove the application