4,386 reputation
1027
bio website
location
age
visits member for 1 year, 3 months
seen 14 hours ago
stats profile views 91

17h
comment How to add a line from a list into another file when a specified line is found?
@Campino The command modify the xml directly. Ignore its output to the terminal. I added this hint now to the answer.
17h
revised How to add a line from a list into another file when a specified line is found?
add warning: change inplace
17h
comment How to add a line from a list into another file when a specified line is found?
Please comment before down-voting.
17h
answered How to add a line from a list into another file when a specified line is found?
2d
revised Route only ssh traffic through VPN
MASQUERADE/SNAT added, typos fixed
2d
answered Route only ssh traffic through VPN
2d
comment Can't install Linux Headers on Debian 6
You seems to have installed packages from Debian testing/unstable some time ago which are now outdated. They conflict probably with gcc-4.3 which you need to build modules for your current kernel. Instead of downgrading/uninstalling packages, I suggest you to upgrade your whole system to the current Debian stable (=Wheezy). The security support for squeeze ends in about one year anyway.
May
17
comment Debian Testing or Debian Sid?
If you use Testing or Sid, I recommend you strongly to install apt-listbugs. It warns you before you update a package for which grave/serious bugs were reported to the bug tracking system. With it, the probably of getting a broken system or other nasty problems is much lower.
May
17
comment Remove random string from particular position in file names
Instead of writing a script, you can use qmv from the renameutils.
May
16
answered date format in /etc/hosts.allow
May
13
comment what does the linux standard base specify about the kernel?
There was at least some discussion about an LSB kernel interface.
May
6
comment Integrating custom kernel module into Debian
@schaiba You are right that insmod is less powerful than modprobe. Nevertheless, insmod is not deprecated (modprobe calls it) and it is easier to use if you want to test a fresh built kernel module before you install it since you do not need to run depmod for it.
May
6
comment how to gpio interrupt registering/handling and accessing them from user space in linux
There exists usually already a GPIO driver for your platform in the kernel. You can access it via its sysfs interface. See here for some examples.
May
6
answered Integrating custom kernel module into Debian
May
6
awarded  Analytical
May
2
comment Printing Latex source with a2ps
@Sukminder I have extended my answer. The actual pattern is not relevant for Unix-like systems.
May
2
revised Printing Latex source with a2ps
answer corrected.
May
2
revised Printing Latex source with a2ps
answer rewritten
May
2
answered Printing Latex source with a2ps
May
2
comment Scripting to domain allocation to server
@RahulPatil Yes, your scripts includes this logic, but it is not general, it works only for the given example in the question with one load "1" and one "2", but not in most other cases where the load is different distributed or if many more domains need to be added.