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

7
votes
2answers
3k views

Xen for a Windows/Linux desktop machine

So here's the deal: For some time, I've been running Windows as my main desktop OS with Gentoo Linux in a VM. I've been thinking that running the systems concurrently in a hypervisor instead of one on ...
1
vote
1answer
365 views

VAIO VPC-SA with i915 driver display blink/noise

I have a VAIO VPC-SA laptop, with an Ubuntu 11.4 installed. The problem lies in the strange screen blinking/noise which is mostly noticeable in grey gradients and causes eyes fatigue and pain after ...
4
votes
2answers
4k views

Making SELinux play nice with OpenVPN (in NetworkManager)

I have been trying to use OpenVPN to connect to my work network. Using it via the command line works fine: openvpn user.conf I haven't bothered to set it up with DNS properly though, and it looks ...
2
votes
1answer
240 views

How to do compile make make install as permanent install so that it does not give this error?

I was building from source to test one bug i was facing, and I did apt-get remove gstreamer once. Since then when I do gst-launch it throws following: $ gst-launch --version ...
1
vote
1answer
276 views

How to mount a partition at startup for single user, and deny access for the others?

I need to mount an EXT4 partition at startup but not for all users, only for my user. If it's possible (I'm sure it is) I would like to deny all permissions from that partition for the other users.
1
vote
1answer
3k views

Warning: Partition X does not end on cylinder boundary. Should I care/how to fix?

My output of fdisk -l is Disk /dev/sda: 750 GB, 750153761280 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start ...
2
votes
1answer
6k views

What does “Enter IPSec ID” in vpnc mean?

I have been using Cisco client to get connected to a VPN. How do I use that profile to connect by VPN? I am calling vpnc from the CLI. It becomes interactive and asks a few questions. One I don't ...
2
votes
3answers
809 views

Will VPN will slow down VOIP traffic?

If I have a Linux setup with VPN in Paris and a Linux setup with VPN in London, both with high-speed internet, will packet-switching be slower for VOIP than if I didn't use VPN? A few people have ...
0
votes
0answers
2k views

ping and DUP! packets, but network seems to work fine

We have recently set up a small cluster of GPU workstations and have recently got them networked together. Although connectivity looks fine for e.g. web browsers and SSH, pinging other addresses ...
2
votes
1answer
599 views

Resolving hostnames without DHCP

We have a network of 2 computers connected to a switch without a DHCP server. We have manually set set each of out IP addresses to 192.168.1.2 and 192.168.1.3 and everything works fine. However we ...
0
votes
1answer
1k views

How do i know if this is a WAN or LAN Ip? Using linux tools?

Some body gave me ip 10.120.5x.14x, someone else gave me 12.1.7.x someone else also gave me like 164.x.x.x or 81.x.x.x. Its very confusing sometimes was it WAN or LAN class IP's. So how can i use ...
1
vote
3answers
13k views

Run an ISO file in Linux?

I have mounted an ISO file on my Linux machine. It's an ISO file to install Windows 7. It's mounted but I have no idea how to run it. There are EXE files inside, but I don't think I should touch them ...
1
vote
2answers
2k views

Access Desktop as root user in linux

I know the command to get to your Desktop is cd ~/Desktop. This however does not work as the root user. However I need to be the root user because I would like to move a file, from my desktop into my ...
2
votes
1answer
1k views

Switch between DHCP and static IP

My laptop needs to use DHCP at home and a static IP at work. As far as I can tell, there's no way to flip between one and the other quickly - I'll have to manually configure the network connection ...
4
votes
2answers
1k views

/etc/fstab equivalent in Windows

There's a file called /etc/fstab in Linux OS. It is a configuration file that contains information of all the partitions and storage devices in the computer. Basically it contains the mount ...
0
votes
1answer
193 views

I have a server under Linux OS, I delete the tomcat folder, how to restore it?

I have a server under Linux OS, I delete the tomcat folder, how to restore it? this folder contain all my project under webapps and my tomcat configuration please help me to restore this folder ...
1
vote
1answer
22 views

Problem for transferring file

