5
votes
1answer
4k views

What are some alternatives to virtualbox

I 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? ...
0
votes
1answer
280 views

Where to find this specific source (centos 2.6.18-53.el5PAE)

okay 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: ...
2
votes
1answer
142 views

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

Is 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 ...
3
votes
2answers
633 views

Virtual box for centos PAE

I 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 ...
8
votes
1answer
2k views

Use or convert .ttf font for console use in FreeBSD

I 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 ...
2
votes
1answer
3k views

A more readable ps

Are 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 ...
3
votes
2answers
564 views

Install downloaded packages with dependencies

I 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 ...
3
votes
3answers
371 views

How to grep recursive UNIX tree results along with each tree node?

Here 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 ...
2
votes
1answer
1k views

Installing Flash Player for Safari in Ubuntu

I have installed Safari browser in Ubuntu 10.10 using Wine tricks. Now I wish to run a website which has Flash content. I am trying to install Adobe Flash but it is not working even though Flash is ...
6
votes
3answers
2k views

Launching application from terminal [duplicate]

Possible Duplicate: How can I close a terminal without killing the command running in it? How to launch a GUI application (e.g. gedit) from terminal and detach it from there in one step?
2
votes
3answers
10k views

Why use `sudo yum install <pkgs>` when I can use `yum install <pkgs>`?

The 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 ...
6
votes
1answer
355 views

How can I prevent someone from gaining root access through the bootloader?

On Ubuntu 10.10 I can login as root without the root password by replacing ro quiet splash with rw init=/bin/bash. How can I secure my machine and disable this backdoor?
12
votes
2answers
1k views

Weight-based block IO control for VMs

I 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 ...
20
votes
2answers
32k views

Is there a command to list all open displays on a machine?

When 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 ...
7
votes
3answers
3k views

How to set up properly zram and swap

I'm configuring & compiling new 3.0 kernel. One of the goodies I planned to use for some time (by patching) that was merged into 3.0 is zram. Is it possible to set both hdd swap and zram swap so ...
3
votes
1answer
524 views

GRUB error Fedora 15 when Dual Booting on MacBook Pro

I am having trouble getting Fedora 15 running on my MacBook Pro. I had Fedora 15 installed before on this MBP before, so I know it works. I basically followed the good old instructions of Create a ...
7
votes
2answers
13k views

where is log file of Gnome 3?

I've just installed gnome3 on openSUSE 11.4 following these instructions but when from kdm I try to load gnome3, it just shows me a page saying that it cannot load and it doesn't give me any further ...
3
votes
2answers
1k views

Recover formatted ext3 partition

Suppose you have an ext3 partition which was unfortunately formated as ext4 partition (and where now are some but not a lot new files on it). Is there any way to recover (some) files from the old ext3 ...
3
votes
1answer
870 views

Chinese characters instead of Latin being written to file

When I run sed like this and print to a console everything is fine: sed '/Q/{ s/Q//g r /Users/ericbrotto/Desktop/question.txt }' Commision.txt But when I do this and output t a file: sed '/Q/{ ...
1
vote
2answers
159 views

How to run regular programs as daemons/services [duplicate]

Possible Duplicate: How can I close a terminal without killing the command running in it? I'm using Debian for my Server. I just installed MediaCore, which works well. Now I want to have ...
1
vote
2answers
533 views

libxml linker error

