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

1
vote
1answer
497 views

Simulating audio playback on headless linux server

We have a headless linux server (Debian 5) we use for running integration tests of our web-page code. Among these tests are ones implemented using Selenium, which practically simulates a user browsing ...
1
vote
2answers
450 views

Permissions issue on Fedora with separate home partition

I am running Fedora 12 and I've setup a partition separate from my root partition to keep shared files and home directories. Now, I've been having permission issues where it says the user cannot ...
3
votes
2answers
9k views

How to display password policy information for a user (Ubuntu)?

Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Server Guide > Security > User Management states that there is a default minimum password length for Ubuntu: By default, Ubuntu requires a minimum ...
1
vote
1answer
780 views

Setting up NFS server on Gentoo

I'm trying to set up an NFS server on a Gentoo VM. I've installed nfs-utils-1.2.2 and added the following line to the /etc/exports file: /root/svn 10.0.0.0/255.0.0.0(rw,sync,no_subtree_check) ...
1
vote
2answers
1k views

Manually forcing TCP connection to retry

I have a TCP connection (SSH session to some computer for example) Network suddenly goes down and drops all packets (disconnected cable, out of range). TCP resends packets again and again, retrying ...
0
votes
3answers
1k views

Scanning to PDF/A on Linux

PDF/A is one of the best formats to archive my documents. What Linux software would allow me to scan documents to PDF/A ? A PNG→PDF/A or TIFF→PDF/A tool would be fine too.
3
votes
1answer
630 views

Remapping characters in xmodmap

I am using a Swedish keyboard, and I want to be able to type braces easier. I planned to map AltGr + å to '}' and AltGr + ä to '{'. However, nothing really changes. I have some other stuff in ...
3
votes
1answer
134 views

What site is there for sharing Linux custom configuration files?

I remember someone here at SU gave a link to a site where you could share your Linux custom configuration files (like bashrc, vimrc and others), but I don't remember what was that site. I already ...
1
vote
3answers
104 views

debian download where

where can I find all Debian release iso images with Linux kernel 2.4.x?.
1
vote
4answers
2k views

SSH client and Command Prompt replacements Windows look-and-feel

The Problem I've worked exclusively in Windows. I can handle that. I've worked exclusively in DOS (a long time ago!). I can handle that. I've worked exclusively in Unix. I can handle that. Right ...
2
votes
3answers
915 views

In linux, how do I map “caps lock” to “escape” while in Vim, but *not* in other applications?

Inspired by this question. I would like to remap Caps Lock to escape, but only when I am in vim. I would like to keep Caps Lock untouched while not in vim.
12
votes
4answers
5k views

How do you start a program after X has started?

There's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. Where ...
0
votes
1answer
267 views

In Linux how do I mount a OS-X partition * by name * that is on the same host?

I once used gnome-mount like this gnome-mount -o ro -d /dev/sda2 or gnome-mount -o ro -p "Macintosh HD" But, alas, gnome-mount seems to be no more. RIP. I can do this gvfs-mount -d /dev/sda2 ...
1
vote
2answers
475 views

Deleted /opt directory from linux machine , will there be any reboot problem for machine?

I deleted /opt directory from my Linux machine , will there be any reboot problem for machine?
3
votes
3answers
3k views

How to change the PDF reader of Chrome on Linux

It seems Chromium uses xdg-open to open PDF files. How do I change it to another PDF reader? I'm using Linux Mint 8 LXDE.
25
votes
8answers
54k views

How to get parent PID of a given process in GNU/Linux from command line?

Resolved before asked: cat /proc/1111/status | grep PPid
3
votes
3answers
430 views

How to know the level of a symlink in linux?

For example, if a symlink a -> b b -> c c -> d say, the symlink level of a is 3. Then, is there any utility to get this info? And, also I want to get the expansion detail of a symlink, ...
0
votes
2answers
480 views

