« first day (287 days earlier)      last day (4682 days later) » 

1:57 AM
0
Q: Is there a command to list all open displays on a machine?

TK KocheranWhen SSH'd locally into my computer (don't ask, it's a workaround), I can't start graphical applications without running: export DISPLAY=:0.0 If I run this first and then run a graphical application, things work out. If not, it doesn't work, there's no display to attach to. Is there a comman...

 
 
2 hours later…
3:34 AM
0
Q: weight based block IO control for VMs

sethuI use KVM to manage my virtual machines. I am trying to limit the resources provided for VMs. I am able to limit the CPU and memory allocated for VMs using libvirt/cgroups. Now I want to control the disk time allotted for each VM by applying some weights. I looked at blkio control from cgroups. S...

 
 
5 hours later…
9:00 AM
0
Q: Why use `sudo yum install <pkgs>` when I can use `yum install <pkgs>`?

ThomasThe above question can also be rephrased to, what is the use of the sudo command? man pages for sudo in the bash shell has the following description. sudo, sudoedit - execute a command as another user. This doesn't make any sense to me. Don't I have to be the root user to install from terminal?...

 
9:33 AM
0
Q: Launching application from terminal

Anton MoiseevHow to launch a GUI application (e.g. gedit) from terminal and detach it from there in one step?

 
10:06 AM
0
Q: Insatalling flash Player for Safari in Ubuntu

KushI have installed Safari browser in ubuntu 10.10 using wine tricks. Now I wish to run a website which has flash contents. I am trying to install adobe flash but it is not working. Altho Is there any work around for this?

 
 
2 hours later…
11:46 AM
0
Q: How to grep recursive UNIX tree results along with each tree node?

Arie KerenHere is what I do tree -R /Applications/NetBeans/NetBeans\ 7.0.app/ | perl -e 'while (<>) { print if /java$/ }' but of course this doesn't return the result I want. What I want is to display an executable java file along with its recursive directory so that I would know where that java ...

 
12:04 PM
0
Q: Install downloaded packages with dependencies

ResiduumI sometimes download .deb packages from the internet and install them with dpkg -i package.deb If the packages have unmet dependencies. How can I install the dependencies automatically (similar to apt-get install package, and mark these dependencies as installed automatically instead of manually.

 
 
4 hours later…
3:35 PM
0
Q: A more readable ps

PaoloAre there any tools that improve the readability of ps in the same spirit as ack for grep? This would be especially on OS X where ps does not even have options such as --sort user. So far the nicest formatting I could come up with is alias p="ps -m -o pid,user,%mem,args" and pa="p -a" px="p ...

 
 
3 hours later…
6:18 PM
0
Q: Use or convert .ttf font for console use in FreeBSD

AzendaleI have a monospace .ttf font I really like (UbuntuBeta Mono). Is there any way I can use it (or convert first and then use, if needed) for the console in freeBSD? I know there is usr/share/syscons/fonts, but it looks like they might be a different format? Once I install the font, how do I tell th...

 
 
2 hours later…
7:54 PM
0
Q: Virtual box for centos PAE

ArianI am trying to get virtualbox to install on a very touchy box. It keeps complaining. /etc/init.d/vboxdrv setup KERN_DIR=/root/linux-2.6.18.5 That runs and gives this error: Attempting to install using DKMS Creating symlink /var/lib/dkms/vboxhost/4.1.0/source -> /usr/src/vb...

0
Q: Is there a way to get the effect of combining grep -v with grep -A?

iconoclastIs there a way, either with grep or something else, to (in effect) combine grep -v and grep -A? That is, rather than include everything for x lines after a string, exclude everything. Quick reminder for those who forget their grep switches: cat file.txt | grep -v blah filters out 'blah', the...

 
 
2 hours later…
9:49 PM
0
Q: Where to find this specific source (centos 2.6.18-53.el5PAE)

Arianokay all my looking around on the normal kernel site ftp can't find it. I need specifically, the PAE version. I am compiling virtualbox and if you don't use the right source you get this lovely: vboxdrv: disagrees about version of symbol struct_module

 
 
2 hours later…
11:25 PM
0
Q: What are some alternatives to virtualbox

ArianI have a lot of trouble lately installing on a box that i can't reboot or change the kernel. Is there any other package that supports gre tunnels (if the os supports ) that i can run on linux? Basically i want linux on linux. I can't yum upgrade or reboot.

0
Q: When is dd suitable for copying data? (or, when are read() and write() partial)

GillesShort version: In what circumstances is dd safe to use for copying data, safe meaning that there is no risk of corruption due to a partial read or write? Long version — preamble: dd is often used to copy data, especially from or to a device (example). It's sometimes attributed mystical propertie...

 

« first day (287 days earlier)      last day (4682 days later) »