A family of Unix-like 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
0answers
41 views

LiveCDs occasionally get corrupted filesystems

I made some modifications to a custom Ubuntu9.04 LiveCD (unsquash, re-squash, chroot, etc). It seems to work fine, but I noticed the other day things went really bad when a client was booted into it (...
7
votes
5answers
37k views

How do I copy a file/folder from another user's home directory in Linux?

I want to copy a file/folder from another user's home directory to my home directory in Linux. I cannot access his directory, because it says permission denied. I'm 100% sure that a file can be ...
2
votes
2answers
3k views

Extend own desktop with another one over the network in Linux

My colleague and myself are working together in the same room and each using two monitors which are placed side by side, so we can observe the work of each other. In most cases one of us discovers an ...
9
votes
4answers
19k views

Can I use an RSA SecurID software token on Ubuntu Linux?

I have Windows, Mac, and Linux computers; but I am only able to connect to some of my company's websites through the Windows and Mac machines at the moment because they are the only ones with RSA ...
2
votes
4answers
126 views

How do I get information about a partition through the command line?

On Ubuntu, I have the link to the partition (e.g. /dev/sda1). I want to know the labels, size,... of that partition. How can I do that with a command in which the partition's link is a parameter? It ...
5
votes
2answers
642 views

Running multiple versions of Chrome

Is it possible to run multiple different versions of simultaneously on Linux? I know I can do this with Firefox using the -no-remote -P switches but what about Google Chrome?
1
vote
1answer
127 views

What is the best way to manage groups of linux boxes remotely? [closed]

I'll soon have 30 boxes being used at one of our workplaces under my control and a few other groups (not as large) in separate locations. These boxes are behind a router and will occasionally need ...
0
votes
1answer
3k views

Linux Centos 5.5 yum update command is not working

I have done lots of things to update. yum clean all. yum clean metadata yum clean dbcache then ... yum update but the output is: http://mirror.centos.org/centos/5.6/addons/i386/repodata/...
0
votes
1answer
94 views

Serving internet with laptop via cable [duplicate]

Possible Duplicate: Share internet in Linux I have a linux laptop, connected to internet via wifi. I would like it to serve out the connection via its Ethernet port, so that another machine ...
1
vote
1answer
441 views

Sudden machine reboots observed with ipmiutil watchdog timer

Originally raised on serverfault as this question. I've got a production openSUSE 11.1 2.6.34.4 Intel server with a standard ipmiutil-2.4.1 installed. The watchdog is basically a 90 second hardware ...
1
vote
2answers
2k views

Set environment variables for non-interactive ssh

Where is the most appropriate place to set environment variables for all (including non-interactive) ssh sessions, and for all users (including root)? I believe that it may be in a script under /etc/...
1
vote
2answers
2k views

What does 'ssh -L :8080:localhost:8080 root@test.abc.com' mean?

Please can someone explain the following command ssh -L :8080:localhost:8080 root@test.abc.com Is it a ssh forward tunnel or reverse tunnel or port forwarding?
1
vote
1answer
3k views

What does eth0:cp1 refer to in ifconfig on CentOS?

I have a basic ubuntu background and am not familiar with the output of an ifconfig on a CentOS server I'm looking at, can someone explain the eth0:cp1, and eth0:cp2 entries here? How are they ...
0
votes
2answers
531 views

Why is my magnetic hard drive exceedingly slow?

Writes to my WD Caviar Green 2TB hard drive are exceedingly slow. When dpkg is setting up packages atop reports speeds of between 0.5 and 1 MB/s. AHCI is enabled in my bios. I bought the drive new. ...
4
votes
2answers
2k views

Using a CMYK .psd file with The Gimp

Is there a way to convert CMYK .psd files to an RGB .psd or to an .xcf (gimp format) on a linux computer (and without photoshop)? This question had no answers that helped me. XnView (installed in ...
2
votes
1answer
900 views

Is it possible to change a running process in linux, so that it doesn't quit upon logging out?

I know you can use nohup to keep a job running after logging out, but what about a process that's already running? Is there a way to change it's state, so that it continues to run even when I log ...
3
votes
2answers
5k views

Kill established tcp connection on Linux

How can you kill an established TCP connection on Linux?
2
votes
1answer
944 views

How does resolv.conf get populated on installation of a new OS?

I just installed a new VM, and looked in the resolve.conf file , in order to check on some issues related to DNS resolution. $ more /etc/resolv.conf ; generated by /sbin/dhclient-script search uchc....
1
vote
0answers
903 views

WINSCP File Transfer Speed

I'm very comfortable using WINSCP. However, it offer very slow speed. It shows Windows to Linux transfer speed just 250kb/s Is there any other WINSCP alternative which offers same set of feature ...
2
votes
2answers
1k views

working with graphic interface on ssh linux

We have a project involving Linux programming. Unfortunately, we have only an ssh interface, and not a convenient graphic one. What can we do? We heard that xterm can solve our problems, but we couldn'...
0
votes
2answers
108 views

Bad sdcard report 32DB but has only 2GB wired in, how to detect valid area

I bought a while ago a sdcard that is supposedly 32GB, but after using it for some time, I found that it only has 2GB wired in. If I write past the 2GB limit, the files I read are composed of zero ...
4
votes
1answer
911 views

How to add archive comment from a file or string?

I am writing a BASH script. I am using RAR 3.93 on Ubuntu 10.08. I want to add a comment to an archive example.rar. The comment is "This is a comment". rar c example.rar Processing archive rarcomment....
0
votes
1answer
909 views

Why do I get a different behavior of the scp command in csh and bash?

Why do I get a different behavior of the scp command in csh and bash? Same command is working in csh shell, but it not working in bash shell. Please can anybody help? bash-3.2$ csh Linux-007% ...
1
vote
0answers
557 views

How to understand capabilities of a mixer control output by “amixer”?

Could anybody help explain the capabilities values of an ALSA mixer control? What's the difference between pvolume and pvolume-joined? I cannot find the difference from alsamixer GUI output. What ...
0
votes
1answer
582 views

How to open/read files on different partition? C in Linux

From the command line, I want to do cat on a txt file on a different partition, how can I do that? I mount the drive manually and from the command line, I type: (this case, abc.txt in f drive) cat ~/...
2
votes
0answers
1k views

Unable to install synergy on red hat 5.4

I'm trying to install Synergy on Red Hat Linux 5.4 but I'm getting the below errors: rpm -ivh synergy-1.3.8-Linux-x86_64.rpm error: Failed dependencies: libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is ...
2
votes
1answer
403 views

Which emacs shortcuts are useful in bash? [closed]

Other than Ctrl+{k, u, a, e}, what other emacs shortcuts are worth remembering and useful in the Terminal?
1
vote
0answers
166 views

What's a good disk test that uses random data?

I'm trying to test a Linux driver, and I need a test like bonnie or dbench, but I need it to send random data. I'm trying to find corruption bugs, and if every write is all zeros I can't tell when I ...
3
votes
2answers
2k views

RAM test to run on an embedded device

I want to test RAM on my embedded Linux device for any kinds of problems. Can people suggest any RAM test suites out there? I am working on ARM architecture.
3
votes
1answer
1k views

How to share a directory across chroots

I have multiple chroots with different sets of software version as a light-weight alternative to VMs. How can I share a directory across the VMs? Naturally, symlinks do not allow to escape a chroot. ...
2
votes
1answer
2k views

Epson receipt printer slow on Linux

I am trying to set up a POS station for web-based software. The receipt printer, an Epson TM-T88V, is slow using Epson's own drivers and prescribed installation method. To clarify, it is slower than ...
1
vote
0answers
262 views

Linux kernel option for maintaining functionality upon undock/redock of laptop to a docking station?

I'm trying to compile a custom kernel. At present, here is the data: Hardware: HP EliteBook 8540w HP docking station Arch Linux default kernel behavior: with computer docked, usb mounse plugged ...
2
votes
2answers
1k views

Ubuntu Linux - Can i downgrade my kernel?

I recently upgraded to Ubuntu 11.10 however I noticed a large rise in power consumption when idle and alot more when doing light work. After reading online I found out this is a kernel thing so I was ...
6
votes
2answers
3k views

A “quick” vector editor (SVG) for Linux (for annotating images?)

I often need to take a bitmap (.png) image, and draw some lines or text on top of it, and possibly export a new, thusly "annotated" image. I know I can basically do all this in inkscape - but ...
1
vote
1answer
54 views

Mounting a binary/shell file that returns files modified in the past x days

I know that you can find files in a path and sub directories modified in the past week with: find -L /somepath -mtime -5 -type f I could assign that to a job and have it run every night to create ...
4
votes
4answers
362 views

Home wireless router as a PC

Is it possible to install a small program on a cheap home router that runs a Linux kernel and run it? I mean can I use a router that runs a Linux OS as a small computer to run arbitrary code on it? I'...
3
votes
2answers
10k views

How to list all users that have terminal sessions, including screen sessions?

I would like to have a list of all users that are active on my Linux system, including those who have running but detached screen sessions. The who command only shows me currently logged in users, but ...
2
votes
0answers
141 views

How to create a virtual keyboard in userspace?

I'm trying to generate keypress/release events similar to those produced by typing on a physical keyboard, but from a process that isn't attached to any actual hardware.
2
votes
3answers
893 views

Really annoying keyboard screw up when entering sqlplus

Often when using bash I am used to using the keys ^A and ^E to go to the beginning and end of line, and the arrow keys to move from character to character without erasing. Every now and then, I ...
1
vote
1answer
3k views

How to remove root-only access for /var/www files?

I have set up a LAMP environment. All of the files that I want to run on the localhost are placed into my /var/www directory. Each time I want to open up a file with write permissions, I have to ...
5
votes
1answer
1k views

will boot command params acpi=off or acpi=noirq ruin my hardware?

Dell xps 15z here. Really, really trying to install linux distro to dual boot from. first goto is bt. cant even get past 'initramfs live media filesystem not found' on usb boot. next was ubuntu, ...
1
vote
2answers
1k views

How to shrink an ext2 partition?

I have an ext2 partition that takes up the whole disk (which is /dev/sdc). I have unplugged the disc and plugged into another (linux) computer. How can I shrink this partition using resize2fs and ...
1
vote
0answers
425 views

File permissions for uploading images to server using uploadify

I am using jQuery uploadify to dynamically load pictures to a website. The files were not being loaded into the uploaded_image dir on the server at this stage the folder had permision 755 for root:...
0
votes
1answer
907 views

Unable to use PSSH on Ubuntu

Hi I just installed PSSH on my Ubuntu machine and Iä'm trying to use it to execute commands across multiple machines but I keep getting errors. Here's some sample output to show what's going on. root@...
0
votes
1answer
2k views

how to add interface based routing rule in linux

I'm wondering if it is possible to route a same packet differently based on which interface it comes from. For example, there are two Ethernet interfaces on a Linux box, eth1 and eht2. for IP packets ...
1
vote
2answers
4k views

How can I create a symlink which points to another symlink?

Is there any way to create a symbolic link which points to another symbolic link? I have link A (pointing to address1 = /home/data/username/var) in /home/data directory and I need to create link B ...
22
votes
9answers
111k views

How to find the /dev name of my USB device

I am running a Ubuntu 11 guest on a Windows XP host with VMware. I want to format an SD card in Ubuntu, but I can't figure out which /dev/xxx device the SD card is. I plug the card into the built-in ...
1
vote
1answer
4k views

FFMPEG able to convert m4a -> mp3, but unable to convert mp3 -> mp3?

FYI: Fedora 8 running on Amazon EC2... Having a difficult time with FFmpeg doing a (what should be pretty simple) conversion. I can get FFmpeg to encode an mp3 file from an m4a file using the ...
2
votes
2answers
352 views

Transforming a Virtual Machine into a Real Machine

I have created a Virtual Machine in VirtualBox to test Ubuntu and I really like it. Since I've already made a great deal of customization on that virtual machine, it would be a pity to have to re-...
0
votes
1answer
999 views

how to set up a DNS server in SUSE11 using command line

The results of a Google search on this topic are all "X solution". But the X interface are not allowed in the Suse Server I'm using, so I'm seeking for a "command line" solution of my problem.