Unable to start my linux (cent OS ) machine in run level 5

Suddenly my machine not working under run level 5 and it seems to be problem with xserver and it is saying that "in last 90 seconds xserver restarted 6 times and unable to start" and then just giving ...
43
votes
12answers
103k views

How to recover a removed file under Linux?

By accident, I used rm on a file I didn't want to delete. Is there a way that I can get it back under Linux?
-1
votes
4answers
294 views

what is the advantage of using Linux compared with Windows OS? [closed]

Hi what is the advantage of using Linux server compared with Windows .. except secure and open source answer.
3
votes
4answers
7k views

Writing a CPU/RAM usage log over a period of time to file on CentOS

I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file. I've been trying with variations of ...
5
votes
1answer
379 views

bash command history update before execution of command

Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT. However, I'm wondering if there is a way to log the commands to a file as soon as ...
2
votes
1answer
281 views

UPS compatible with Linux box?

I'm buying this unit from Deal Extreme: it's a bitorrent downloader, with NAS capability. I'm interested in sharing an external HD with media and backup capabilities, although concerned about power ...
2
votes
5answers
298 views

Avoid “privacy pitfalls” in Windows and Linux?

I have a Windows and a Linux machine. In Windows, everytime I visit a site, a lot of cache/history files are created on my machine. I setup my Firefox to don't save anything. ...but Windows saves a ...
10
votes
4answers
6k views

How I can make sudo session an hour and not few minutes in Ubuntu 10.04?

How I can make sudo Ubuntu 10.04 session an hour and not few minutes? Now I have to write my password for sudo commands every few minutes.
5
votes
3answers
6k views

Adjust screen brightness automatically at night

Can anyone tell me how to automatically dim my monitors when it gets dark at night?
2
votes
3answers
175 views

Watch Flash video but block out part of it

I'm learning a foreign language. There are several online sites that have Flash video in the language I'm learning (e.g., Hulu), which is great. Unfortunately, they have English subtitles, which is ...
1
vote
3answers
842 views

sharing a folder between linux and windows over the internet

Currently my job is to make websites with Django. I use many things like virtualenv, PIL, etc. The problem is, I can't stand Linux on my desktop. I like it on servers, It's greate to use it over the ...
6
votes
1answer
2k views

How can I use a keyfile on a removable USB drive for my encrypted root in Debian?

Recently set up root encryption with a couple of LVM volumes inside one LUKS volume, and I am just a little confused as to how I would go about getting it to automatically unlock using a keyfile ...
3
votes
6answers
24k views

Make command in Ubuntu linux

I just recently started learning different Linux commands but I still don't understand how to use the 'make' command. Please is there anyone that understands how to use 'make'?
1
vote
3answers
3k views

Dual Boot Windows 7 & Linux Ubuntu on SSD with Data on 2 HDD's in RAID 1

Can someone point me to clear directions for a Dual-Boot system using Windows 7 on #1 SSD and Linux Ubuntu on SSD #2? And then configuring 2 HDD's in RAID 1 for Data (NTFS)? Clean Install all around. ...
8
votes
5answers
2k views

Disadvantages of not having a swap partition

I recently installed Ubuntu 10.04 on my laptop. Due to space constraint of the SSD, I did not set a swap partition for the OS, and I have 1.5GB of RAM. There's a warning during installation, but I ...
0
votes
4answers
555 views

Running virtual machines: Linux vs Windows 7

I have tried running windows xp development virtual machine under windows 7 and the performance was dreadful. I'm considering installing Linux and running the virtual machine from the Linux, but I'm ...
1
vote
1answer
734 views

manual install perl-5.10.1-3.tar.bz2 on cygwin

I have the binaries: perl-5.10.1-3.tar.bz2 and I don't have access (admin privileges) to run setup.exe for cygwin, my question is how can I install manually inside cygwin the module for perl: ...
2
votes
2answers
595 views

