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

4
votes
3answers
3k views

Change password timeout on Linux?

If I type in the wrong password at login, then the system forces me to wait for about a second before I can retry. Is there a way to reduce this timeout? Also, is there a global timeout setting for su ...
8
votes
1answer
4k views

Show command as it's being entered in console vim?

For example, in gvim if I'm in normal mode then I press "ayiw to yank a word into register a, gvim shows the "ayi as I type it near the bottom right corner. Is it possible to get this real-time ...
2
votes
5answers
9k views

Linux equivalent of Windows Device Manager / DevCon utility?

I was wondering if there is any Linux equivalent to Windows Device Manager, or the Windows DevCon utility (a command line utility with hardware management functionality). Do drivers even work the ...
1
vote
1answer
191 views

linux mv command weirdness

can anyone tell me why when I type: mv -f ./tmp/members ./ I get: mv: cannot move `./tmp/members' to a subdirectory of itself, `./members' And moreover the correct way to move this directory? ...
2
votes
1answer
77 views

See local windows shares from linux

I was wondering if it is possible to see all the local windows shares on linux. Under windows I used to be able to see the public files of everyone "near me", is there anyway to replicate this under ...
2
votes
1answer
2k views

How to disable Skype from using system tray (notification area) on Linux?

I use AWN dock on Linux (which behaves much like Windows 7 panes, using one icon for launching an application and managing its windows). It loses Skype (as well as any other application) when it goes ...
2
votes
2answers
1k views

Literate way of moving all files to a new subdirectory

$ mkdir backup && mv * backup/ mv: cannot move `backup' to a subdirectory of itself, `backup/backup' Works, but issues a warning. Also exit code is 1. How to do it properly (but not [much] ...
1
vote
8answers
1k views

Launch a folder in linux?

I know i can launch a folder in windows by using explorer.exe path How do i do the same in linux?
1
vote
2answers
197 views

Unix and Linux differences? [duplicate]

Possible Duplicate: What is difference between unix and linux Where can I get complete information about Unix and Linux differences? I want specific detailed information even in architecture ...
1
vote
3answers
6k views

Can I use `chmod` to change the permission from -rwsr-xr-x to -rwsr-sr-x?

Can I use chmod to change the permission from -rwsr-xr-x to -rwsr-sr-x?
2
votes
1answer
3k views

Extracting tar file: Cannot open: No such file or directory

I have a remote Debian 5 machine on which I'm trying to extract a tar-file (Django 1.2.1, but that's unimportant). The first 1300 or so files extracts just fine (of about 2800 in total), after which ...
2
votes
2answers
395 views

copying text from emacs into other programs

Say I want to copy part of a file I'm writing in emacs into, say a blog post or something like that. Putting the text into the kill ring doesn't allow me to paste it into another program. As it stands,...
8
votes
2answers
21k views

How to untar an archive from one directory to another in linux?

I want to untar a package from one directory to another directory, directly from the command prompt. I want to untar the joomla package into the htdocs directory of xampp. How to do that directly from ...
24
votes
1answer
24k views

What does mkdir -p flag do?

What does the mkdir -p flag do? i.e the '-p' part?
1
vote
0answers
459 views

improving swapping strategy

I'm finding linux's swapping strategy to be somewhat less than ideal. In general I have a ton of processes running, maybe 40 or more big ones, and only end up using a few regularly. Nonetheless, I ...
43
votes
5answers
99k views

mount dev, proc, sys in a chroot environment?

I'm trying to create a Linux image with custom picked packages.What I'm trying to do is to hand craft the packages I'm going to use on an XO laptop, because compiling packages takes really long time ...
0
votes
1answer
219 views

Kernel compiling with -j2+ parameter ends prematurely with no error message or output bzImage

I've noticed quite a while ago that compiling a kernel with the parameter -j set to 1 or more doesn't produce a bzImage. Instead, it ends prematurely without any advice. I have reproduced the same ...
0
votes
1answer
3k views

