« first day (295 days earlier)      last day (4674 days later) » 

12:29 AM
0
Q: Specify the sector of manpage

TimWhen man declare in bash, I get the manpage of declarein sql. But I would like to get the manage of declare in shell. How can I do that? Thanks~

 
12:45 AM
0
Q: Recommended fstab settings

UbuntuNewbieI made a new partition for my home drive by following this guide: https://help.ubuntu.com/community/Partitioning/Home/Moving I have no idea what the fstab setting it suggests mean: "UUID=???????? /home ext3 nodev,nosuid 0 2 " I used an install CD and used "try it witho...

 
1:00 AM
0
Q: error: "declare: not found"

TimHere is a simple example showing that using declare in a script the script will not run, while sourcing the script will: $ cat /tmp/new #! /bin/sh declare -i hello $ chmod a+rwx /tmp/new $ /tmp/new /tmp/new: 3: declare: not found $ source /tmp/new $ I wonder why directly running the script d...

 
 
2 hours later…
2:54 AM
0
Q: Ubuntu: Using 11.04 natty themes in 10.04 lucid

UbuntuNewbieI like the "ambiance" theme in Ubuntu 11.04 better than the older "ambiance" theme in Ubuntu 10.04. I have one machine at work that I'm supposed to use the 10.04, and would like to 'update' the themes package. I tried temporarily adding the natty repository to grab the light-themes package, but...

0
Q: e4rat in Fedora 15

ArielSoniqueHas anyone tried installing and optimizing boot-time with e4rat in Fedora 15? This ext4 defragmenting and optimizing utility works wonderfully in Debian. I am wondering if someone has replaced Fedora's native Readahead-fedora with e4rat and compared the results... Ref: Lifehacker's e4rat article

 
 
1 hour later…
4:17 AM
1
Q: In bash, where has the trailing newline char gone?

fredThe following code best describes the situation.  Why is the last line not outputting the trailing newline char?  Each line's output is shown in the comment.  I'm using GNU bash, version 4.1.5 echo -n $'a\nb\n' |xxd -p # 610a620a x=$'a\nb\n' ; echo -n ...

 
 
3 hours later…
7:12 AM
0
Q: How to hide a terminate window

ufo22940268I want to run "python ~/program/proxy.py" in terminal when boot up.And then hide this terminal window(because it is just a proxy program, and i don`t want to see the debug info).So how can i get it work.

 
7:37 AM
anyone using peppermint linux?
 
 
3 hours later…
10:43 AM
0
Q: error installing virtualbox-4.1 on Arch

Samrat Man SinghI'm trying to install Virtualbox 4.1 from the .run file since Pacman had the 4.0 version only. But when I try installing the file using sh filelocation/filename.run, it gives me the following error- Please install the build and header files for your current Linux kernel. The current kernel ...

 
11:16 AM
0
Q: Choppy audio CD playback with mplayer

polemonWhen playing audio CDs with mplayer, I always get a choppy playback. Playing audio from files, like MP3 (from any optical media, or other drives), etc. works fine. Watching video DVDs is also ok. Listening to uncompressed media that's on my hard drives, like WAV or CDR, works fine as well. But w...

 
11:32 AM
0
Q: Extract all issuers of a cacertfile

sebbowIs there an openssl command to extract all certifacte subjects of a cacertfile (a file containing several certificates like /etc/ssl/certs/ca-certificates.crt)? I tried openssl x509 -in /etc/ssl/certs/ca-certificates.crt -noout -subject but it only gives me the subject of the first certificate.

 
 
1 hour later…
12:35 PM
0
Q: Modifying partitioning layout - may may involve conversion of a primary partition to extended

george_kI am having trouble thinking through how I can achieve my partitioning goals. Now my partitions are: sda1 (winA) (primary) sda2 (winB) (primary) sda3 (/ for linux) (primary) What I want to migrate into is (obviously partition numbers need not be exactly like that) sda1 (winA) (primary) sda...

 
12:53 PM
0
Q: Why does bash Command Substitution gobble up a trailing newline char?

fredAs per the following example, and as in my recent question In bash, where has the trailing newline char gone?, I want to know "why" it happens x="$(echo -ne "a\nb\n")" ; echo -n "$x" | xxd -p # Output is: 610a62 # The trailing newline from the 'echo' command # has been "deleted" by Command...

 
1:08 PM
0
Q: Trust a self signed PEM certificate

Teresa e Junior I have set up a proxy server with SSL using a PEM certificate. Now, there is a couple of machines of mine that I would like to trust this certificate automatically (without the web browser complaining). How can I install a PEM certificate on each machine? Also, what is more recommended: generati...

 
 
3 hours later…
3:51 PM
0
Q: How can I fsck a partition when the device reads as busy (but has been confirmed otherwise)?

KeeblebroxI'm attempting to run fsck -p /dev/sda5 to repair errors on an ext4 partition, however the command outputs fsck from util-linux-ng 2.17.2 fsck.ext4: Device or resource busy while trying to open /dev/sda5 Filesystem mounted or opened exclusively by another program? I have confirmed using /etc/m...

 
4:39 PM
0
Q: Exception of inheirtance of environment variables

TimQuoted from Wikipedia: By default, when a process is created it inherits a duplicate environment of its parent process, except for explicit changes made by the parent when it creates the child. At API level, these changes must be done between fork and exec. Alternatively, from shells su...

 
4:54 PM
0
Q: Xorg increases cpu usage over time

bitmaskI've had quite a strange phenomenon with Xorg for some time now: After logging in to my laptop (specifics below) the cpu consumption of Xorg increases monotonically, even if the computer is idle and nobody sits in front of it. I measured the phenomenon over night+morning and got the following res...

 
 
6 hours later…
10:53 PM
0
Q: Install a system wide certificate from a website

martani_netI want to use the Cisco Easy VPN to connect to the OpSource cloud machines. When I open the app, it directly shows a certificate error message, I suspect that the certificate is not trusted from their domain because I tried it on a Windows machine and I had to add an exception for it. I am using...

 

« first day (295 days earlier)      last day (4674 days later) »