Advantages of Re-Compiling of Linux Kernels: Share your Ideas

can you give me some advantages of Recompilation of New Linux Kernel and Installations. make xconfig modules modules_install install this is what i`m talking on. can someone provide me the basic ...
1
vote
6answers
738 views

Best way to manually sort random text files?

I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can ...
2
votes
2answers
1k views

SSD as primary or secondary drive on a small Linux server?

I'm pensioning off my 10-years-old home server and replacing it with an Ubuntu 10.04 box. The two storage devices are a Western Digital Caviar Green 2.0TB HD and an Intel X25-M 34nm Gen 2 80GB SATA ...
2
votes
1answer
409 views

Accessing a guest OS's directory from the host OS in VirtualBox

With VirtualBox you can share a directory on the host machine with the guest machine. Can you share a directory on the guest machine with the host machine? In my setup the host is Windows 7 and the ...
1
vote
2answers
3k views

What are the different file permission codes and what do they mean?

I am working with a file upload script. I am currently uploading a file and then trying to echo out an anchor linking to that file, but since I used mkdir() with 0700 permissions to upload the file, ...
0
votes
1answer
1k views

Set default wireless adapter

I just acquired a Wi-Fire long-range wi-fi adapter, and I would like to test it with my Ubuntu desktop computer. However, my machine defaults to using an internal, discrete wireless card (not ...
1
vote
0answers
274 views

Xinerama 3 displays can't have main display in the middle

I have 3 monitors running on 2 cards, they are all working as 3 seperate displays, however, if i move the main display from the left (0,0) i cannot drag to the left window as the mouse goes crazy and ...
0
votes
3answers
398 views

backup linux that installed inside windows

I have Ubuntu 10.04 inside Windows Vista. I'm going to install Windows 7 but I don't want to lose all the software I have downloaded. How can I backup my Linux on an external device (HDD, DVD ...) and ...
3
votes
1answer
1k views

3 monitors, 2 X screens, Twinview not working as expected

I have 3 monitors on 2 graphics cards (both nvidia) to get all 3 working i set 2 as twinview and one to have its own x screen. but when i do this, the twinview screens (which previously worked like ...
2
votes
2answers
3k views

Is there a way to start a Linux machine automatically?

On Mac machines the user can schedule the machine to power-on automatically, is there anything for Linux that gives us the same ability? I can schedule shut downs whenever I want, it's powering up ...
1
vote
1answer
6k views

Is there an equivalent to Airfoil available for Linux?

I just stumbled across this Airfoil on Mac OS X, which lets me 'throw' music from my laptop to any other linux machine, iPhone or other device hooked up to a better set of speakers than my laptop - ...
2
votes
1answer
4k views

Running a Linux virtual machine on Windows 7

I want to do two things: Set up a virtual machine on Windows 7 to run Ubuntu Set up a way for the virtual machine to read the windows disk or windows to have read/write access to the virtual ...
0
votes
1answer
113 views

Backing up a Windows 7 partition from Macbook with no OS X

I have a 3 year macbook with Windows 7 installed as 40gb and OS X as 40gb (80gb HD). I want to remove OS X as Im at the limit of 40gb on Windows and I have not logged on to Mac OS X since installed ...
11
votes
3answers
11k views

what is the max length of password on unix/linux system?

what is the max permissible length of password on unix/linux system?
0
votes
1answer
197 views

Is there a way to set a default “personalization” (window style, etc) in Windows 7 when accessing via Linux tsclient?

I have a Windows 7 machine at work and Ubuntu at home. From home I log into work (over a VPN) using Terminal Server Client (tsclient). But things are really slow with the style that's set on the work ...
1
vote
2answers
889 views

How to get scrolling plot in Linux (using command-line tools)?

Supposing I have a program that prints lines with data periodically, how can I turn then info them into graphical plot that updates itself each time new line available? $ ./prog 10 44 20 66 30 55 40 ...