2
votes
4answers
251 views

append string where it belongs in sorted file

Suppose I have a sorted file, named sorted.txt, like this: beautiful easy fast functional handy Now, doing echo fine-grained >> sorted.txt will put "fine-grained" at the end of the file, ...
5
votes
4answers
4k views

My laptop cannot adjust brightness

I have a problem adjusting my laptop's brightness. This is a hardware problem but I can solve it with ccsm, but other programs do not work for me, e.g., xgamma, etc. Now I am running Fedora 15 and ...
2
votes
1answer
5k views

Play RTMP stream from command-line

I've managed to get flvstreamer to read a radio station's RTMP stream with the options --live -r [url], and it outputs what I guess is the raw audio data + stream info to stdout. Can I make it play ...
5
votes
1answer
692 views

Is there a way to control the delay before shutdown on low battery?

Is there any way to configure shutdown on critically low battery to give me a bit of time before actually shutting down? I've set GNOME Power Manager to shutdown on low battery (hibernating does not ...
7
votes
1answer
2k views

ext4 overrides my commit=100 mount option with commit=0

Here is the relevant line from my /etc/fstab file: UUID=f51aa298-9ce4-4a19-a323-10df333f34f5 / ext4 data=writeback,noatime,barrier=0,errors=remount-ro,commit=100,nobh,nouser_xattr ...
1
vote
0answers
449 views

Intel Z68 chipset raid5 disappeared

I have this motherboard, it's a gigabyte Intel Z68 chipset. I used the Intel chipset configuration (between BIOS and OS) to configure a 3 disk Raid5 array which I formatted as NTFS (Linux already has ...
2
votes
1answer
2k views

Hosts file on server with dynamic DNS?

I am setting up a RHEL-based server that is associated with dynamic DNS from DynDNS, with a domain of, say, "abc.dyndns.org" that is dynamically updated with the server's IP address. I have read that ...
3
votes
2answers
285 views

pulling strings out of mixed file of strings and binary

I'm trying to get my nokia backup file into an acceptable vcard format. It has valid vcard strings that appear in between binary data. For example: !@#JUNKCHARACTERS!@#!@BEGIN:VCARD VERSION:2.1 ...
7
votes
2answers
3k views

Dropbox on OpenBSD

Has anyone had any success getting dropbox installed with dropboxd running properly on OpenBSD (FreeBSD would work for me too..)? I have built from source and everything installs just fine but when I ...
1
vote
0answers
861 views

BCM4312 802.11b/g under Fedora 14 - suddenly not working

Suddenly "ifconfig -a" doesn't prints out the "wlan0" on my Fedora14 notebook..WHY? (it worked before..) Infos: # dmesg | egrep -i "wireless|wifi|broadcom|bcm4312|10:00.0" [ 0.219841] pci ...
4
votes
1answer
750 views

How to get Debian's volume control working with Pulse

I finally configured Pulse to work with every application, however using the volume control on my keyboard still controls the default ALSA selected device. How do I change it so it adjusts the current ...
0
votes
1answer
243 views

Is 'some_program <some_file' faster than 'cat some_file | some_program'? [duplicate]

Possible Duplicate: Should I care about unnecessary cats? Both would be functionally equivalent, but when using cat wouldn't it be slower because you have a process first reading the file ...
2
votes
2answers
150 views

What fedora 15 should I download?

