0
votes
2answers
1k views

Installing multiple packages with one yum command

Is there a way to install 2 or more packages using one yum command yum install mysql php vsftp
1
vote
0answers
286 views

error booting the custom compiled kernel 2.6.37 on ubuntu 10.04 : gave up waiting on root device [duplicate]

Possible Duplicate: Kernel can't find /dev/sda file during boot Hi, I know this is very common problem and there are many threads discussing it. However after trying many solutions ...
1
vote
3answers
2k views

7z command line add file to a flat directory 7z file

I would like to compress file "./data/x.txt" to path "./data/x.7z". When running 7z a ./data/x.txt.7z ./data/x.txt The file "./data/x.txt" holds data/x.txt as opposed to just (what I want) ...
2
votes
2answers
1k views

How to build a long command string?

I've a sequence of commands to be used along with lot of pipings, something like this: awk '{ if ($8 ~ "isad") {print $2, $5, "SE"} else {print $2, $5, "ANT"} }' ...
6
votes
2answers
3k views

Edid information

I want to gather the Edid information of the monitor. I can get it from the xorg.0.log file when I run X with the -logverbose option. But the problem is that If I switch the monitor (unplug the ...
6
votes
4answers
1k views

vim search around line breaks

When I am editing a LaTeX document in vim, often times I want to search for a phrase. Because I have LaTeX setup to wrap lines, sometimes half of the phrase will be on one line while the other half ...
9
votes
3answers
12k views

Does bash support forking similar to C's fork()?

I have a script that I would like to fork at one point so two copies of the same script are running. For example, I would like the following bash script to exist: echo $$ do_fork() echo $$ If this ...
18
votes
4answers
1k views

Why does Linux scale so well to different hardware platforms?

Why does Linux run well on so many different types of machines - desktops, laptops, servers, embedded devices, mobile phones, etc? Is it mainly because the system is open, so any part of it can be ...
7
votes
1answer
392 views

Why do some regex commands have opposite intepretations of '\' with various characters?

Take, for example, this command: find . -regex ".*\.\(cpp\|h\)" This will find all the .h and .cpp files in your directory. The period character '.' in regular expressions usually means "any ...
4
votes
3answers
343 views

What documentation shows the associated numbers for linux signals like SIGTERM and SIGKILL?

I can look around the internet and find that the associated number for SIGKILL is 9, but is there linux documentation (such as, a man page) showing the complete list of signals and their numbers?
1
vote
1answer
2k views

ImportError when running WSGI app in Apache: undefined symbol: PyUnicodeUCS2_DecodeUTF8

I'm trying to run MoinMoin under Apache on SLES 11P1. I'm getting the following error in my Apache log when somebody tries to access the site: mod_wsgi (pid=20772): Target WSGI script ...
2
votes
1answer
2k views

Simple example of using Fedora alternatives to install old version of make

Can anyone help me using the Fedora alternatives system in order to install an old version of make? I know the actual program is irrelevant, but I need it so I'll use it as my example. I currently ...
8
votes
2answers
2k views

Is there a tmux shortcut to go read only?

I've been using screen for years now as a way of ensuring that any remote work is safely kept open in after disconnects/crashes. In fact, as a matter of course, I use screens even when working ...
0
votes
2answers
2k views

How to run a shell script containing an awk command

How to run this script (called count.sh)? awk 'BEGIN{ x=0 ; while (x < 5) { x+=1 ; print x ; } }' I'm trying to run it with sh count.sh but it's giving me an error.
5
votes
1answer
684 views

How to stop application from being suspended by Ctrl+z?

Currently I'm running dvtm inside a terminal, and vim inside dvtm. When I press Ctrl+z intending to suspend vim, dvtm got suspended instead. I didn't have this problem with screen or tmux, so I think ...
15
votes
7answers
12k views

Faster way than ping for checking if computer online?

I'm writing a wake on lan script for a set of our lab computers. We have sqlite db with a list of the computer hostnames, IPs, and MACs and currently I ping each of them with '-c1' so it doesn't run ...
3
votes
2answers
2k views

Dual-boot OS X and Fedora

I'm trying to install Fedora (dual-boot) on a brand-new MacBook Pro. The live/installer CD runs flawlessly on the machine, which was a nice surprise. But after the install is completed, I cannot ...
4
votes
1answer
490 views

Difference between ' and " on command line (bash)?

I used to use '' and "" interchangeably on the command line, but I recently noticed that '$HOME/some/dir' is not expanded, while "$HOME/some/dir" is. I searched around a little bit and found that "" ...
3
votes
2answers
420 views

How do I profile the kernel?

I'm having issues with a kworker process during system boot and I'd like to get such a nice call graph like Linus Torvalds posted here. How would I do this?
-1
votes
1answer
1k views

Virtual packages like 'mono-common' can't be removed

Any ideas? I'm trying to install mono as per these instructions: http://blog.ruski.co.za/page/Install-Mono-on-Ubuntu.aspx I need to be able to run the second command apt-get remove mono-common but ...
11
votes
2answers
9k views

Run process with higher priority

I want to run mplayer with higher priority than any other processes, including the IO-processes. How can I do that?
11
votes
3answers
3k views

What file systems on Linux store the creation time?

Are there any (good known, reliable) file systems on Linux that store the creation time of files and directories in the i-node table? If there are, is the "changed" time replaced by the creation ...
4
votes
2answers
2k views

set umask to 0002 for sftp and scp

I want files sent to my server using sftp and scp to be group-writable. How can I do that? I tried using libpam-umask from http://wiki.debian.org/DebianDesktopHowTo but it didn't work. EDIT: Is ...
28
votes
7answers
43k views

Execute a command once per line of piped input?

I want to run a java command once for every match of ls | grep pattern -. In this case, I think I could do find pattern -exec java MyProg '{}' \; but I'm curious about the general case - is there an ...
14
votes
4answers
3k views

Some people told me FreeBSD is NOT Unix, is that right? Confused

Some people told me FreeBSD is NOT Unix, is that right? I'm confused. I checked some articles, but the expressions are pretty vague, and I need some clarification.
6
votes
2answers
994 views

Volume up/down function keys limited to gnome-volume-control “Unamplified 100%” level

Using GUI gnome-volume-control: Sound Preferences ---------------------------------------------------------------------------- Output Volume: [--------------+ ] ...
4
votes
1answer
470 views

Debian 6 installation DVD required

I just want to install the operating system and SSH printserver . I just burned the first DVD of the 8 avaible for the amd64 architecture. How many DVDs should i burn in order the operating system to ...
0
votes
3answers
279 views

Improving OpenOffice speed [closed]

I'm looking for some tips and tricks on how to improve the performance of OpenOffice on my desktop. Any ideas, tutorials or articles on this? Thanks in advance!
3
votes
2answers
1k views

I no longer have smart bash completion for normal user

I created a new user on our Ubuntu server and I no longer have the bash auto/smart completion (pressing tab once finishes your current phrase if possible. Two tabs give you a ls). Smart complete ...
3
votes
3answers
2k views

untar a directory of *.tgz files using a wildcard

I've got a directory that looks like $ ls Broad_hapmap3_r2_Affy6_cels_excluded.tgz DINGO.tgz GIGAS.tgz index.html IONIC.tgz passing_cels_sample_map.txt ...
7
votes
5answers
1k views

Dynamic Symlinks

I have built my app for different architectures and would like to create a "dynamic symlink" which takes me to the right version based on a variable. If the machine I am currently logged in to, is ...
4
votes
2answers
298 views

“Linux supports the dynamic loading of kernel modules. ”

I read in a book written by Robert Love that: Linux supports the dynamic loading of kernel modules. He said this is the difference between Linux and Unix, but I seem to recall there is also KLD ...
5
votes
1answer
9k views

Startup log file for RHEL?

When I start up my Red Hat box I see a progress meter in the center of the screen that has a button that says "Show Details...". When I click on this button, I see a console like screen that shows ...
6
votes
3answers
2k views

Using parallel on Ubuntu

I am having an issue trying to use parallel command on Ubuntu 10.04. I looked up the parallel documentation and few of the commands seem to run. In all cases I just get the command prompt back without ...
3
votes
3answers
1k views

Book on Linux kernel driver development [closed]

What good books are there out there for Linux kernel driver development? Preferably targeting a rather new kernel release. Which one is best in you opinion? Essential Linux Device Drivers Linux ...
1
vote
4answers
9k views

Fastest RDP client on linux

I currently use KRDC on CentOS, but mouse pointer is a little slow and I'm sure that this is not caused by my internet line speed, because the windows RDP client works and everything is fine. Which ...
5
votes
1answer
829 views

Emacs text-scale-adjust causes line numbers column to incrementally shrink and disappear

I've set up emacs to display line numbers (global-linum-mode 1), and it works until I start enlarging the text via text-scale-adjust The line numbers column starts to shrink, and disappears ...
5
votes
2answers
377 views

Which kernel does reboot load?

I am using ssh to remotely access some machines. These machines have a custom kernel installed (based on the 2.6.28 source). However, whenever I try to reboot the machines using sudo reboot, the ...
1
vote
1answer
526 views

Skype error in ubuntu 10.10

I am using Ubuntu 10.10 version. Recently i am finding this error. When i used to close the skype client then it used to go up to the desktop. ( The above panel where time and date are generally ...
2
votes
2answers
1k views

NFS permissions and slow copy

I have an NFS share on an OpenBsd server. When I assess the share from my Ubuntu box I don't seem to have all permission eg write. Also copying a file from the NFS share to the Ubuntu machine can take ...
2
votes
1answer
2k views

Backtrack panels issue

I accidentally hid the bottom panel and created another panel on the right side of the screen. That panel is on top of the button to show the bottom panel again. The panel on the right is unclickable ...
5
votes
2answers
958 views

*nix working on eBox 3300

I'm not sure if hardware questions are alright here, I didn't see many. I am trying to install any Linux operating system on an eBox 3300. I am having trouble, and the only thing I have been able to ...
2
votes
1answer
659 views

what could cause large pagefault latencies in linux?

I'm running a Linux netbook with an SSD. Since the SSD is slow (and I don't want to wear it out) I've been running without swap. So far this has been great, but I recently put a new kernel on (2.6.37) ...
3
votes
1answer
637 views

How to create a copy of DVD that is larger than maximum size of file on filesystem?

How to create copy of DVD, which ISO image size is larger than maximum size of file on filesystem? There is only one DVD drive.
0
votes
0answers
356 views

Why is the US international keyboard layout on Debian/Ubuntu different? [duplicate]

Possible Duplicate: Why is the US international keyboard layout on Debian different? I asked this question on askubuntu.com recently but I was not satisfied with any answer. I realized ...
4
votes
1answer
2k views

What packages are required to install vim on Fedora?

What RPM packages are required to install vim on a recent version of Fedora?
4
votes
1answer
449 views

vim -N mode: where to use it?

I am following the Peepcode screencasts to learn vim. The presenter mentions about the -N mode but doesn't elaborate it much and says that it should be the default mode. My questions: What is the ...
1
vote
1answer
565 views

Compatible Wireless Router? [closed]

I'm looking for a wireless router for personal use. I have a small apartment and need the router primarily for my android phone connection. I might need it for streaming video as well. I'm running ...
6
votes
2answers
403 views

Working with rar files

I have a directory full of rar files, with extensions ranging from .r00 to .r30. It also has one file with .rar extension. From all of this must come a video file. How do I do it?
11
votes
2answers
5k views

I can't delete a file that I have write permissions for as a group member

$ touch testfile $ chmod g+w testfile $ sudo adduser user2 user1 $ stat -c'%a %A' testfile 664 -rw-rw-r-- $ su user2 Password: $ groups user2 user1 $ rm testfile rm: cannot remove `testfile': ...

15 30 50 per page