Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

2
votes
2answers
1k views

Run command as root but create files as another user?

Is there a way to run a command as root (using sudo perhaps) but have the files created by that command be owned by someone else? Some context: I have a web server that I run as root in order to have ...
0
votes
1answer
214 views

Linux booting error (all distro)

I used to have a Windows Seven and Archlinux dual boot system, then I tried erasing my disk and installing only an Archlinux distribution. After I finished preparing everything (I made dozens of ...
0
votes
1answer
886 views

Reading SMART Data - possible drive failure?

First time trying to make heads and tails out of this. I just wonder if the drive is bad on this server? Just things seem so slow when compiling and running simple tasks(things hang). Like the load ...
0
votes
1answer
893 views

Can't play WAV files using standard gstreamer command

I can play mp3 files without any problem, also in my application playing PCM data from appsrc is working well, however I have a problem playing a WAV file using the gstreamer command: $ ...
0
votes
2answers
2k views

Macbook Grub2 EFI Installation

How exactly does grub2 works on Macbooks? Does it install Grub2 on the EFI partition and I can boot using the grub loader just as I do on a BIOS based PC? What is actually the consequences of running ...
3
votes
4answers
2k views

Finding subdirectories inside all directories with the same name

I want to run a command to: Find all directories named "inc" under a folder "X". List all the subdirectories under each "X/.../inc/". Redirect the output to a file named "list" I tried various ...
1
vote
1answer
568 views

Font sizes changing in VMware Linux guest OS in dual-monitor setup

Good day. I have a Slackware Linux VM that I run on my laptop. I have it setup to use both my laptop screen and an external monitor in full-screen mode so my guest OS can use both screens ...
2
votes
2answers
2k views

How to tell if I am on a XEN or KVM Server?

Is there a way to tell if I am on a XEN or KVM linux server? Reason I asked is nothing is on top yet I am seeing load averages high well after I do tasks and I am getting hangs/spikes when I do simple ...
2
votes
1answer
34 views

Balancing external access with internal tasks on two machines

I have two machines and need a shared file server (>6TB of storage), database server, and a webserver. Security people here say I should waste an entire machine on the webserver so that I can separate ...
2
votes
4answers
903 views

Multiple sessions with single console in linux?

Say I have only a single console, is it possible to simulate multiple consoles/sessions? I'm looking for a linux command/method, not ubuntu/debian specific. #console1 $ .. #console2 $ ...
0
votes
1answer
1k views

Bind multimedia keys

I've got an old keyboard (Compaq 9009) with multimedia keys. How can I use these keys as shortcuts?
10
votes
1answer
6k views

How to share a folder as an USB mass storage device (from a raspberry pi)

I'd like to do something quite simple ... in my mind. I've got an "old" photo frame with an usb port and SD card slot (but without networking) that I would like to keep in sync with my NAS "Photo ...
0
votes
0answers
65 views

installing additional applications in Mandriva Linux

I just installed Mandriva Linux 2008 Spring. Everything is running smoothly and it can be started like Windows. How can I install additional applications such as a VGA driver, or desktop effects ...
0
votes
2answers
191 views

How can i find out what module is running on each port?

I want to find out what is running on COM port (tty0). I tried dmesg | grep tty0 but it didn't show me anything about tty0 port. How can I get this information? Thanks
0
votes
2answers
734 views

Batch merge videos (some 200 videos) into single with blank screen (for 2-3 sec.) between each

There are similar questions on SU, but I have one ADDITIONAL requirement along with merging the videos. I need to have a 2 seconds (or whatever seconds) of black screen between two consecutive ...
4
votes
3answers
3k views

Does builtin flash player in Google Chrome on Linux x64 work?

I'm using Google Chrome on a Ubuntu 10.04 x64 system and I just finished doing an update which got me version 19.0.1084.46 of Chrome. Now for the first time I see a message that says Adobe Flash ...
0
votes
1answer
650 views

I updated Debian Squeeze and Linux Mint is now missing from GRUB

I did a search for how to fix this and came up with nothing...I would like to put Linux Mint back on GRUB. I am a newbie so please be easy on me. I installed Linux Mint first, then Debian Squeeze. ...
0
votes
1answer
116 views

Remove middle folder? [duplicate]

Possible Duplicate: Linux: How to move all files from current directory to upper directory? I have foo/bar/myfiles and I want foo/myfiles. I was trying to git clone a repo into foo, but it ...
0
votes
0answers
524 views

How to recover a directory that was corrupted to a 32kb file?

I am trying to recover a 200 GB directory that was accidentally lost and "converted" to a 32kb file. It was on a FAT32, 500 GB external hard drive. Only this folder got corrupted, on a Windows ...
4
votes
3answers
1k views

Running chrome in Backtrack Linux

I am using the Backtrack 5 linux distribution, and i wanted to install chrome, but it wont run as root for default. I know that using --user-data-dir will let me run it as root. But is there a safer ...
0
votes
2answers
220 views

Multiple mounts under a mount on a linux server

I have a server that I mount some storage (LUNs) under. The first mount is LUN0(20Gb) as /database then under that I mount LUN1(10Gb) as /database/logs so in essence I can't mount /database/logs ...
0
votes
0answers
290 views

preferred location for web app files, outside of /var/www

I am very new to Linux, and I just installed Ubuntu. It really is exciting and I already installed my own apache and mysql. The server is running. I have my website's files under /var/www but some ...
1
vote
2answers
3k views

Cron daemon running status check

I have a script which need to be run as cron job. In the staging environment i could run the script as a cronjob. but in the production environment it is not working, so i checked whether cron ...
0
votes
1answer
2k views

Install NVIDIA Developer Drivers for GTX 630M on Fedora 16

I'm trying to install the developer drivers on my ASUS N53SM-ES72 laptop, which has the Core i7-2670QM Sandy Bridge Processor and a GT 630M. I've done a full installation of Fedora 16, with no ...
0
votes
2answers
533 views

Error while compiling Cuda Accelerated Linpack hpl_2.0_FERMI

I use Ubuntu 11.04 x86_64 CUDA 4.0 OpenMpi 1.4stable MKL When I compile, I get this error: ar r -L/home/limksadmin/hpl-2.0_FERMI_v13/lib/CUDA/libhpl.a HPL_dlacpy.o HPL_dlatcpy.o ...
1
vote
3answers
3k views

Recover partially download file auto deleted by Chrome

Where can I find partially completed download file (from chrome ) on my system as(chrome and chromium) it delete them in event of interruption (NET ISSUE). I need the file so that I complete download ...
0
votes
1answer
147 views

Any XFree86 font close to the old redhat Luxi mono?

I'm on a Debian 6.0 system but miss the old fonts on those old red hat systems, the luxi mono, if I remember correctly. Are there any close variants in the free font family? Thanks.
0
votes
2answers
219 views

In Solaris how do you startup a script automatically without user input?

I'm using Oracle Solaris, and i would like to startup a script automatically everytime i turn on my computer and log into the desktop, however the script i want to run requires elevated permission, so ...
1
vote
3answers
2k views

GTK Fonts are too big

My GTK fonts are very big. When I want them to look good I have to set the size to 7. But I think this is very low and not the solution. I think it should be around 12. 7 sounds like a workaround to ...
0
votes
1answer
137 views

apache file requests and parsing

I have just run into an interesting situation at work that shot to hell my understanding of how apache2 executes php files. I was under the impression that apache2 would determine the correct file ...
1
vote
0answers
1k views

Volume / gain too high with ALSA under Debian for an USB sound card

I encounter some issues configuring audio with ALSA on my Seagate Dockstar on which I plugged a little USB audio card. I'm able to play music with MOC but I'm stuck with a volume way to high. ...
0
votes
1answer
78 views

How can I find out how much memory a person uses on Linux?

Is there a utility for Linux (Ubuntu), which keeps track of things like how much memory on average a person uses?
0
votes
1answer
249 views

PHP 5.4.3 RPM and steps of installation?

Can someone please point me a PHP 5.4.3 RPM that includes mysql and PDO ? I appreciate if someone can guide me or give me link to step by step installation of rpm. I have redhat linux. (gcc version ...
4
votes
3answers
1k views

Is there a program which can count occurrence of a certain string in a binary file?

I have a binary file and I need to count occurrences of certain string in this file or even list then with offsets. In windows or Linux (for this task I use Fedora 12 and w2k).
0
votes
2answers
761 views

linux permissions: group files edited by different users

I cant seem to figure out how to achieve my goal to make a solution so all users within a grou work with the same set of files freely. I got a group "developers", and they are developing a project. ...
0
votes
1answer
542 views

avoid X11 forwarding from Mac to linux

I need to run a program on Mac remotely via ssh from a linux machine. The funny thing about the program is that it has a command line interface, but it always creates a GUI window, even if this is not ...
16
votes
4answers
2k views

Undo tar file extraction mess

I just untar'd an archive that produced a mess of files into my tidy directory. For example: user@comp:~/tidy$ tar xvf myarchive.tar file1 file2 dir1/ dir1/file1 dir1/subdir1/ dir1/subdir1/file1 ...
-6
votes
3answers
3k views

Removing log files through SSH

I host my website at GoDaddy. I have a 9GB log file that I want to delete. I've logged in via SSH as root. How do I delete the log file? Filename Size Last modified ...
3
votes
2answers
2k views

How to remap Super/Windows(left) key to control key in linux

Could anyone please tell me how to remap my Super(left) key to Ctrl key in Ubuntu Linux? I mean Super(left) should work as control key..
8
votes
4answers
7k views

Why do file copy operations in Linux get slower over time?

I have 12 ~200 MB files. Copying one of them to another drive takes 20 seconds. When I try to copy all of them at once, it first says it's going to take 5 minutes, then it keeps slowing down into the ...
0
votes
0answers
613 views

Linux stuck one hour ahead (CentOS)

I use CentOS, and for some reason, one of the servers I bought (amongst a network of other servers I do not own) is off by one hour. The time is one hour ahead no matter what time zone I set it to. ...
0
votes
0answers
122 views

Possible to change dynamic libc.so address?

The commands gcc main.c -o main ldd main yield linux-gate.so.1 => (0x00f67000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00b7d000) /lib/ld-linux.so.2 (0x00ae5000) Is it ...
13
votes
4answers
6k views

Batch-OCR many PDFs

This has been discussed a year ago here: Batch OCR for many PDF files (not already OCRed)? Is there any way to batch OCR PDFs that haven't been already OCRed? This is, I think, the current state of ...
2
votes
4answers
2k views

Propagating changes to multiple Linux servers with one command

So, I have a dozen of CentOS Linux servers. By and large, their configuration is mostly the same. Sometimes I need to add extra cron job (separate crontab file in /etc/cron.d/), and/or copy over a ...
3
votes
1answer
2k views

df reported size/used/available discrepancy

$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-Backups 425G 377G 27G 94% /Backups Size = 425G Used = 377G Available = 27G Used + Available = ...
1
vote
1answer
905 views

Aligning partitions on a new SSD (dualboot)

I've been reading up on SSDs under both Windows and Linux. While Windows seems to do most of the aligning automatically and frankly all this information found online baffles me, I thought about ...
1
vote
1answer
1k views

Extend Desktop to Monitor over LAN

I want to make use of an old laptop by extending my the desktop from my main PC onto the monitor of this other, old laptop over a LAN connection. I've looked into Xdmx/dmx, but the project seems to ...
1
vote
4answers
3k views

Get PID of process started in screen by su

i have a simple script that starts quassel-core in a screen session as different user! The script is: #!/bin/sh su ircc -c 'screen -dmS quassel /home/ircc/quassel/quassel-core' I want to start and ...
0
votes
2answers
5k views

Apache(httpd) ./configure unable to detect APR?

I installed APR(Apache Portable Runtime) by following commands: wget http://apache.mirrors.pair.com//apr/apr-1.4.6.tar.bz2 ./configure --prefix=/usr/local/apr make make install Now when I ...
-3
votes
1answer
2k views

Does Linux support NTFS file system [duplicate]

Possible Duplicate: Is NTFS on Ubuntu stable? Does Linux (Fedora + Ubuntu) support NTFS file-system. They are known to support ext file system. I want to have same file system for both the ...