I would like to get Fedora 15, but I also need kmod-nvidia-PAE drivers. So, which iso exactly should download to make the kmod-nvidia work when I will download it by RPM Fusion? (Like the right ...
5
votes
1answer
1k views

imagemagick creating one big image by piling up thousand of images of the same width?

I've got a few tens of thousands of images all of 2000 pixel width, and I would like to pile them up in one big image of summed up height and 2000 pixel width. I guess there must be a way to do that ...
3
votes
1answer
434 views

Why is there a Debian backport of Linux kernel?

I understand the reason for having a backport is so that you can run newer software on an old system without using newer (and therefore unproven) libraries. That is, the newer software would get built ...
1
vote
2answers
2k views

Why is clutter not working?

I've managed to install Gnome 3 on Debian testing. However, it is just running in fallback-mode. When want to start mutter or gnome-shell, there seems to be a problem with Clutter: # mutter ...
2
votes
1answer
3k views

How to stop firewall from writting logs to /var/log/messages?

I'm running OpenSUSE 11.4. The problem is that I can set easily what to log, but not where to log. And currently the same logs are written to /var/log/firewall and /var/log/messages. I still want ...
5
votes
2answers
1k views

How to assign an icon to a program in Openbox?

I am running on Arch Linux using Openbox as the window manager. I want to assign icons to some programs that are using the generic icon. This is helpful because when I do an Alt-Tab, I will know the ...
11
votes
1answer
8k views

Foreign characters won't display in SSH

I'm having some problems with using ssh and a remote server (which I do not have admin access to) - Specifically, there are a couple of folders on there with Korean and Cyrillic text. When I display ...
3
votes
1answer
366 views

Arch Linux with Xfce-Desktop no longer starts

I run Arch Linux with XFCE. Recently, I decided to switch to PCmanfm as my file manager. I removed Thunar with: pacman -Rc thunar and rebooted. Now when I try to log in, my XFCE4 desktop flashes for ...
1
vote
1answer
1k views

Can't open the initial console on ARM S3C2440 running utuLinux

I try to mount an NFS filesystem to the target board ARM s3C2440. I've started the NFS service and the portmap service. The server operating system is Ubuntu 10.04. I use minicom to communicate with ...
4
votes
1answer
4k views

Error when installing Google Chrome on CentOS

I downloaded the 32 bit .rpm (For Fedora/openSUSE) to my CentOS machine. when installing it, I got the following error. $ rpm -ivh google-chrome-stable_current_i386.rpm warning: ...
4
votes
1answer
3k views

How to disable the beep sound system-wide

If I want to disable beep sounds from stuff like bash, I add this line to "/etc/inputrc": set bell-style none Sadly, this doesn't work for some other events like GDM start-up and shut down. I ...
3
votes
2answers
1k views

Why is piped input okay to zenity, but <file malfunctions?

My question is as simple as what the zenity --text args say in the example... but what is causing this 100% CPU grab by the redirection? ...(and by the way, is this particular usage of < actually ...
2
votes
1answer
2k views

PS/2 Keyboard & Mouse not working AFTER boot

My CPU is 64 bit, I have a PS/2 keyboard and a PS/2 mouse and I have tried Live CDs of Ubuntu, Kubuntu, Fedora, Arch Linux, Wubi installations, 32 and 64 bit (my CPU is 64 bit) and Puppy Linux. I am ...
5
votes
4answers
2k views

How to share the internet connection?

An ordinally network topology in picture: In words: - "server" (e.g.: an Ubuntu 10.04 LTS) is connected to the "internet" through pppoe connection - "server" is using it's wireless card in AP ...
5
votes
2answers
1k views

diff a gzipped tarball against a directory?

Is there a way I can diff a gzipped tarball against an existing directory? I would like to be able to do it without extracting the data from the tarball.
1
vote
2answers
1k views

Copy a line matching pattern to beside another matching pattern line using sed

I want to copy the line containing www.website.com into the line containing thetext. For example, I want to transform this input: Lorem ipsum dolor sit amet, elit. Cras eu www.website.com velit ...
6
votes
1answer
4k views

Github adding a repository as a fork from an existing clone

So I have a git repository that I cloned from an upstream source on ghithub. I made a few changes to to it (that are uncommitted and in the master branch). What I want to do is push my changes onto my ...
4
votes
3answers
3k views

How to optimize Arch linux boot time?

I've had Arch Linux installed on my system for a while now, but the problem is that it takes way too much time to boot. And so, I'm trying to optimize the boot process. A Google search led me to ...
1
vote
1answer
681 views

How to match group 1 in a regex followed by a 0 rather than matching group 10

In regex plugin of gedit, I use a regex to match/search and another for substitution. In the matching regex, I only have one group. In the substitution regex, I use \1 to refer to the group, and I ...
1
vote
1answer
420 views

ffmpeg could not open file.mpg

When I want to convert a video with the following command: ffmpeg -i file.wmv -sameq file.mpg it ends with this error message: FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 ...
2
votes
1answer
469 views

Where does top / gnome-system-monitor get its information about cpu usage?

I am curious where gnome-system-monitor and top (the command line tool) get their information about the CPU usage in %. Could you please explain it to me?
1
vote
0answers
1k views

What is meant by cache aliasing? [closed]

What is the meant by cache aliasing? I searched around some, but wasn't satisfied with the answers I found. I also saw two associated terms, instruction cache aliasing & data cache aliasing. ...
1
vote
2answers
400 views

Multiple dom0's on a single Xen host?

I've recently been researching Xen, and this has come up as a quistion for me. Is it possible to have more than 1 dom0 running on a single Xen host? The reason I ask is that this is very similar ...
0
votes
3answers
263 views

What to change to place text in the centre of the screen [closed]

The following program will clear the screen #include <stdio.h> int main() { fputs("\033[2J", stdout); return 0; } So, what should I modify/add in the above code to put a text string ...
0
votes
2answers
1k views

How to install wireless driver in Fedora 15?

I have tried ndiswrapper 1.56 for fc15... it gives the following error : $ make make -C driver make[1]: Entering directory `/home/dhinesh/sware/ndiswrapper-1.56/driver' make -C ...
2
votes
1answer
3k views

How do I customize the bash prompt on centos?

I've altered the /etc/bashrc file. I commented out the previous definition and inserted my own: PS1="--bash: (\u@\h:\w) $" This is not having any affect. When I make this change at the command ...
6
votes
3answers
3k views

How to get file descriptor other than stdin stdout and stderr (to do something like $ program 1>file_1 3>file_2)?

When an executable produces an output I prefer to let the executable print the output to stdout in order to redirect them in a file as well to pipe them to another command. Let suppose that an ...
2
votes
1answer
1k views

How to kill a stuck print job under AIX?

0:root@SERVER:/ # uname AIX 0:root@SERVER:/ # oslevel 6.1.0.0 0:root@SERVER:/ # switch.prt -d #printsubsystem AIX 0:root@SERVER:/ # lpstat -oQUEUENAME Queue Dev Status Job Files ...
3
votes
2answers
459 views

maximum of column with matching id

I have a file with the following fields NM001 rp1 210 NM003 rp1 220 NM005 rag 200 NM004 rag 100 I would like to have an output that for every change in column2, find maximum in column4 but also ...
12
votes
3answers
15k views

Find out what processes are writing to hard drive

On my Lenovo T400 and Ubuntu, the light for hard drive writing keeps flashing. I was wondering if in Linux it is possible to find out what processes are doing I/O to the hard drive? Just like by top, ...
3
votes
2answers
153 views

Mandriva 2007 Cannot setup printer

I tried to use a printer that is shared by a Windows PC. When I try to Mandrive Control Center > Hardware > Set up printer, the window opens but there is no content. Only a window. Seems that ...
2
votes
2answers
590 views

.DELETE_ON_ERROR behavior with make and pipelines

The .DELETE_ON_ERROR target will tell make to delete a target if a rule fails. But this doesn't work for pipelines, because the exit status value $? holds the value of the last program in the ...
2
votes
3answers
7k views

What is the default shell for .sh in AIX?

I am fairly new to AIX machine. We would like to deploy some program into the AIX machine which is yet to come. We have a short experience in AIX machine and after login using putty, we felt the ...
4
votes
2answers
183 views

Why do 'man' pages have many extra lines?

When I run the command: man fork There is a highlight line at the bottom that reads: Manual page fork(2) line 52/99 (END) But when I navigate to line 53 and up to 99, these are just blank ...
12
votes
6answers
9k views

Copy input to clipboard over SSH?

Here's my usage case: I'm often connected to other computers over SSH for work and I often need to copy and paste documents/text from the server to locally running editors for writing examples and ...
9
votes
1answer
650 views

What is the best way to detect (from a script) whether software is installed?

I've been frustrated before with differences in output from the which command across different platforms (Linux vs. Solaris vx. OS X), with different shells possibly playing into the matter as well. ...
3
votes
2answers
3k views

Oracle 11g database startup automation on Fedora 15

I successfully installed Oracle 11g on a Fedora 15 system using this guide. Unfortunately, unlike when I'm using Windows, it seems I need to restart the database every single time I reboot my machine ...
2
votes
1answer
492 views

Which Linux distro resembles HP-UX?

I'm looking for a Linux distro (or some Unix flavor...) that is similar to HP-UX so that I practice the command line as well as other things. This is in order to get CSA Certification. Which distro ...

15 30 50 per page