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

1
vote
1answer
825 views

Allow window overlap in awesome WM floating mode?

I am trying to set up a tag in awesome that contains a web browser and tyrs (command line twitter client), where both programs overlap each other following the geometries I have set to them. (This ...
0
votes
2answers
763 views

Amazon EC2 and eventmachine encryption issues

I'm testing out an Amazon EC2 instance (Amazon Linux AMI 2011.09, EBS boot, 32-bit architecture with Amazon EC2 AMI Tools.) to see if it'll serve my purposes. I've written a small backend in Ruby ...
0
votes
1answer
749 views

Can I use nc and/or stunnel to make a transparent SSL proxy such that I can specify the outgoing source port?

I've been playing around a bit with different variations and can't seem to find something that quite works. I want to be able to 'bridge' an SSL connection across a particular gateway node in the ...
1
vote
2answers
207 views

How to edit file on virtual machine?

I broke my /etc/fstab file on my guest system in VirtualBox. How can I correct it? I tried virt-edit, but I can't get it working. Guest OS: Debian Host: Ubuntu
0
votes
1answer
887 views

How to install Erlang and RabbitMQ on OpenSUSE 11

I'm still very new to OpenSUSE , and I'm trying to install erlang then rabbitmq with the package manager but it's not working , like when I do : zypper install erlang Refreshing service 'susecloud'. ...
2
votes
3answers
281 views

Is there a way/ubuntu program to glue a bunch of program windows together into one window?

While developing, I like to keep a browser, and code editor open on the same screen. I'd like to find some way to join them and treat them as a single window, so they minimize together, and resize ...
6
votes
4answers
4k views

When you do “apt-get install” where are the .deb files stored?

I am trying to copy all of the packages I have installed on one Debian machine to another Debian machine without doing another apt-get install and downloading all of the package all over again.
1
vote
3answers
854 views

Automatic scene detection

I'm looking for a program which is able to split movie into parts depending on a scene change. So if movie consists of forest landscape and fishes in aquarium then I want to get two movies: the first ...
0
votes
1answer
474 views

Kubuntu 11.10 Internet Sharing via Wireless

I just setup fresh kubuntu 11.10. I have a wired internet in my apartment but need to do wireless internet sharing from kubuntu (laptop i using) to another mac book pro. I can't find the solution that ...
1
vote
2answers
5k views

Use tar and gz to create archive in Ubuntu Terminal

I want to archive 3 folders, given their names in Ubuntu command prompt. When I use tar -c abc tt zz -> it will do nothing.
0
votes
0answers
394 views

How to catch “action” link after submitting web form?

There is a login panel on bank site, and I'm trying to fetch/catch "action link" after (button press) submitting a form. Site is using https and some js scripts, that makes effort to read all of them ...
1
vote
3answers
3k views

Editing files in /var/www

I know that the owner of the files in /var/www must be www-data to properly run by apache. But when i run the chown -R www-data:www-data /var/www command i can't the php files in my editor. How can i ...
1
vote
1answer
1k views

Why can't bash display symbols like æ, ø and å?

I have a file I've called æøå.js (just an example), and when I run ls in the directory where it's stored I get root@chu:~/projects/someproject/server# ls src a.js b.js ??????.js So it seems such ...
1
vote
1answer
928 views

“boot error” Message When Booting From USB in Laptop

Trying to boot Linux Mint 12 in laptop from USB. When I prioritize BIOS to boot from USB, I'm getting a "boot error" message [no other messages]. I press any key and Windows 7 starts booting. The odd ...
1
vote
3answers
7k views

Strange cpuinfo, how many cores does these physical cpu has?

At the end of this post is my /proc/cpuinfo. I know the Physical cpu number is 2 grep 'physical id' /proc/cpuinfo|sort|uniq|wc -l 2 But how many cores does each cpu have? The 'cpu cores' shows ...
1
vote
1answer
786 views

Is there a way to encrypt a mounted file system for off-site backup?

I want to efficiently back up an encrypted copy of my hard drive. I am currently using rsync to backup an unencrypted copy, and I find it quite efficient. I looked at duplicity and rsyncrypto, but ...
1
vote
2answers
2k views

rsync fails after server restart

Usually I use the command rsync -av --delete someroot/somedir user@remote_server_ip:/someroot/. on my development server to synchronize somedir to a remote server. It worked fine. But after the ...
8
votes
4answers
3k views

How can I compress a file on Linux in-place, without using additional disk space?

I've got a 100GB drive that has a 95GB file. I need to free up some space on the drive (and right now transferring the file off the drive is not an option). The file would compress well with gzip or ...
2
votes
2answers
8k views

Where are the “program files” in Debian?

I'm new to Linux and not really sure how the file system works. When you install a program in Windows, it stores the program's files in the Program Files folder and creates an icon in the Start menu. ...
7
votes
3answers
690 views

Does any current workstation class graphics card support four monitors with RHEL 5?

I currently use a RHEL 5 workstation with a pair of Nvidia Quadro graphics cards, feeding four WUXGA (1920x1200) monitors. Unfortunately, using Xinerama to get a single X desktop means loosing much of ...
9
votes
3answers
4k views

How can I do Ctrl-Z and bg in one keypress to make process continue in background?

So I realized I follow this pattern of suspending the task and then letting it to continue too often with the Ctrl-Z bg sequence, I was wondering is there any way to compress that to single keypress? ...
1
vote
1answer
514 views

How to add bash-completion to user www-data?

when logged in as user 'www-data' on my debian server (squeeze) i want to use bash-completion. I follewed this guide, but i doesn't succeed: it is working for all regular users but not for www-data! ...
0
votes
3answers
2k views

Install .deb on Mac?

I recently came across this open source compressor that I want to use in my mac app, but it seems to be available for linux/debian. Is there any way I could use it on mac?
1
vote
2answers
1k views

Apache Web Server Works Locally Not Globally

I have been at this for a while tonight and thought I would seek some help before I hit the sack. I have successfully downloaded Apache and can run it without any issues on a fedora 16 box acting as ...
9
votes
4answers
8k views

Is Windows 7 Inside Linux Just as Good as Running as Main OS (esp for Graphics and Video)?

New Linux user. Was wondering if running Windows 7 inside Ubuntu/Linux Mint via VMPlayer will be just the same as running Windows 7 as the main OS. By "same" I particularly mean: Will the ...
8
votes
8answers
636 views

Per-directory bash/zsh history log files

I find I do a lot of work on a project in a set directory. Sometimes — a few months down the track — I need to redo something on that project but I can't remember what I did. I use ...
3
votes
2answers
846 views

How to force a drive to mount at startup in Ubuntu

In Ubuntu I have an external USB drive that gets automounted when accessed through Nautilus. The problem is that if I first open up a terminal and try to access the files, they're not there. I have to ...
5
votes
1answer
375 views

View unicode codepoints for all letters in file on bash

I have to deal with a file that has lot of invisible control characters, like "right to left" or "zero width non-joiner", different spaces than the normal space and so on, and I have troubles dealing ...
9
votes
2answers
2k views

Same file, different file size

I made a backup from my FTP server, with lftp and Transmit (Mac app). Everything is fine, but there is a different in file size for 1-2 files, but they are identical. First file: ...
0
votes
1answer
364 views

How do I create a backup before applying updates on CentOS?

I just installed CentOS and found a couple of updates using yum check-updates. How can I do backups for all the files on each update? For example, rpm or udev. I tried: cp -Rp /where-it-is-located ...
1
vote
4answers
3k views

How do I mount a software RAID1 (mirror) created by windows in Linux using mdadm?

I'm switching my Windows server to Ubuntu and am trying to get my software RAID1 (mirror) that I created in Windows to show up in Ubuntu. I have read that this is possible here using mdadm, but I'm ...
1
vote
1answer
556 views

Change splash screen on GRUB 0.97

I'm running a Linux from SuseStudio. I would like to change the background image at the GRUB screen. menu.lst contains the line gfxmenu (hd0,0)/boot/message. When I strings the file, I see the line ...
5
votes
4answers
3k views

“Could not claim interface on camera: -6” when trying to connect usb camera (Kinect)

I have installed the freenect library from openkinect.org. With that library there is a demo application which you can run from the terminal to test out the Kinect. However when I run this command I ...
1
vote
1answer
429 views

How to start plasma-desktop from SSH-console on desktop session?

I killed KDE's plasma-desktop on a openSUSE 11.2 machine, because it was eating too much CPU. How can I restart it via SSH or another tty session? On the affected computer there is only shown a ...
1
vote
3answers
3k views

Host your own website and dns server

I pay big money yearly for all of my website hosting, domain registrars, etc. My IP is dynamic and my provider allows different http ports. On my local webserver, I have access to my websites like ...
0
votes
1answer
161 views

How to install package from newer distribution?

I have Ubuntu 10.04 server and want to update a package to newer version (update rrdtool from 1.3.8 to current 1.4.5). What should I do? Download and build sources or get package from newer ...
1
vote
1answer
60 views

Modifiying a file in editor automatically

I'm trying to change a ppt to beamer. Here's the strategy I'm following: Copy all bullets from the ppt (open office) Paste it in an editor (gedit?) Hit save. (Here, it should call the sed script ...
6
votes
1answer
1k views

Linux equivalent of clip.exe

I am trying to figure out how to copy the contents of a file to and from the clipboard in Linux (Ubuntu Server 11.10, bash). Is there a linux equvalent of the Windows command clip < filename? If ...
1
vote
0answers
153 views

Can't get my monitor setup to stick with PCLinux OS

I'm using PCLinuxOS, which uses the KDE windows manager. I have to reconfigure my dual monitors every time I restart my system. I used the configuration utility to change the enable the second monitor ...
1
vote
2answers
738 views

Division with bc (bench calculator)

bc 1/2 0 5/3 1 10/3 3 When a fraction is entered into bc, the result is truncated to an integer. How can this behavior be avoided, such that the output of a division ...
2
votes
3answers
1k views

Running Python from a USB stick on Chrome OS

I have been thinking about running using Python on my chrome book. Is it possible to run Python form a USB key on my Chromebook? If so what would the steps be?
0
votes
1answer
803 views

Thunderbird (or Icedove) and Gmail IMAP offline caching

I currently use Icedove (Thunderbird as it's known outside of the Debian world) for accessing my Google Apps mail via IMAP. I'm interested in having this cached locally on my machine. I have lots of ...
3
votes
3answers
3k views

What software can I use to give my computer multiple copy and paste shortcuts?

I would like to have the ability to copy multiple items with different shortcuts, and have different past shortcuts, each linked to one of the copy shortcuts. For example, pressing ctrl+v would paste ...
2
votes
1answer
467 views

Delete old files x days and send email if its done

I have a script that works removing files x days and keep the folders. I'm trying to send an email once its done with the deletion. Any advice? Current script is below: #!/bin/bash find /testftp/* ...
1
vote
1answer
1k views

linux 'top' not showing all processes

I am running linux top command to see processes running inside qemu VM. Sometimes, a process does not appear in them, but if I run, ps -eo psr,pcpu,comm | grep myprocessname then the process is ...
0
votes
1answer
106 views

Windows 7 “home” sub-directory relocation

I'm setting up a new rig dual booting Linux and Windows with an SSD + HDD filesystem. I have Linux set up how I want: Under Linux: / is a partition on the SSD. /home is a partition on the SSD. /var ...
-5
votes
3answers
386 views

How to find the uptime in Windows? [duplicate]

Possible Duplicate: How to find out uptime on Windows? Is there any function like "Linux uptime" in Windows?
0
votes
1answer
339 views

what does the S and K in file name under /etc/init.d/rcx.d stand for

I'm using Suse11. I know the /etc/init.d/rcx.d is used for different run levels. And if you list of the directory, let's say rc5.d/. You can see that the filename either start with S or K, so what is ...
1
vote
1answer
406 views

track disk usage over time in linux

I know I can use df to get a summary of disk usage right now. I can use du to break down into the detail of how the disk is being used. The problem is I can only see this information for today. ...
0
votes
1answer
883 views

VirtualBox Under CentOS vboxdrv not loaded

I am a newcomer with linux. I have a little problem with linux. Whenever I try to open [start] virtual box, I get this error and do not know how to fix VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) The ...