I Have two remote servers like A and B. A is generating the dump of some tables from a database lets say (abc.sql).I want to transfer abc.sql to B.One option is scp but i didn't want to use because ...
2
votes
1answer
114 views

'at' command output on Mac

I need to execute scheduled tasks with at command: echo "VM-run.sh $1" | at 08.00 > at_output.txt 2>&1 I would have the output of VM-run.sh, but what I have instead is this output: job ...
1
vote
3answers
287 views

cut and paste filename with spaces into a command

when i type ls or locate as an output i get "a file.txt" (there is a space between "a" and "file.txt". i highlight it with a mouse and than paste it with a middle button. now i have to put \ after ...
4
votes
3answers
10k views

scp a single file to multiple locations

Can you scp a file to multiple locations in the same command? For example: scp file.txt user@ip-1.com:, user@ip2.com: Or would it be more practical to create a bash script that has all the hosts ...
11
votes
5answers
4k views

Is there a Linux window manager that allows separate virtual desktops (workspaces) on separate monitors?

For instance, in Gnome, I can set up multiple Gnome workspaces. But when I add a second monitor, all I get is my current workspace extended onto the second monitor. I hate it. Every time I run a ...
1
vote
3answers
65 views

How do I print a group of text matching a regex in Linux?

I'd like to print only few groups from text matching a regex. How can I do that in the Linux command line? What other tools for text processing are there in Linux?
2
votes
1answer
4k views

Interrupt number confussion

On my system (OpenSUSE 11.4 - kernel 2.6.37) ifconfig indicates different interrupt number for eth0 than proc aqd sys file system. ifconfig indicates 17: linux-3e1w:~ # ifconfig eth0 Link ...
2
votes
1answer
204 views

How to redraw Linux console [duplicate]

Possible Duplicate: How to correct the unrecognizable code in my debian? I printed the contents of a file(/var/log/wtmp) with non-ascii characters in my Bash console, which caused my ...
1
vote
1answer
81 views

Ensure libraries in /usr/lib{64} are found before those defined in /etc/ld.so.conf

I am running Fedora 15 x86_64 and have the Oracle 11 client installed, and have an /etc/ld.so.conf.d/oracle.conf file configured so I can automatically pick-up the client shared object file. However ...
1
vote
1answer
1k views

How to change the Linux display user name on the prompt

Choose Menu System->Administration->Users and Groups I am able to see my Users Settings as follows: User name: mike Then why I still see the following prompt line? user@ubuntu:~$ echo $USER user ...
0
votes
3answers
690 views

usage of chown in following two cases

I have seen two usages of chown that is used for changing file owner and group chown -R $USER:$USER /data/db What is the meaning of $USER:$USER chown `id -u` /data/db ...
14
votes
1answer
3k views

Linux command to concatenate a file to itself n times

I've taken a plain text file book from Project Gutenberg (around 0.5MB) which I want to concatenate to itself n times in order to generate a large text file that I can benchmark some algorithms on. ...
2
votes
2answers
915 views

Linux CLI tool or script library to query media files properties?

Does anyone know of a tool that would allow me to get the properties of any media file, in a parseable way? Something similar to what ImageMagick's "identify" does for images: $ identify libre.jpg ...
0
votes
2answers
349 views

Give parameters to grep command

I want to find some words from a file. I use grep command on linux. grep "word1" original.file But there are lots of words to find and they are in "words.file" If it is possible I want to give ...
16
votes
3answers
28k views

How do I disable password prompts when doing git push/pull?

Every time I want to push and/or pull from the terminal (in Linux) I have to enter a password. How do I remove this so that it pulls and/or pushes without the password?
1
vote
1answer
938 views

Where should I put the source files?

I am starting to develop a custom kernel modules, so I have the two related organizational questions: Where should I put all my source files? I keep the sources in home directory now ...
3
votes
1answer
95 views

is it possible to use a real machine virtualized?

I have a dual boot workstation where I mainly use my favorite flavor of Linux, but occasionally I need to log into its Windows XP installation. Is there any way to use this Windows partition ...
0
votes
2answers
84 views

Is there a cursor-based interface to change environment variables?

I often need to change a small part of long environment variable (especially, e.g., paths), and do it either by pasting the thing into an editor and changing it there, or the equivalent. Is there ...
0
votes
1answer
320 views

Tiny core drains battery

I was using a friends laptop and decided to boot into an install of tinycore on a flash drive. This laptops battery is already pretty much shot because it is left plugged in all the time no matter ...
1
vote
2answers
358 views

Shutting down mysqld

I am doing the following in order to shutdown mysqld in order to not have an open 3306 port sudo mysqladmin -u root -p shutdown However afterwards when I use netstat, mysqld is still listening on ...
1
vote
0answers
238 views

Is it possible to control the LED on Apple Wireless Keyboard on Linux?

I use an Apple Wireless Keyboard on Linux 3.0 and have remapped the CapsLock Key and use it frequently now and would like to turn off the LED as it has lost its function. There is a question regarding ...
0
votes
1answer
387 views

aplay not working on Ubuntu 11.04 for root user

I have ALSA on Ubuntu 11.04 version. When I play aplay through my normal user, I am able to get the output. When I do this with the root user, the command hangs: below stuff happens root@myuser:~# ...
8
votes
2answers
691 views

How do I test to see if all writes to my hard drive are aligned to its 4k sectors?

I'm using Linux with 4 hard drives that use 4k sectors. There are several layers between my filesystem and the raw devices: Disks > Linux Raid 5 > dm-crypt > LVM. Every resource I have found has ...
4
votes
2answers
495 views

Recovering Ubuntu after filesystem was overwritten using dd

I had an Ubuntu installation on my laptop, on an encrypted LVM (this was /dev/sda1). I was planning to write an Arch Linux image to my USB drive (/dev/sdc1), following this guide - ...
3
votes
3answers
267 views

What is the Linux equivalent of FAT and how does it relate to block devices?

New to Linux and am having a tough time understanding some basic OS concepts. What is the Linux version of FAT, and how does it relate to these so-called "blocks" or block devices?
0
votes
1answer
314 views

How to use scp to transfer files from WAN to LAN

I have machine A with a public IP address (addr_a), machine B within a LAN of private IP address(addr_b), the router of the LAN has a public IP address (addr_r). If I log into machine A by ssh from ...
2
votes
0answers
541 views

How to downmix 6-channel DTS to stereo from the command line?

I tried command eac3to.exe src.dst dst.wav -down16 -down2 (v.3.24) but it just re-produces the same 6ch audio without any warning. Operating system: both Windows 7 and Ubuntu. Update: See a solution ...
0
votes
1answer
118 views

Why does the openSUSE live CD stop copying files to the system?

I was trying to install openSUSE11.4 using the Live CD. But when it started copying the root filesystem, it hung on 15% and waited forever. The CD stopped spinning too.
0
votes
1answer
136 views

Issue removing VM from VirtualBox

I want to remove Virtual Machine and I have deleted VM folder from hd. It's still shown in the VirtualBox GUI but the settings are grayed out.
0
votes
1answer
671 views

Installing Python on cygwin

How do I install Python on cygwin? I downloaded the Python-2.7.2.tar and uncompressed it. What do I do with it now? I tried running install-sh but it says no input file specified
11
votes
4answers
14k views

How can I find a file by its content on Linux?

How can I find a file by its content on Linux in the command line? For example, I want to find a file containing the word "helo" on my computer.
0
votes
1answer
36 views

Sort xdebug output

I have a xdebug function trace output that looks like this: 1130.8156 482236096 -160 -> memory_get_usage() 1130.8156 482236112 +16 -> X 1130.8157 ...
3
votes
1answer
5k views

My HP ProBook 4530s got much hotter with Ubuntu Linux than Windows 7

I have a ProBook 4530S with Windows 7 on it. I've got the software drivers from here. I just installed Ubuntu 11.04 x64 on it. I am noticing that the notebook became much hotter, even after ...
2
votes
2answers
5k views

Piping in and out of tar and gzip

I am trying to get a handle on how to pipe from a command into something like gzip, cpio or tar. The commands in question belong to the ZFS system. I am running ZFS on Ubuntu Linux 10.04.3. The ...