I've got an app which won't link, giving error: /usr/lib64/libcroco-0.6.so.3: undefined reference to `xmlGetProp@LIBXML2_2.4.30' /usr/lib64/libcroco-0.6.so.3: undefined reference to ...
0
votes
3answers
304 views

Did I delete the whole debian root server?

I installed a new debian 6 system a few days ago - today I wanted to create a CSR request for a SSL certificate and wanted to delete the CSR file afterwards. In the root of my server I was typing rm ...
3
votes
4answers
2k views

How to view and edit the code of a pdf file

I was wondering how to view and edit the code of a pdf file? By viewing, I don't want to see the binary format, so I think hexdump may not be what I want. I tried gedit, but no encoding method can ...
6
votes
1answer
3k views

How long is a TCP local socket address that has been bound unavailable after closing?

On Linux (my live servers are on RHEL 5.5 - the LXR links below are to the kernel version in that), man 7 ip says: A TCP local socket address that has been bound is unavailable for some time after ...
4
votes
1answer
243 views

Pixelization of KDE screen

I am using Arch Linux on an Acer Aspire 5920G and KDE 4.6.5 as WM. All installed packages are up-to-date. Starting some days ago I got few strange artifacts that spread all over the screen. ...
3
votes
2answers
2k views

Keep local copy of nfs mount on computer

I mount all my home directories and what ever else on my laptop when it is on my home network. I was wondering if there is a way to keep a local copy of the nfs mount when my laptop is off the ...
5
votes
4answers
1k views

Selinux is denying access to mysqld

I have a script that dumps a mysql database. It then compresses the file and this gets stored in my home folder by using cron. The problem is I seem to be getting an error message. mysqldump: ...
10
votes
6answers
10k views

How to limit log file size using >>

How can I limit the size of a log file written with >> to 200MB? $ run_program >> myprogram.log
3
votes
2answers
1k views

sed script to insert line after the last matching line in a file

I'd like to write a script in sed to insert line to a file after all similar lines in the file. So I need to locate the last match for a pattern and insert immediately after it. It's very unlikely ...
1
vote
0answers
374 views

Validating an OpenSSL Cipher List

Are there any tools that can validate an OpenSSL cipher list both syntactically and semantically? For example, ALL:!LOW:!SSLv2:!EXP:!aNULL is both syntactically and semantically valid cipher list. On ...
2
votes
1answer
2k views

Linux source, where are sys_umount and sys_mount system calls? [duplicate]

Possible Duplicate: Understanding the linux kernel source I am sure that I must be missing something, here. I cannot for the life of me find the source code for these system calls. I can ...
4
votes
2answers
286 views

Sometimes I feel like a directory, some times I feel like a regular file

For organizational purposes I would like a certain filesystem object which most of the time appears as a file, on occasion, to appear as a directory. The basic idea is that generically for cp, mv, ...
4
votes
2answers
1k views

Where has my `uniq` or `sort -u` line gone, with some unicode characters

What is going on in the following code snippet? I'm not getting my expected output. I'd think it was a bug, but it happens for 2 different programs (uniq and sort), so I suspect it is something ...
5
votes
2answers
1k views

Performance difference between stdin and command line argument

For some commands, it is possible to specify certain input as either stdin or a command line argument. Specifically, suppose command can take stdin input and a filename as command line argument, and ...
2
votes
1answer
2k views

Is there a tomcat 64 bit version

Is there a tomcat 64 bit version for Linux, I am using Red Hat Linux?.
1
vote
3answers
657 views

How to determine which executable on my path will be run?

I run which and get the following, brendan$ which python /opt/local/bin/python brendan$ which -a python /opt/local/bin/python /usr/bin/python brendan$ ls -l /opt/local/bin/python lrwxr-xr-x ...
3
votes
3answers
508 views

Open another file with split windows, and switch between them

If I open vim with: $ vim -o a.ext b.ext I get a window that looks like this +----------------------+ | a | | | | a.ext ---------------+ | b ...
5
votes
2answers
2k views

Pattern Matching Exclude Duplicate Characters

Is there a regular expression for the following that matches characters in a character set but only once? In other words, once a character is found, remove it from the set. If grep cannot do this, ...
0
votes
1answer
498 views

Any LiveCD or LiveDVD Distro whith multi session burning onto LiveMedia

I'm looking for any Distro or LiveLinux for CD/DVD (NOT usb/SD card usage) which does the following: 1) All changes to the filesystem are written to the RAM disk with an overlaid filesystem. 2) Upon ...
15
votes
4answers
649 views

What is new in Kernel 3.0?

I understand this is somewhat less Ubuntu related, but it affects it. So,what is so new about it that Linus decided to name it 3.0? I'm not trying to get information about the drivers that got into ...
19
votes
8answers
6k views

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
0
votes
1answer
136 views

Biostar GF7050V-M7 working with linux?

Do you know if Biostar GF7050V-M7 motherboard works completely with linux?
12
votes
6answers
9k views

How to make a process invisible to other users?

How could you launch a process and make it invisible to the top command? The process is started by a normal user (not root), and should not be visible to other normal users.
2
votes
3answers
265 views

Running Linux virtual machine guest on Linux Host

I have a machine running Debian Linux (stable), but I'd also like a Debian unstable box to use as a sandbox to test and develop. Is there an easy way to create a virtualized Debian unstable machine on ...
3
votes
3answers
163 views

can i modify an .rpm-based system to use .deb files, apt-get and debian/ubuntu repositories?

I recently ran into trouble when installing Debian on a netbook. There were three major hardware/kernel issues that I didn't feel like fixing, and since every single forum/wiki writeup reported the ...
5
votes
1answer
2k views

Silent booting Linux from u-boot

For security reasons I have to boot Linux from u-boot with all output hidden (silently) until a password is entered. I've configured uBoot to do this correctly using the CONFIG_AUTOBOOT_KEYED macro ...
4
votes
3answers
3k views

Delete files based on year

I need to delete all files in a directory that were created in 2009. What command can I use to do that?
2
votes
3answers
448 views

When does the order of arguments matter?

In bash, I am not sure if my observation is correct. For most commands, option-like arguments, i.e. arguments that begin with --abc or -a, can be anywhere in the list of arguments to the command, ...
0
votes
3answers
2k views

Need minimal linux distro, with install size less atmost 250 - 300 mb

I need a distro of Linux which occupies 250-300 MB of hard drive space. It should be able to run C programs (NOT COMPILE!! just execute)... and must be compatible with grub2 (NEED TO USE ...
3
votes
1answer
1k views

Paritioning Scheme: Arch Linux server & laptop

What would be a good partitioning scheme for an Arch Linux installation, on a server and on a laptop? My current basic scheme: / [root] ext4 /home ext4 swap I know ...

15 30 50 per page