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

6
votes
8answers
2k views

Is dual boot worth-while?

I'm a genetics PhD student. The word-processing and referencing software available for windows is more suitable (and more compatible with computers in the library etc.), but there's some genetics ...
1
vote
2answers
1k views

File/folder permissions and groups on Linux with Apache

I'm trying to learn about permissions on linux webserver with apache. Some clues to the system: The server I have to play around with is Fedora based. Apache runs as apache:apache. To allow for e.g. ...
6
votes
3answers
9k views

How to secure Firefox traffic (+DNS) through SOCKS proxy under Ubuntu 10.04?

I'm using Ubuntu 10.04, and starting a SOCKS proxy with 'ssh -D', and setting Ubuntu to use it with "System -> Preferences -> Network Proxy". Firefox uses the proxy, and the proxy's IP appears when I ...
1
vote
2answers
647 views

Linux file command

I have noticed that Linux file command does not return any value if an xml file has the <?xml version="1.0" encoding="UTF-8"?> at the top. If the prolog is missing then file -i somefile.xml ...
2
votes
2answers
188 views

VM in console mode, Iinux, debian , how to ?

I have a server running Linux/Debian that I administrate via ssh. I need to provide some functionnalities with other OS, like openSuse or Windows. I want them running on the server in virtual ...
2
votes
0answers
718 views

Unionfs-fuse wont map directory onto itself

So I tried to union two directories together and failed. Here is a transcript of what I tried, and based on tutorials and information I've seen from googling around, I'm pretty sure this should work. ...
1
vote
1answer
117 views

Java and Ubuntu

Until today I always have problem running Java with Ubuntu ?! Is there a logical answer, why Java doesn't work as good with Linux as with Windows. I don't have a Windows Computer since several years ...
2
votes
6answers
675 views

Is there a performance hit using 32 bit Linux on a 64 bit CPU?

I'm running 32 bit Ubuntu 10.04 with 2GB RAM. Is my processor (AMD Athlon 64 X2) running sub-optimally? Given that a larger addressing space will make no difference to me (right now) would there be a ...
2
votes
4answers
3k views

Rsync to stdout?

I have access to backup server via rsync protocol (only rsync, nothing else). Now, I want to fetch file from there (which is .tar.gz) and pass it directly to tar command, without saving the archive in ...
2
votes
0answers
590 views

How can I get a screenshot from a not visible window of a application which uses OpenGL under X?

I am trying to make a screenshot of a not visible window under X. My first attempt was to capture the window using xwd or import (from ImageMagick). Unfortunately when window is under some other ...
2
votes
2answers
148 views

List installed packages in Debian from a file

I have a system that will not boot as /usr has been destroyed and I would like to get a list of installed packages before re-installing. I know that it's possible to get this using dpkg or apt, but I ...
7
votes
3answers
2k views

In place extract tar archive

I have a little dilemma here... I needed to move about 70 GB worth of files from one of my servers to the other, so I decided that tarring them up and sending the archive would be the fastest way. ...
7
votes
4answers
12k views

SSH key asking me for a passphrase?

