Reputation
3,892
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
6 25
Newest
 Nice Answer
Impact
~402k people reached

Jun
3
asked Bind9 dynamic zone: where does the delay between update and availability come from?
May
26
comment How to find out the current (active) XServer DISPLAY number?
you are not looking at Xservers, only at environmental variables. We always need to be very careful about what we assume about environmental variables.
May
25
comment How to execute an arbitrary simple command over ssh without knowing the login shell of the remote user?
If the cmd argument was /bin/sh -c we would end up with a posix shell in 99% of all cases, wouldn't we? Of course escaping special characters is a bit more painful this way, but would it solve the initial problem?
May
25
comment How to find out the current (active) XServer DISPLAY number?
@intelfx: very nice approach. In 1-2 major releases I may come to like this *d stuff. Just to throw in another idea: I once had to match XDisplays to usernames. I build a little something that looks at all incoming TCP connections to the various Xservers and does a majority vote on the users the connecting processes belong to. Works fairly well with modern DEs.
May
25
comment How to find out the current (active) XServer DISPLAY number?
This is a very greedy approach and needn't return the correct DISPLAY. You should evaluate all environments and assume the value of DISPLAY which you read most frequently.
May
25
revised How to find out the current (active) XServer DISPLAY number?
added line breaks and white space to the so called result and explained the snippet
May
25
revised How to find out the current (active) XServer DISPLAY number?
added line breaks and white space to the so called result
May
20
comment How to find out the current (active) XServer DISPLAY number?
Why are you trying to find out the so called "current" XDISPLAY? What do you mean by "current"? Apparently you have at least two XServer running. Which is current and why?
May
7
revised Map a Linux VM's block device to its vmdk file on the vmware datastore
struggled with a formulation
Apr
28
asked Map a Linux VM's block device to its vmdk file on the vmware datastore
Apr
13
revised Is it possible for a program to have its dedicated X display?
deleted 1 character in body
Mar
13
reviewed Reject Some characters disappear after processing a text file
Mar
12
reviewed Close Not getting the desired output for echo command
Mar
12
reviewed Close What are the commands which will work in unix but won't work in linux
Mar
12
reviewed Leave Open Replace string in a file with another where both are saved in variables
Mar
12
comment Xen domU sort of ignores /etc/network/interfaces
I can't I don't have access to the setup anymore. I needed a solution 2 months ago. What would you expect to see in and read from that tshark dump? Notice that this must be a Xen domU specific issue.
Mar
6
comment Xen domU sort of ignores /etc/network/interfaces
It says already up.
Mar
5
comment Xen domU sort of ignores /etc/network/interfaces
I am sorry, I do not understand your answer. When I log into the machine ip link show reports the interfaces as up.
Feb
25
comment how to give read, write and execute permission to other user to access mounted shared directory
Have you ever tried chmod 777 /home/nfs_local? Why didn't it work? What export/mount options did you use?
Feb
23
comment sed command and formatting one line help
@jasonwryan: The question is tagged with sed though :D