Author Archives: bhuvan

configure network in lxc containers to access host system physical network devices

I was trying to configure containers to get IPs from dhcp and it was difficult. at last I found a way to do it and thanks to debian wiki it again solved my problem, the source to solutions :).   Step 1 Installing lxc containers installing lxc in debian stretch aka testing apt-get install lxc… Read More: configure network in lxc containers to access host system physical… »

Change sizes of gnome desktop background

A simple script to change the background.   Just a simple bash script for changing the position of your wallpaper, and it works on Fedora 18;) #!/bin/bash OPTIONS=”Centered Scaled Spanned Zoom Stretched Wallpaper Quit” select opt in $OPTIONS; do if [ “$opt” = “Centered” ]; then gsettings set org.gnome.desktop.background picture-options “centered” echo You choose the… Read More: Change sizes of gnome desktop background »

Quick tricks on shell

I was working on a project that involves moving data from one point to other, it involves a verity of commands. I am listing some useful tricks. 1. This script is a tiny script to compress, generate md5 and transfer any directory. tar cvJf $1.tar.xz $2; md5sum $1.tar.xz > $1.md5sum scp -i<private key> -P<port> $1.md5sum <user>@<hostname>:<path>… Read More: Quick tricks on shell »