1,711 reputation
719
bio website mendhak.com
location
age
visits member for 2 years, 11 months
seen yesterday

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.
Feb
4
asked How can I open and close an SSH tunnel along with Firefox?
Feb
3
comment Can I use the embedded nautilus-terminal in Ubuntu 13.10?
Already got nautilus-python but no nautilus terminal shows up unfortunately.
Feb
1
asked Can I use the embedded nautilus-terminal in Ubuntu 13.10?