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
5answers
32k views

How to copy files to /var/www on Linux?

I'm trying to copy files to the /var/www folder on Ubuntu 10.04. But I think I don't have the permissions. How can I do this? Is there some specific permission I should set to this folder? Thanks.
3
votes
4answers
2k views

Is there an interactive firewall for outbound traffic on Ubuntu?

I wish to prevent some programs from "phoning home", and to allow other programs to access only specific web servers. Is there any way to interactively allow or decline outbound communication from ...
0
votes
3answers
244 views

Would a 1.2GHz, 1GB RAM tablet run a graphical browser under Linux?

I want to install Linux on a tablet. The specs are: 1.2GHz CPU 1GB RAM It just needs to run a graphical browser which will run a local django application, probably writing data to an SQLite ...
1
vote
2answers
2k views

Ubuntu - Sounds from both headphones and speakers

Both the speakers and the headphones keep playing the sound with headphone plugged in.
1
vote
2answers
2k views

Message from Syslogd

During a ssh session running a long rsync-job the system crashed and I received the following output in my shell: Message from syslogd@x123 at Aug 21 13:42:05 ... kernel:[1050642.629179] ...
3
votes
4answers
1k views

VirtualBox with existing operating system

So my laptop is set up for dual-booting, Windows 7 and Ubuntu Linux 10.04. There are certain applications in which I want to access Windows from Linux. Is there a way to do this using VirtualBox? ...
1
vote
1answer
860 views

How can I send the same audio output to two audio devices?

Say I have 2 speakers connected to 2 different sound cards. Under Windows, is it possible to have some sort of virtual device that would forward an audio stream to both sound cards? If this can't be ...
4
votes
3answers
471 views

What are some options for connecting one Linux host's filesystem to the other?

I have two Linux hosts (both running Ubuntu 10.04) and I want one of them to have access to part of the filesystem of the other. I.e. I want remote1 to be able to access the files of ...
1
vote
2answers
430 views

What alternatives to SSH do GNU users use?

I have heard that SSH was originally for BSD. Is this correct? And what alternatives to SSH do GNU users use? Or do people just not use GNU for SSH or an SSH type application?
1
vote
5answers
140 views

Advice for taking a plunge into Linux

long time Windows and Mac user here. I am planning a plunge into Linux this week for the first time ever. Specifically, I'll be installing the latest stable release of Ubuntu. Any advice for making ...
4
votes
3answers
3k views

deleting everything: # rm -rf /

Just wondering, what happens when you delete every single file on a running Linux system? # rm -rf /
7
votes
3answers
4k views

rsync hack to bounce files between two unconnected servers

Here's the connection: [Server1] <---> [my desktop] <---> [Server2] Server1 and server2 are not permitted to talk directly to eachother (don't ask). My desktop, however is able to ...
16
votes
7answers
16k views

How does Mac's command line compare to Linux?

I love Ubuntu Linux - especially the commmand line. But I have to admit that, at least for now, Windows is more user-friendly - there's more software for it, more drivers, and more stuff just works. ...
0
votes
2answers
1k views

Copy an NTFS partition from a dying disk

I got a Windows 7 NTFS partition on a SATA drive which is having issues. The system crashed because of the corrupt pagefile the day I noticed file corruptions. Before the crash I noticed thousands of ...
2
votes
1answer
50 views

Hard drive malfunctions when other hard drives are connected

I have a SATA drive that worked fine. Then I installed two more hard drives into my system. When these hard drives are installed, if I try to access the SATA drive in Linux, it will start lightly ...
2
votes
2answers
3k views

misaligned raid partition in Ubuntu 10.04

I attached two identical hard drives to my linux machine. Then using gparted I formated the first 1024 mb at the beginning of each drive as linux swap space. Then I went into ...
0
votes
1answer
795 views

VGA output not detected with Linux Nvidia driver

