1,746 reputation
1820
bio website mendhak.com
location
age
visits member for 2 years, 11 months
seen Sep 10 at 17:20

Apr
18
comment unable to connect local server with ssh?
Try ssh -T 192.168.1.3 as well as ssh -T 192.168.1.3 -vvv to see if you can connect and what verbose messages it's producing.
Apr
18
comment Flash and Java plug-ins in Chromium lost after upgrade to 14.04
See if this helps
Apr
18
answered Flash and Java plug-ins in Chromium lost after upgrade to 14.04
Apr
18
answered lscpu shows me “op-mode:32-bit, 64-bit”, what it means?
Apr
18
comment Git strange behaviour
When issuing your git commands, are you using sudo as well or not?
Apr
18
asked How do I set the LightDM wallpaper in Ubuntu 14.04?
Apr
18
comment How to set variables for java
(Answer updated) put local.properties in the root of your project folder. Point that sdk.dir line at your Android SDK folder
Apr
18
revised How to set variables for java
added 42 characters in body
Apr
18
answered How to set variables for java
Apr
13
comment Aceessing a webserver on aws EC2 instance with custom nameservers?
Can you explain further what you mean by "resolve the domain name through a custom name-server" - are you running your own nameserver or do you mean you've created an A record pointing at the EC2 instance?
Feb
22
awarded  Notable Question
Feb
10
awarded  Caucus
Feb
9
revised IntelliJ IDEA 13 CE on Ubuntu 12.04: native file watcher executable is outdated
deleted 2 characters in body
Feb
9
answered How would I install Ubuntu on a disk already containing windows 7, not dual booting
Feb
9
answered IntelliJ IDEA 13 CE on Ubuntu 12.04: native file watcher executable is outdated
Feb
8
answered Install windows7
Feb
5
accepted How can I open and close an SSH tunnel along with Firefox?
Feb
5
revised How can I open and close an SSH tunnel along with Firefox?
added 355 characters in body
Feb
5
comment How can I open and close an SSH tunnel along with Firefox?
Got it - I needed to detect the PID of the SSH process differently, the PID[0] being reported in the script is wrong. So I did this: trap "ps aux | grep ssh | grep 2001 | awk '{print \$2}' | xargs kill" EXIT SIGINT SIGTERM If you modify your post I can mark yours as answer, thanks!
Feb
5
comment How can I open and close an SSH tunnel along with Firefox?
This looks promising - but the SSH connection doesn't die when I close Firefox, just stays open. I guess the trap isn't catching Firefox's exit? I've not heard of trap before but I read a bit and tried adding even more signals trap "kill ${PID[*]}" EXIT QUIT INT STOP TERM ERR SIGINT SIGTERM but it still wasn't caught.