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

3
votes
1answer
3k views

What's the difference between /dev/sda1 and /dev/xvda1?

The Linux Operating System uses /dev/sda1, /dev/xvda1, etc., to identify block storage devices. From looking at their names, what's the difference between these two devices?
2
votes
4answers
818 views

Setting up a minimalist linux environment [closed]

All right, I've been messing around with various linux distros and a variety of window managers (I seem to change operating systems like most people change their pants), and I've gotten to the point ...
1
vote
2answers
638 views

How do I start my VirtualBox machine on login?

I have a Linux host with a Windows XP guest machine. I need that Windows XP machine starts after the user does login on Linux. So, how do I start my VirtualBox machine on login?
1
vote
1answer
933 views

wireless is disabled by hardware switch

I am using Ubuntu 11.10, Every thing was working perfectly fine. After an update is installed my wireless network is stoped working. I am using HP ProBook 4530s The network indicator on right top ...
0
votes
1answer
762 views

Dual Booting Arch/Windows - Windows sets self as active partition?

First time Arch install, though technically I've done it about 3 times in the last couple days :0) Trying to dual boot with an existing Windows 7 partition, which is almost working, with one small ...
0
votes
1answer
160 views

Are there Linux utilities for previewing files (partic. .doc's) rather than full-blown editing?

Instead of opening .doc, .odt, etc. files in LibreOffice which is resource intensive, are there any good utilities for simply viewing (previewing) such files without the need for editing facilities? ...
0
votes
3answers
3k views

Can I chroot to a linux environment from windows

I want to know if it is somehow possible to chroot into a Linux system from Windows, or, is there some technique or hack to achieve that?
0
votes
2answers
560 views

I've two swap partitions, how can i delete one?

I've installed Ubuntu on my computer but I did a mistake during the installation and it created two swap's. In fact I had tree partitions (system, home, swap) but the installator crashed so I ...
1
vote
1answer
248 views

How can Yum tell me the version of depencencies?

I've installed a package with Yum (Varnish 3.0.2). However, a feature I need has been removed so I need to roll back. According to the documentation, the feature was removed in 3.0-Beta, so I wanted ...
1
vote
2answers
3k views

`adduser [options] user group` fails ubuntu 11.04

I'm want to use adduser However it doesn't seem to work if I provide the second argument for the user's group root@a:~# adduser rick staff adduser: The user `rick' does not exist. The group exists ...
1
vote
0answers
3k views

How do I unmount a tmpfs that is missing from /etc/mtab?

I have the following line in /etc/fstab: none /home/hydra/tmp tmpfs user,noauto,size=1000M,uid=1001,gid=1001 0 0 I can do mount ~/tmp as user hydra and it gets mounted ok. The only problem is ...
1
vote
2answers
94 views

Why is SSH finding remote keys for other accounts?

This is a strange issue I'm having with SSH from my Macbook Pro to a Linux (Ubuntu 11.10) server. I have a DSA key setup on the remote Linux server under my home directory like this: ...
3
votes
1answer
1k views

How to disable Gnome from making Documents/ Video/ in HOME?

Everytime I login graphically on Ubuntu 11.10 it creates Desktop Documents Downloads Music Pictures Public Templates Videos in my $HOME. How do I disable Nautilus (?) from doing that?
2
votes
1answer
93 views

Can I ask yum to tell me what it would delete with a “yum remove” command

Is there a way to tell what yum would do "but not do it" for a given yum command?
2
votes
1answer
761 views

VMWare: Redirect linux console beep to sound card

I'm sitting in a large office of 20 people or so. I - as others - have headphones, so we do not disturb each other. The problem is that when my guest Linux beeps it "appears" on my laptop's internal ...
-1
votes
2answers
2k views

How to work with the .autostart directory?

I want to launch a java application when the system starts , so I created the .autostart directory in the ~/ directory. Now what should I do to make the java application starts with the system ?
0
votes
1answer
805 views

Does the Linux kernel implement ad-hoc routing?

I know that Linux has support built-in for connecting to ad-hoc networks, but does it implement any ad-hoc routing algorithm? (AODV, DSR, etc.) I'm searching for an implementation of some routing ...
9
votes
4answers
43k views

How to know that Java is installed in a Linux system?

I am using Ubuntu. How to know if Java is installed ?
3
votes
2answers
698 views

How to use “adduser” to create a user with an extra field, like Work Phone number?

I need to use adduser to add a user from the command line. Currently, I am doing sudo adduser -g someGroup -c "John Doe" dojohn but I'd like to have the command also include a "Work Phone number" ...
2
votes
2answers
234 views

Unlocking My CPU's 64-bit Goodness

I'm expanding my RAID array (Linux software RAID) and have run into what appears to be a hard limit of 16TB on the XFS file system. Poking around on Google seems to indicate that this is a result of ...
1
vote
0answers
269 views

Black screen when trying to install kubuntu macbook (2008 or 2009)

So I have a MacBook, which I believe is the 2008 model, that I am trying to dual-boot kubuntu on. Everything works fine up until the GUI is initiated (at least I think it is when the GUI is ...
1
vote
0answers
88 views

Dual boot - chdsk deletes files at startup

I have a dual boot system consisting of Arch Linux and Windows 7, with a shared partition to access files from both systems. Until a couple of weeks ago, I was predominantly using the Windows OS as I ...
2
votes
4answers
2k views

Linux Bridge Won't Forward Packets?

I am trying to share my Wifi internet connection on my laptop with a desktop computer temporarily. I have set up a bridge between wlan0 and eth0 (called br0), got an address on br0 from dhcp, and even ...
3
votes
1answer
312 views

Handling multiple SSH keys/configs

I have two SSH keys 'personal' and 'work'. With them I need to connect to a service: user@service.com. The keys are linked to two accounts on service.com, however in SSH they both have to use the ...
5
votes
2answers
1k views

Viewer for huge images under linux (>100 MP color images)

I have a lot of 50-100 MP colour images that I would like to view on linux. For example, 10000x17000 size is typical, but most image viewers will fail with out-of-memory. The file format is png or ...
5
votes
2answers
4k views

List directories containing files that match a regular expression

I would like to set up a simple filtering system on my FreeBSD server that allows me to create arbitrary "views" of directories. For instance, I'd like to be able to list all directories that match ...
0
votes
1answer
762 views

Ubuntu crashing with NVidia GeForce 550 Ti

I have an Asus motherboard p8z68-V motherboard with an NVidia GeForce 550 Ti plugged in. The system boots just fine when I'm using the onboard graphics, but when I plug in the GeForce and use that, it ...
2
votes
8answers
1k views

Best way to gain quick access to frequently used directory in linux terminal

Having some problems googling this one because I'm not sure what the search term is. Shell scripting or terminal feature. What is the best way to streamline access to frequently used directories. ...
0
votes
2answers
148 views

Different performance for different USB 2.0 devices

I copied a 3.5GB file from my SATA HD to my Seagate USB 2.0 external HD in about 3 minutes. I copied the same 3.5GB file from my SATA HD to my USB 2.0 SanDisk Cruzer and it took more than 15 minutes. ...
1
vote
1answer
1k views

ls: cannot access /directory/path/*.rar: No such file or directory

From the following results it appears the *.rar is being taken literally, and not expanded. man glob gives no detail as to how it expands. Would someone kindly explain why? ~/Films $ls "Night of ...
2
votes
2answers
181 views

Debian - LAMP Install

I am installing a LAMP install on Debian GNU/Linux and have been asked to enter the following command sudo touch /var/www/info.php I was just wondering if anyone could explain what it does. ...
1
vote
0answers
875 views

Unable to run X application as non root user

I have a couple of systems Running Suse Linux 11.4 & XDM Display manager . Red Hat Linux & Gnome in both these systems when I log in as root user I am able to execute any X application ...
1
vote
4answers
202 views

How do I get the start and end timestamps of a command?

I have a tool that outputs to standard output every so often, without loss of generality, let's say that the sequence goes: mysystem$ ./runme Starting Done mysystem$ Now 'runme' takes a while to ...
2
votes
1answer
228 views

Ubuntu machine users logging into the same ssh session?

I'm not entirely sure of the set-up, but there is an ubuntu machine at work that we use a shared account to log in. However if anyone else is logged in on the account you enter their session. I.e. you ...
2
votes
2answers
2k views

Why do bzip2 and gzip corrupt large heapdump files and can I work around it?

I'm trying to analyze heap dumps from a server which are fairly large files (10-15 GB). I create those files on the server and want to analyze them on my machine, so for downloading them, I tried ...
1
vote
1answer
1k views

Using fg with screen

I have a running job in a ssh terminal on an external server. I can pause it with CTRL + Z and resume it with fg. But I would like to pause it, run screen screen -S my_job and get it back in front ...
0
votes
1answer
173 views

Where to ppp username and password to initiate a PPP session?

I am using RedHat Linux 5.4 and I would like know where should I update the PPP username and password sothat I can connect to the ISP?
2
votes
2answers
6k views

How to use SSH over a proxy in Linux

I'm trying to use SSH from a bash shell (Ubuntu 11.10) to connect to my home university via a proxy at work. When I use PuTTY in Windows from the same place, I can put in the proxy details in the ...
1
vote
0answers
102 views

Command line Linux any document format to PDF converter? [duplicate]

Possible Duplicate: How do I convert this filetype to pdf? I am looking for tool to (similar to ooffice) convert to PDF. I know where from .odt can be converted to PDF. How about .doc or ...
1
vote
2answers
645 views

VNC from Windows XP to Ubuntu host using SSH

I am trying to use Putty and VNC Viewer on the client to connect to a Ubuntu host which has X11Forwarding yes and X11DisplayOffset 10 set in the SSHD configuration. I have enabled X11 Forwarding and ...
10
votes
3answers
8k views

Unable to resolve .foo.local domain names

My workplace has an intranet with domain names like server01.foo.local, server02.foo.local, etc. I recently booted the Fedora 16 live environment to test it out and discovered that these domain names ...
2
votes
3answers
13k views

How do I switch to a higher resolution in Centos 6 installed on a virtual machine (VirtualBox)?

I have installed Centos 6 on a virtual machine (virtualbox). Maximum available screen resolution is 800x600. How do I get higher resolutions?
2
votes
2answers
1k views

Logrotate Error

When using logrotate from a cronjob, I am getting this erros: error: unable to open /var/log/mylog.1 for compression Does any one know what does it mean and how can I fix it ?
2
votes
2answers
1k views

Utility to cat/gunzip a list of files

Is there a commonly-installed Linux utility that will take a list of files and cat or gzip -d (==zcat) them based on whether the file is compressed? An example of where I just needed this is when I ...
6
votes
3answers
4k views

Keep mplayer open after video playback

Is it possible to make mplayer freeze in the last frame of the video instead of closing? I am using CLI version of mplayer in linux.
0
votes
2answers
127 views

Is there a portable (non-su) file sync application for linux?

On my own machine, I use unison, but I need a different solution for my machine @work. I have no superuser permissions and dropbox et al. are blacklisted. The only thing I can use is a USB stick. ...
8
votes
3answers
13k views

How do the '-s', '-t', and '-c' options of the tr command work in Unix?

I am confused regarding the way -s, -t, and -c options work in the tr command. When I do echo I am a good boy | tr good bad I get the output: I am a bddd bdy This is quite understandable, since ...
0
votes
2answers
193 views

Why the startup of a new application causes system stuttering

All modern operating system are supports multitasking. So, each running app would get a certain amount of time slice from cpu for their operation(depending on their demand). The questions is, if the ...
11
votes
1answer
1k views

How can I prevent or interrupt accidental copy/paste in the terminal?

When I paste into the terminal, sometimes what is in the clipboard is not what I expected. Specifically, it is sometimes pages and pages of text from a website. When this happens, the terminal goes ...
1
vote
1answer
69 views

Is it possible (and if so, how) to have a terminal open on x-screen 1, execute a command on that terminal, and have an application open on screen 2?

Let's say you have two monitors hooked up to the same machine, running gnome (let's call them 'A' and 'B'). Each has its own, independent x-screen. Our goal is to type a command into a terminal on ...