I'm having a problem with getting the VGA out to work on my laptop. I have a Sony Vaio F series running Fedora 13 64bit with an Nvidia 330M on driver 254.44. Quite simply, the VGA out is not detected ...
1
vote
2answers
58 views

How viable is this scenario?

I have Windows 7 installed on my laptop a Toshiba A505 with 4GB RAM and Core2Duo T6500 processor. I'm thinking of installing a Linux distro and then using VirtualBox, create a Windows 7 virtual ...
2
votes
3answers
127 views

Moving from Vista to Linux

I am interested in changing the Operating system on an old laptop of mine from Vista to Linux. Problem is I don't know anything about Linux. I have been told Fedora is a good distribution for me to ...
0
votes
1answer
2k views

Unable to mount Windows Server 2008 share from Linux (fedora13)

I am trying to mount a shared drive on a Windows Server 2008 machine using a Linux machine (Fedora 13). I try mounting by # mount //HOSTNAME/SHARENAME /mnt/FOLDER and I get mount error(13): ...
2
votes
3answers
1k views

How to monitor written data from dd?

I have a huge disk image backed up using dd. I need to restore the disk image but dd is very silent. How can I monitor its progress?
2
votes
2answers
516 views

Synchronise system changes on two computers?

I have two computers with Ubuntu 10.10 on them, a desktop and a laptop. I have two options for handling them: try and keep them the same accept that they have different 'personalities' and branch ...
0
votes
3answers
113 views

how do i set up this firewall?

i use fedora 13, and i have firewall turned off now. but i want to allow all incoming connections and outgoing connections except to a port P. i want to allow connection to port P only from certain ...
2
votes
5answers
4k views

where did my dropbox folder go in linux?

I've installed Dropbox before on Mac and Windows and in those installations it asked me where I wanted my dropbox folder, but when I installed it on ubuntu 64 linux it didn't seem to ask that, and I ...
2
votes
2answers
424 views

List Partitions in Linux without privileges

Just out of curiosity, is it possible to list partitions in Linux without being root or using sudo?
4
votes
2answers
3k views

rsync by path/filename only?

Is there a way for me to rsync two directories comparing only filenames (and not file size, date modified, or any other criteria)?
3
votes
1answer
386 views

List availible NICs on Linux

I have CentOS 5.5 I want to list all availible physical (or virtual on DomU) NICs connected to motherboard and see it's MAC addresses. I guess that related information should be somewhere in /proc or ...
37
votes
5answers
47k views

what does the asterisk mean after a filename if you do ls -l

I've done an ls -l inside a directory, and my files are displaying like this : james@nevada:~/development/tools/android-sdk-linux_86/tools$ ll total 9512 drwxr-xr-x 3 james james 4096 2010-05-07 ...
1
vote
1answer
193 views

piping find to rsyncrypto

I am setting up rsyncrypto to create a backup of my user directory. I read that to exclude directories I need to exclude with find and pipe to rsyncrypto. I am trying to exclude all .svn ...
3
votes
3answers
15k views

Which is the best utility for opening .jpeg, .png and .tiff files on Linux? [closed]

Which is the most commonly used utility?
5
votes
3answers
516 views

Are the unix commands the same for Mac and Ubuntu?

I wonder if the unix commands (cp, mv, grep, args etc) are the same for Mac and Ubuntu. Do they have the same parameter lists and so on or do they try to stay the same but are slightly different?
0
votes
2answers
448 views

Windows Viruses Infected ext4 drive

I have a drive thats formatted as ext4 and being used by my linux install. It recently got infected by some viruses and clamav is just pathetic as it asks to delete each file, something which i would ...
10
votes
4answers
4k views

Understanding pipe in bash

I dont quite understand how pipes work in bash. I know that it takes an output from one command as the input in another command. What an output is i can get because it's what the command prints out ...
2
votes
1answer
673 views

How to mitigate the multi-core “performance penalty”

