Top new questions this week:
|
Suppose somebody downloaded a Linux distro, like Ubuntu. Suppose further modify one piece of it, say the Window Manager.
Would it be perfectly legal for them to sell copies of this slightly modified ...
|
I have a text file:
a aa aaa b bb bbb c cc ccc
d dd ddd e ee eee f ff fff
g gg ggg h hh hhh i ii iii
j jj jjj
How can I process it and get a 2 ...
|
Why does echo ,,, |sed s':\(,\)\(,\):\1*\2:'g yield ",*,," rather than ",*,*,"? In other words: why, despite the "g" flag, does sed not insert '*' between one pair of commas?
|
I came across that if we use awk 0 inputfile, it will not print anything cause 0 means false of the condition.
If we use awk 1 inputfile, it will print everything as 1 means true for each line awk ...
|
I'm looking at a bash script with the following code:
#!/bin/sh
set -e # Exit if any command fails
# If multiple args given run this script once for each arg
test $2 && {
for arg in $@
...
|
How do I (recursively) detect all symlinks in a directory that identify their target in an absolute as opposed to in a relative way?
Since these links are very likely to break when an entire ...
|
I'm looking for a portable way to obtain parent block device name (e.g. /dev/sda) given the partition device name (e.g. /dev/sda1). I know I could just drop the last character, but that wouldn't work ...
|
Greatest hits from previous weeks:
|
I'd like to log in as a different user without logging out of the current one (on the same terminal). How do I do that?
|
I have a machine running Ubuntu which I SSH to from my Fedora 14 machine. I want to forward X from the Ubuntu machine back to Fedora so I can run graphical programs remotely. Both machines are on a ...
|
Can you answer these?
|
I've got three module manifests in separate files (stripped down to bare essentials):
class users {
$user = 'foo'
user { $user:
ensure => present;
}
}
class dvcs_cli {
require users
...
|
I'm setting up a git server, and there will be three different groups working on different projects iOS, WebDevel, Android. I need to do it in a secure/safe way.
Meanwhile, I don't want iOS ...
|
I have some visualizations which consists of data in the GeoJSON format. I would like to render the features to a png file. There are some sites which provide this functionality. I have for example ...
|