2
How to interrupt a blocking accept() call [migrated]view story

http://unix.stackexchange.com – I have written a multithreaded application in C. I have two threads created, one for catching all the signals and another for accept()-ing client connections. When I kill the appilcation using killproc, the thread with the accept call is not interrupted. (HowTos)

2
what kind of installation should i choose from centOS to have it as dom0 xen?view story

http://unix.stackexchange.com – i want to have centOS 6.0 86_64 as a dom0 xen host, during the installation of centOS there are many options of installation "minimal" "Basic Server"... "Virtual Host".. the question is which one i should select? is it "virtual host" or i can go with "Basic server" or "minimal(which is the default)" ?! thanks.. (HowTos)

2
crontab "0/15" minutes + "11-15" hour field: when does that end?view story

http://unix.stackexchange.com – Given a crontab expression like "0 0/15 11-15 ? * MON-FRI", how is that parsed? I am correct in assuming the 11-15 does not mean "between 11 and 15" but "when the hour is 11-15, inclusive" - i.e. the expression will trigger every 15 minutes starting at 11:00 and ending at 15:45? Or will it end at 14:45? Or maybe 15:00? (HowTos)

2
"cd //" and "cd /" what is the difference? [closed]view story

http://unix.stackexchange.com – Possible Duplicate: unix, difference between path starting with '/' and '//' If I make a cd // followed by a pwd I see: # cd // # pwd // why is that? what's the differece with: cd / pwd / Everything looks the same to me... (HowTos)

2
How can I rename a lot of files using a regex?view story

http://unix.stackexchange.com – I want to rename a lot of files on Mac OS X (10.7.2).. I don't have the perl package for the rename command. My files have names like "T452-102456-0.png" and I want to delete the "-0" part. I know I can do this action by writing my own php-cli script, but I would like to know of an easier and faster solution. (HowTos)

2
Multiline PS1 promptview story

http://unix.stackexchange.com – Is the a way to specify a multi line prompt in Korn shell? I am planning to swhitch from bash to ksh. In bash I have a very simplistic prompt, but it is 2 line prompt. I hate when input position changes depending on directory depth. My PS1 in bash is: PS1='$(echo $?): \w\n>> ' Which results in prompt like: 0: /var/log >> _ (HowTos)

2
autoreconf: failed to run aclocal: Access deniedview story

http://unix.stackexchange.com – I try to build exmpp lib from git, in my openSuse 11.04, when i try: autoreconf -i I get error: Permission denied at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: Permission denied I have installed make, automake and autoconf, how can i fix it? Thank you. (HowTos)

2
How to escape file path in SED?view story

http://askubuntu.com – I would like to replace $fileWithPath in $file, however this not works because (I think) path is not escaped. how to escape it? sed -i 's/${fileWithPath}/HAHA/g' $file (HowTos)

2
How to turn off `airplane mode` in Ubuntu 11.10?view story

http://askubuntu.com – I have a problem get the WiFi to work in Ubuntu 11.10. When I use gnome network manager it indicates that wireless is disabled by hardware switch while it is not. In the Network Settings Panel in the wireless section, it only shows the hardware address and the switch is off and it's disabled so that I can't change the status to On. At the bottom there is an airplane mode switch which is On, and tu (HowTos)

2
How can I use HAL in recent versions of Ubuntu?view story

http://askubuntu.com – I've found that HAL seems to be the only way to generate events when a CD/DVD/Blu-ray is inserted (if you know of a better way, please reply to this question), so I'm trying to get HAL running on my headless 10.04 server. (HowTos)

2
AMD A8-3850 and Asus F1A75-M works well on Ubuntu?view story

http://askubuntu.com – I'm thinking about mount a new computer with a AMD A8-3850 processor and an Asus F1A75-M motherboard. (HowTos)

2
GStreamer screenshot video streamview story

http://askubuntu.com – When I use this command: gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=desktop.ogg ximagesrc usage It shows me only desktop screenshot and video length is 0:00 or sometimes it just shows pictures without mouse motion. More information: Ubuntu 10.04.3 this is a text (HowTos)