Ubuntu: add a proxy for apt-get
In file: /etc/apt/apt.conf add the following line
Acquire::http::Proxy "http://www.bytefreaks.net:8008/";
and replace the http://www.bytefreaks.net:8008/ with your proxy server information
In file: /etc/apt/apt.conf add the following line
Acquire::http::Proxy "http://www.bytefreaks.net:8008/";
and replace the http://www.bytefreaks.net:8008/ with your proxy server information
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,gr
or
setxkbmap -option grp:switch,grp:alt_shift_
awk 'NR>1{print $1}' RS='(' FS=')'
dd if=/dev/zero of=1MBfile bs=1024 count=$((1 * 1024))
The above command will create an empty file named “1MBfile” which is 1 MegaByte large.
Name is defined at the “of” parameter. Size is defined by the number of blocks (variable “count”) times the size of each block (defined by “bs”).
In this example, we have 1024 blocks of 1024 bytes size each.