Library not found - libgcc_s.so.1: version GCC_4.2.0 not found

I get this error in Ubuntu Lucid (which I did not get in Karmic): dlopen '/home/wesley/.doom3/base/gamex86.so' failed: libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++....
0
votes
1answer
841 views

Multiple virtual hosts with Apache on Ubuntu (separate log file for each website)

I have configured one Apache instance to serve pages for several websites, using VirtualHosts. Each site has its own configuration setup under /etc/apache2/sites-available/sitename. The final thing ...
20
votes
3answers
49k views

How do I dump physical memory in Linux?

How would one create a dump of the physical memory (RAM) in Linux? What software if any is available for this purpose? I have read that one should not write to a local disk but rather send the data ...
3
votes
5answers
1k views

Most effective backup software for linux -> linux when dealing with large numbers of files

I have two NASes. I work off of one, and the other is used as a backup. As I have it set up now, it's slow. Running a backup takes a week. Even for 7 TB, with 1,979,407 files, this seems a bit ...
1
vote
1answer
2k views

How can I get HDMI audio to be visible to `aplay -l` on Linux?

I've got a new machine with an Nvidia GeForce 210 graphics card with HDMI output. I'm trying to get sound to go out that HDMI cable, but although the device shows up on lspci, I can't get it ...
0
votes
1answer
749 views

Google Search w/ Chrome Incognito w/ Gnome Do

I've installed Google Chrome as my default browser in Ubuntu, and recently installed Gnome Do and enabled the Google Search plugin. The Google Search from Gnome Do works exactly as expected but for ...
1
vote
4answers
809 views

Distributing binary with dependencies in Linux

I'm developing a cross-platform application and I'm having trouble with distributing a Linux binary. In Windows the dll's were - libsndfile-1.dll lua5.1.dll lua51.dll openal32.dll sfml-audio.dll sfml-...
3
votes
7answers
9k views

Simple webcam server [closed]

I am looking for a simple solution to turn a standard webcam on a Windows or Linux PC into a source for webcam images in a website hosted on another machine. Ideally it implements a minimal web server,...
1
vote
0answers
444 views

How Can I Boot My PenDrive Linux using Parallels (Mac OS X)

I have a persistent Ubuntu 10.04 installation on a 8GB PenDrive that I use to boot on Windows computers. However I cannot boot this setup from my Mac. (Will look into using rEFit) I have been trying, ...
1
vote
1answer
626 views

DHCP negotiations consistently fails to obtain lease on first try and works on second try

I'm having some problems bringing up my wireless card at boot time on my Red Hat Linux 9.0 box. After some investigation with the boot scripts, I noticed that it was having problems with the DHCP ...
138
votes
7answers
89k views

Automatically answer 'Yes' when using apt-get install

Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?
15
votes
4answers
6k views

Why unprivileged user can't change file ownership?

From chown(2): Only a privileged process (Linux: one with the CAP_CHOWN capability) may change the owner of a file. The owner of a file may change the group of the file to any group of which ...
1
vote
3answers
4k views

clonezilla moving to bigger harddrive

I successfully cloned my hard drive from 250gb to 1Tb using -k1 on expert mode. but when I explore the folders, why is it still acting like a 250 gb hard drive. It is still showing that 180gb ...
2
votes
2answers
946 views

Minor video editing on Linux. How it's better to do it?

[Imagine] I have a compressed video file. How it's better to slightly change it? What software should I use? Examples of tasks: Make the video slowdown on some moment + draw a circle or freehand ...
1
vote
1answer
666 views

Fix Internet connection stalls (packets getting stuck somewhere?)

The wireless AP I've been using has glitched out and the two symptoms are the DHCP server no longer working, and random stalls in the connection. I can't reboot it, so I've been trying to solve the ...
0
votes
2answers
2k views

How do I find out what driver is being used with a webcam in linux?

On my Ubuntu (10.04) system, the Ativa SMP-6AS webcam has worked out of the box. On a minimalistic (no gui) Debian Lenny system, it only creates devices for audio (/dev/audio1, /dev/dsp1, /dev/mixer1),...
2
votes
1answer
2k views

Streaming low-latency video from a low-spec Linux box?

For a robotics project, I have a really low-spec Linux box (76MB ram, 729MHz processor, relatively good video card...yes, we're talking about a Nintendo Wii here) which I want to use to stream video ...
5
votes
3answers
3k views

git: Keep changelog for file when moving to a different repository

I am versioning my config files with git. Now I need to move some of my config files to a different repository, to achieve a clean structure. Is there a way I can keep the change log for a file if I ...
4
votes
2answers
9k views

How can I find files that are not modified in the last five months?

At our university we have the policy that on certain disks' data is deleted if it is not modified for six months. Now I would like to list all files that have not been modified in the last five months....
5
votes
2answers
12k views

What is the “the dos compatibility flag” in fdisk?

I fired up fdisk and got this warning: WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to ...
0
votes
2answers
648 views

Partitions and Volumes in RHEL5

What is the difference between a Partition and a Volume in Redhat Linux 5?
8
votes
4answers
12k views

Timezone conversion by command line

I know about http://www.timeanddate.com/worldclock/converter.html I can't figure out how to query http://www.google.com in a sane natural format like "5pm BST in PST". Or do I have to write such an ...
1
vote
2answers
103 views

how to search file at server

i'm newbie at linux... 1. i want to make backup database(use mysqldump) 2. copy from server(use linux-server) to client PC (use linux- ubuntu 9.0).. 3. before that i want to search that DB file using ...
0
votes
4answers
3k views

How do I install Adobe Reader 9 on Ubuntu 10?

I'm trying to install Adobe Reader 9 on Ubuntu 10. I'd be happiest to apt-get install something, but I'm not picky. I downloaded a file from the web site, but neither I nor Ubuntu knew what to do ...
2
votes
8answers
1k views

any emacs like tool while working via SSH

I use emacs for coding and other stuffs. I have now a website which I have to do so many file editing work on ssh connection. It was difficult for me to learn vi or nano. I like to know if any tools ...
11
votes
4answers
19k views

How to make Shared Keys .ssh/authorized_keys and sudo work together?

I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to ...
11
votes
2answers
8k views

How to get accurate window information (dimensions, etc.) in Linux (X)?

How can I get accurate window information in Linux? I know that I can use wmctrl to get a window's size, but the actual size of the window can vary due to window decorations. I need the following ...
2
votes
2answers
5k views

rsync permissioning?

I have run the command sudo rsync --chmod=a+rwx testfile testfile2 This creates a file testfile2 but the permissions on it are 755 (-rwxr-xr-x) Can someone explain how to make it so the ...
2
votes
5answers
7k views

Run a script in Linux for a specified amount of time before stopping and restarting

Possibly related to this previous question, I would like to be able to run a task for a specified amount of time, then stop/kill it, then start it again. Specifically, I run the Folding@Home ...
2
votes
4answers
266 views

Does virtual box mean my hardware only has to be compatible with the host OS?

i'm shopping for a laptop, and i'm considering setting up linux on it in virtual box or a similar virtual machine, i've been told if i want to run linux on a lap top i need to make sure the hardware ...
3
votes
1answer
3k views

Setting up NIS/NFS on Mac OS 10.6

We have an Ubuntu NIS/NFS server at work and we recently got a few new iMacs. Is there a way to set them up so they can use the linux user accounts and mount the shared nfs files? Are there any guides ...
13
votes
9answers
30k views

Is there a “restore point” in Linux (Debian/Ubuntu) like Windows?

I'm working directly in an Ubuntu Virtual Machine (VM). Some updates (like kernel) were available at the update manager. If I weren't using a VM, I wouldn't update it since it's a risk to break ...
0
votes
4answers
4k views

Problem mounting LVM in ubuntu

A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders ...