.htaccess
AuthType Basic
AuthName “restricted area”
AuthUserFile /home//public_html//.htpassword
require valid-user
eg
AuthType Basic
AuthName “restricted area”
AuthUserFile /home/workassis/public_html/documents/.htpassword
require valid-user
.htpassword
bikesh:papAq5PwY/QQM
raju:lofN7oBa7bM4w
http://davidwalsh.name/password-protect-directory-using-htaccess
HOME=$HOME/.dropbox-mte /usr/bin/dropbox start -i
source: http://www.maketecheasier.com/run-multiple-dropbox-accounts-in-mac-and-linux/
user@scorpio:~$
user@scorpio:~$ sudo apt-get install nautilus-open-terminal
user@scorpio:~$ nautilus -q
If you are using dual booting, some times we need to access windows xampp htdocs folder from ubuntu.
steps
1. get drive id
sudo blkid
2. Mount windows drive
udisks --mount /dev/sda6 --mount-options umask=022
3. if it is already mounted the un mount
sudo umount /dev/sda6
3. make a link (shor cut) of xamp htdocs and rename to www
4. rename or delete* /var/www folder
sudo mv www www_backup
5. copy that link (short cut ) www to /var/
mv www /var/www
give permission if it require