I have a public/private key pair. Neither of them have any sort of passphrase associated with them. Whenever I try to ssh using either the private or public(and I'm pretty sure I should only be ...
0
votes
1answer
301 views

Gentoo startup error (D-BUS)

When I start my PC with Gentoo everything goes ok until it reaches INIT: Entering runlevel: 3 ... Starting D-BUS system messagebus It just stops booting here. What might be wrong and ...
0
votes
2answers
352 views

compiling this driver as a module on linux, without a full kernel recompile

I've been using an mbox2 as a external sound card on windows- it sounds better than my onboard soundcard or my ipod, and pretty much rocks my socks. There's a few small hitches - it only works with ...
1
vote
2answers
372 views

User groups in linux

I have a requirement to give permissions to a folder or file to multiple groups. I can do this using acl but acl is not present on our system. What other alternative do i have? I have to do this at ...
0
votes
2answers
111 views

Ending Linux scripts?

Hi I'm working on a script to manage some stuff on my server and I'm trying to figure out how I can close my script when I'm done with it. I open it using &, but how can I kill it with another ...
4
votes
4answers
472 views

How to add some string in the head of a new created file automatically in VIM?

To be specified,what I want to do is: if I create xxx.php,#!/usr/bin/env php will be the first line of the file if I create xxx.py,#!/usr/bin/env python will be added first. How can I approach ...
0
votes
2answers
822 views

Changing MAC address in a linux machine (fedora 8)

I am doing a test on MAC learning and for that ,I need to change my MAC address of linux machine while the interface is UP. To be more clear, consider eth1 in a fedora core 8 machine. And while the ...
0
votes
1answer
1k views

Set up a read/write volume for both Mac OS X and Linux on same disk?

I have a Mac laptop. I usually use Ubuntu Linux on it, but I want to start actually using Mac OS X. I want to have a volume that can be mounted read/write in both OS X and Linux. I just upgraded to ...
0
votes
1answer
547 views

How to unzip a windows-built .tar.gz in linux?

i wanna transfer files from my windows pc to linux server. suppose i have a file structure like this: img / logo.gif css / style.css index.php i tar.gz the directory, then upload, and then ...
2
votes
3answers
729 views

Opensource alternative to blackboard / webct [closed]

I'm trying to produce a list of opensource alternatives to Blackboard and webct EDIT: please provide user experience and recommendation. I'm not looking for a google search on the products out ...
1
vote
1answer
885 views

Ubuntu symbolic link the content of a folder

I have two folders such as nonserved/ folder1/ folder2/ and a served folder via Apache media/ js/ css/ img/ In the end, I want to include/append contents of /nonserved to ...
9
votes
8answers
6k views

Is there a Bash command to convert \r\n to \n?

Is there a Bash command to convert \r\n to \n? When I upload my scripts from Windows to Linux, I need a utility like this to make things work.
5
votes
5answers
3k views

How to change Vi editor background

I am connecting through putty and i am using vim editor in putty and writing program in perl. I dont have any particular vimrc file. My problem is that in vim comments are rendered in DARK BLUE on ...
25
votes
9answers
56k views

How to convert Word (doc) to PDF in linux?

I have a set of files in .doc format, that need to be converted to .pdf format. I am using Ubuntu linux.
1
vote
1answer
714 views

Schedule disk scan on boot Ubuntu

Schedule disk scan on boot Ubuntu. How do I do this? Ive completely forgotten.
4
votes
5answers
4k views

how to compile and run a cpp file using only one command in linux?

Recently I've started to learn cpp language on linux,and now I run a cpp file using following commands. g++ -o xxx xxx.cpp ./xxx Is there a way to make it one line command such as compile-and-run ...
2
votes
3answers
144 views

Linux Customizable Dialog?

I'm generally busy with more than one thing to do during the work day. I'd like an easy to customize dialog box that I can specify at the terminal. An example, when I'm done with a background copy ...
0
votes
2answers
390 views

Unable to establish connection to server

Working in CentOS. Want to have drag-and-drop SCP access to another system. Opened up the file manager (nautilus) and went under File -> "Connect to Server". Filed in the information, hit connect. ...
0
votes
2answers
329 views

Audio organizing via CLI

I'm looking for some software for my OpenSUSE, which with I would be able to organize my audio files. I've found one, which may be good, but it's unable to run without X server (in CLI). ...
0
votes
1answer
1k views

How can I find all PHP files with group write permissions?

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work? find -name "*.php" -perm g-w Thanks!
3
votes
2answers
10k views

How do I prevent Ubuntu from putting my monitor to sleep?

Ubuntu 10.04 Under Preferences > Power Management I have changed the settings to never put the computer to sleep and never to put the display to sleep. My display still goes to sleep and I am ...
0
votes
3answers
93 views

Linux Profiling

I want to profile my application which is most of the time doing I/O on a USB device. I need to see what process are running on system and what each process is exactly doing whole the time. ...
5
votes
2answers
5k views

Mouse button gets “stuck” down in VMWare guest OS

I'm using 64-bit Fedora 13 on 64-bit VMWare Workstation 7.1 (on Windows 7 Pro) and I'm having an issue with the mouse button. Everything works just fine unless I click and drag off the guest OS ...
0
votes
1answer
100 views

Which ebook reader should someone aiming to brush up his vocabulary pick?

I am looking for an e-book reader that comes with a dictionary. If I select a word I want to get the meaning pop up, and it must be ordered by relevancy based on the context in which the word appears. ...
4
votes
2answers
6k views

How to extract a single folder and its subfolders from a “tarball” (.tar.gz)

I need to extract a single folder and its subfolders from a tarball (.tar.gz) on a CentOS server. I haven't the slightest clue how to do it using an SSH terminal. I tried: gunzip -c ...
6
votes
4answers
16k views

How to Find the Device Associated with a Mounted USB Drive in Linux

How do you find the device (e.g. /dev/*) for a mounted USB drive in Linux (Ubuntu 10.04)? I'm trying to format a Cruzer USB flash drive, and when I plug it in, the icon for the mounted filesystem ...
7
votes
1answer
4k views

Can a Linux machine act as both a wireless client and access point simultaneously using a single physical WLAN interface?

If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other ...
3
votes
1answer
159 views

output redirection with sudo [duplicate]

Possible Duplicates: How to append to a file as sudo? sudo unable to write to /etc/profile The following command does not work because the elevated privileges do not apply to the ...
0
votes
1answer
376 views

HALEVT troubleshooting: VFAT usb storage device gets mounted with root:root user:group

i'm banging my head for number of days around this problem. using Halevt for automounting, everything mostly works, but the only thing is that Halevt mounts external USB storage devices as root. So, ...
1
vote
3answers
580 views

TTF Fonts in Latex on LINUX

I couldn't find much help on google. Can anyone suggest me some link?
5
votes
2answers
8k views

linux: how to run a command in a given directory

I simply want to just run a command (actually its a shell script) from a given directory as a cron job. How can I run it so that it is set to a given directory without using cd.
5
votes
2answers
5k views

Install deb packages in another directory (or equivalent)

I have a netbook with a tiny hard drive, and an external drive to go with it. It's running Ubuntu. I want to be able to install some packages to that external hard drive, so that when the hard drive ...
5
votes
3answers
5k views

How can I run my ubuntu partition in Windows? vmware?

My machine is dual-boot windows 7 and ubuntu 10 on different partitions of the hard drive. Normally, I boot into Ubuntu if I want to use Ubuntu. However, when I need to run in Windows I'd like to be ...
5
votes
3answers
454 views

Why does sha1sum act differently with the same input?

I'm trying to replicate the behavior of the sha1sum executable in some java code, however, in the process I've discovered that sha1sum appears to behave differently given the same input in two ...
5
votes
2answers
5k views

Force downmix to mono on Linux

For personal reasons (I'm hearing impaired) I need my linux machine to produce mono downmixed sound. Downmixed, not just single channel. Is there any possibility to force such behavior in ALSA / ...
16
votes
2answers
27k views

How to get file/folder size with SSH on linux?

I am using SSH to connect to a CentOS server and I want to get the file in mb of some files and folders, how can I do it?
3
votes
4answers
12k views

How do I make a script run upon startup of the Ubuntu machine?

I want to run /home/myuser/go.py How do I make that run in the background, everytime my linux machine boots up?
7
votes
3answers
8k views

Copy file in GNU/Linux with progress bar and rate limiting

Is there any good tool in GNU/Linux that copy files like cp, but also shows progress and limits speed (and changes limit without interruption) like pv? Prototype: find source_directory | cpio -H ...