I've been doing some computations at home and at work and have noticed some unexpected performance issues. The work machine is quite a bit more "serious" than the home machine, but sometimes the ...
1
vote
2answers
2k views

Setting up a multi boot system with GRUB

There are lots of OSs and Linux dists to install on your netbook, and I want to make it as easy as possible to install, remove and switch between them. Just installing a dist and then another one ...
1
vote
1answer
441 views

Command not found - let me try again

I encountered some weird bahavior on my linux system. I created some bash script files, and changed their mode to be executable. However, some can be called while others can not. As a work around, I ...
7
votes
1answer
5k views

Awk doesn't work when inside double quotes

This command doesn't work: ssh $HOST "ls -l | awk '{print $1}'"` Above ignores the command awk. I think it might be because of the double quotes? Also, how would I add another set of double ...
1
vote
0answers
58 views

How is X-server configured with Windows XP? [duplicate]

Possible Duplicate: ImageMagick import command gives error on windows?? Well I have installed two X-Servers that are Xming And Cygwin. As the import command of ImageMagick works on ...
9
votes
3answers
4k views

How do I enable syntax highlighting for .bash_aliases in vim?

I'm working on reorganizing my .bashrc. I moved my aliases to .bash_aliases (which is sourced by .bashrc, but I can't figure out how to enable syntax highlighting for this file. vim seems unable to ...
1
vote
1answer
748 views

ssh'ing to a host and executing a command not working correctly

I have the following command: ssh $USER@$HOST "ls /ops/pkg/ec/`grep "PKRTS" /ops/pkg/ec | awk '{print $1}'`* > /tmp/tmp_file" What the above SHOULD do..is, ssh to the host then execute the ...
2
votes
4answers
3k views

Synergy Client Mouse Speed (Slow)

I'm using synergy+ with Windows XP as a server and a CentOS client. The mouse speed on the client (Linux) seems really slow. Is there a way to have the mouse speed from the server persist to the ...
5
votes
1answer
1k views

In what files in the home dir does xfce store the user config data?

In what files/dirs in the home dir does xfce store the user config data? Or if you like. What files do I need to restore from backup in order to restore my xfce desktop with all the different ...
1
vote
2answers
269 views

In what files in the home dir does gnome store the user config data?

In what files/dirs in the home dir does gnome store the user config data? Or if you like. What files do I need to restore from backup in order to restore my gnome desktop with all the different ...
2
votes
2answers
556 views

wget terminates unexpectedly

I need to periodically traverse a site to update the server cache. It is a database driven site with very many (thousands of) pages. I use wget to mirror the site locally on the same server, so I use ...
0
votes
1answer
154 views

Something like pwgen-win for linux?

Ok, is there some kind of pwd generator for linux like this one for Windows that has a nice GUI and options like this win-version has? I know that there is pwgen but as far as I know it does not ...
3
votes
2answers
5k views

How can i add “shortcuts” in linux?

How can i add shortcuts like 'rst' for restarting the tomcat in the terminal?
3
votes
2answers
856 views

Excluding a list of directories from Find

I am using rsyncrypto to backup a few of my user directories. I want to exclude some subdirectories from the encryption. I read that the best way to do this is to pipe the output of find to ...
12
votes
2answers
3k views

GNU sort by case-sensitive

The sort utility in Ubuntu 10.04 (Lucid) always sort by case-insensitive, just like if you specify --ignore-case to it. The two sort just give the same result: echo -e "c\nb\nB\na" | sort echo -e ...
4
votes
2answers
247 views

How can I see how much network traffic each thread is doing in Linux?

How can I see how much network traffic each thread is doing in Linux? Any information would be useful. (bytes transferred, # of accepts, etc)
7
votes
4answers
4k views

Linux copy to fat32 filesystem: invalid argument

When I copy files from an ext3 partition to a fat32 one using cp: cp -R /ext3/stuff /fat32/partition/ I get invalid argument messages for all files with colons and question marks in. Is there any ...