Oct 09, 2015

Use a web proxy for apt-get

To configure using an HTTP proxy for apt-get, add the following line to your /etc/apt/apt.conf file (you may need to create the file)

Acquire::http::Proxy "http://PROXY_HOST:PROXY_PORT";

This will configure apt-get to use a web proxy without configuring it for the entire system. Just comment out or remove the line to reverse the change.

More information here:

Sep 08, 2015

Check the a file permission number on linux

Here is how to check a specific file/folder permission number on Linux

stat -c %a /home

This will return something like: