Reputation
1,403
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 17
Newest
 Nice Answer
Impact
~149k people reached

  • 0 posts edited
  • 1 helpful flag
  • 11 votes cast
Jan
21
comment Can't get pop down menus to do anything in KDE/QT application GUIs in Ubuntu (Gnome session)
this could be caused by a broken theme engine, if Qt is using the same GTK theme. Try changing the theme.
Jan
20
answered Why does the Centos apache httpd-2.2.3 rpm remove the bundled apr,apr-util,pcre?
Jan
20
comment Why does the Centos apache httpd-2.2.3 rpm remove the bundled apr,apr-util,pcre?
"apache" is the name of the software foundation. "httpd" is the name of the product Apache HTTP Daemon. What you are trying to build is the httpd-2.2.17 (the same name you should have found in the tarball you downloaded from the FTP), and not apache-2.2.17 (which doesn't exist).
Jan
19
awarded  Commentator
Jan
19
comment How do idiomatic Unix programs detect what prefix they are installed under?
Better than argv[0] is to do a readlink() to /proc/self/exe, when this file is available. If that fails, then you check argv[0] and $PATH.
Jan
19
comment How do I periodically run a command with very short interval and get the return?
@Marcel the simple way is to call daemon(3) from C or other language with library access (not from a shell script). This is the hard way.
Jan
19
answered testing services/open ports with telnet?
Jan
19
comment How do I periodically run a command with very short interval and get the return?
@Marcel, disown removes the last job from the shell job table, making it sort of a daemon, like you asked. It is not a real daemon because it is still attached to terminal and is in the same process group, but it will keep running after you close the shell.
Jan
19
answered How do I periodically run a command with very short interval and get the return?
Jan
19
revised How to rename a file into a random GUID?
added 465 characters in body; deleted 4 characters in body
Jan
19
comment How to rename a file into a random GUID?
ls output is not meant to be parsed. ls is meant to produce user-readable output, and it may substitute characters in filenames.
Jan
19
answered How to rename a file into a random GUID?
Jan
19
comment How to rename a file into a random GUID?
UUIDs are not completely random. Random UUIDs are version 4 UUIDs, and have only 122 random bits, not 128. The fixed bits define the version (4) and variant of the UUID. You should use either uuidgen or /proc/sys/kernel/random/uuid to generate UUIDs.
Dec
7
answered Is there a way to store Firefox passwords in a local encrypted database in Linux?
Nov
16
answered ls command: what does the first line mean?
Nov
16
comment What is the difference between X and XFree?
X11 is not synonym of X. X11 is the current version of the protocol used in the X Window System and in existence since 1987. The other versions, from X1 to X10, existed during some period of the past, from the creation of X until the release of X11.
Nov
16
revised What is the difference between X and XFree?
deleted 1 characters in body
Nov
16
answered What is the difference between X and XFree?
Nov
15
comment Why does xargs cause apt-get to abort?
The standard input of xargs is connected to the pipe from cat, but the process started by xargs has its standard input coming from /dev/null. This is the behavior of xargs. Simple demonstration: echo "" | xargs ls -l /dev/self/fd
Nov
12
revised Is there a good combination of command-line and graphical file browser?
added 14 characters in body