Check These Out
See the summary.
Next time you are using your shell, try typing
$ ctrl-x ctrl-e # in emacs mode
or
$ v # in vi mode
The shell will take what you've written on the command line thus far and paste it into the editor specified by $EDITOR. Then you can edit at leisure using all the powerful macros and commands of vi, emacs, nano, or whatever.
http://public-dns.info gives a list of online dns servers. you need to change the country in url (br in this url) with your country code. this command need some time to ping all IP in list.
This version transfers gzipped data which is unzipped as it arrives at the remote host.
If you omit the function name, the command will display all definitions
Problem: I wanted to backup user data individually, using and incremental method. In this example, all user data is located in "/mnt/storage/profiles", and about 25 folders inside, each with a username ( /mnt/storage/profiles/mike; /mnt/storage/profiles/lucy ...)
I need each individual folder backed up, not the whole "/mnt/storage/profiles". So, using find while excluding directories depth and creating two variables (tarfile=username & desdir=destination), tar will create a .tgz file for each folder, resulting in a "mike_2013-12-05.tgz" and "lucy_2013-12-05.tgz".
the -A argument forwards your ssh private keys to the host you're going to. Useful in some scenarios where you have to hop to one server, and then login to another using a private key.
Explanation
It creates dnsmasq-com-blackhole.conf file with one line to route all domains of com zones to 0.0.0.0
You might use "address=/home.lab/127.0.0.1" to point allpossiblesubdomains.home.lab to your localhost or some other IP in a cloud.
You might have Xnest (older) rather than Xephyr.
You can experiment with other desktops eg:
startx /usr/bin/start-kde -- /usr/bin/Xephyr :2
You can start X on a remote machine (although I'd recommend vnc for anything slower than a LAN):
startx /usr/bin/ssh -X gnome-session -- /usr/bin/Xephyr :2
Or just start another X session locally talking to the remote backend: