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

2
votes
1answer
712 views

Fast and reliable reboot after power loss

What is the best way to harden a linux system to power cycling? I often came upon systems used in shops, public, exhibitions, by several people where no one is responsible for. Usually those systems ...
1
vote
4answers
2k views

What is the difference between “drive letter” and “volume label”

I am under the impression that "volume label" is available on linux, too whereas "drive letter" is windows specific. Where can I read that up?
0
votes
0answers
490 views

What could be the reason behind this kernel panic

My laptop boots from the Fedora,Ubuntu live cd normally.But with Centos live cd there seems to be a problem as it displays the below lines. slab error in kmem_cache_destroy():cache ...
2
votes
3answers
3k views

While using ad-hoc networking, how to I force nodes to use the same cell IDs (bssid)?

I have Debian/Ubuntu hosts that I connect via an ad-hoc network with the following settings: board:~# cat /etc/network/interfaces auto wlan0 iface wlan0 inet static address 10.0.0.2 ...
1
vote
1answer
260 views

Ubuntu: automatically shown popup dialog is annoying. Can I disable it?

When I choose 'copy link address' from context menu or just select URL text, following popup dialog is automatically shown. It is annoying for me because this popup dialog grabs keyboard focus ...
0
votes
2answers
515 views

Installing Steam on Linux leads to “Cannot install 'libc6:i386'”

I'm seeing the above error message when I try to install steam on my fresh install of Ubuntu 12.04. I'm unsure how to proceed obtaining this package. Does anyone have any advice?
0
votes
1answer
1k views

Deleted Linux partitions but still get grub error and cannot boot into windows 7?

I had Windows 7 and Linux on a RAID0 disk- I deleted Linux, now when I boot I cannot get into Windows 7. I just get a grub error. If I try and use the Grub Repair tool and put that on a USB stick to ...
-1
votes
1answer
290 views

How do I enable some type of c++ syntax highlighting for pico in terminal? [duplicate]

I use my MacBook for my CS class, using terminal. I usually connect to a Linux server via ssh. The servers are super laggy at times so I've decided to just work on projects on my local machine and ...
0
votes
2answers
61 views

How can a read I file with another owner, in the same group and with the world readable bit set? [duplicate]

I am user tim, in the bob group, and I have a file with unusual permissions: $ whoami tim $ groups lp wheel cron audio cdrom video bob tim $ ls -l foo --w--w-r-- 1 bob bob 10 Feb 15 18:43 foo ...
2
votes
1answer
2k views

How to make xscreensaver turn off the backlight only when explicitly locked

Is it possible to set up XScreensaver so that it would turn the LCD backlight off only when I lock the screen by hand? I thought it must be controlled by the "Quick Power-off in Blank Only Mode", but ...
1
vote
0answers
170 views

Separate front audio panel in GNU/Linux

Is there a way to make the front audio panel act as a separate sound card in GNU/Linux? I have a motherboard with sound card that may be split into two logic sound cards (front panel and rear panel). ...
0
votes
0answers
71 views

Overwrite current Ubuntu partition

I have a dual-boot system with Ubuntu already installed. I am currently downloading Ubuntu 12.04 and wish to replace the Ubuntu partition which already exists, with the new ISO. I am currently at ...
2
votes
2answers
3k views

Set device when using gst-launch alsasrc

As part of my Sphinx setup, I listen to my input device like this: gst-launch alsasrc (Well, the actual command is this: alsasrc ! audioconvert ! audioresample ! vader name=vad auto-threshold=true ...
0
votes
1answer
39 views

Why aren't all alternatives listed / applied?

I've not used alternatives before, and I may be doing it wrong: I'm certainly not getting the results I expect. I need to use two versions of GCC, and wanted to set them up using alternatives. Here's ...
1
vote
1answer
5k views

BIND named… unknown host

I have a very basic home network: A CentOS 6.3 server (storage, DNS, httpd, etc), a desktop, several laptops. I was running an old version of CentOS on the server for a long time (5.4 or something) ...
0
votes
2answers
829 views

Alsa/PulseAudio mixing output from multiple processes

I wonder is it possible to rig alsa or/and pulseaudio so that audio output to left stereo channel will come form one process and to the right channel from another process?
1
vote
1answer
96 views

Can I use aliasing (e.g. “4xAA”, etc.) provided by 3D graphic cards to make my desktop look better?

All modern 3D video cards support some form of hardware-based "anti-aliasing" for games. The idea is to render the frame bigger than the screen resolution, and then downsample it to get smoother ...
35
votes
7answers
32k views

How can I find the oldest file in a directory tree

I'm looking for a shell one-liner to find the oldest file in a directory tree.
1
vote
3answers
107 views

Linux scripting without ./

I have 2 VMs. One is debian lenny and one is Ubuntu. There is a script by name "two" in different folders of debian (name "two" is same but the contents are little bit different in different folders) ...
1
vote
0answers
267 views

Cannot read NAS drives formatted for Linux

I have two hard drives (mirrored) in a QNAP TS-209 Pro II NAS box that won't mount properly. They are formatted for Linux (EXT3 file system) and the problem appears to be with the NAS, not the drives ...
2
votes
1answer
4k views

Linux user issues with PAM?

Had setup a user to use instead of root. Was working fine and dandy till I started playing with user settings. Now all users (apart from root) borked. Can't login (ssh) with other users, even after ...
1
vote
2answers
461 views

scp command creating a copy in the remote machine itself

The command I am using to copy a file from remote to my local machine is as follows: scp root@IP_OF_MY_REMOTE_MACHINE:/home/sqldump.sql ~ So I am copying from /home directory of remote machine to ...
1
vote
2answers
637 views

formatting of the diff output

I have 2 files that I want to differ. File B is produced appending some new line to file A. I want to highlight the appended data by using diff. I would like to avoid printing out the '>' characters ...
0
votes
0answers
597 views

memory issue with wowza server

I have installed the WowzaMediaServer on VPS which is also use for LAMP hosting. After starting wowza as Linux service I am running into memory issues as output of free -m suggest: total ...
2
votes
2answers
903 views

How to make a usb auto run in Linux/Ubuntu

I get what everyone is saying and suggesting, but I just got a EEE PC 2G surf as a gift for my son. I can find my way around Windows, but Linux/Ubuntu is unknown territory. All I want to do is to ...
2
votes
0answers
417 views

Why scrolling in Unity is faster than in Xmonad?

I noticed that when I use default Ubuntu's Unity, everything scrolls fast and smooth. By "everything" I mean web-browsers and vim in terminal when I browse source code. When I use xmonad it seems to ...
2
votes
1answer
2k views

SSH Tunnel for Samba over SSH Proxy

So I am trying to do something that is relatively simply in theory but my use-case seems to be hard to find since most proxying I find on the internet is in regards to setting up a proxy for your ...
3
votes
1answer
842 views

Measuring firefox CPU usage on Linux

Lately, Firefox has been running up CPU usage, usually taking up at least 25% CPU usage. Not a problem since I'm on a quad-core, but that measurement is spread across all CPU's, so it is still using ...
0
votes
1answer
52 views

The exact workflow of PVM (Parallel virtual machine)

These days I am learning PVM technology for concurrent processing. I go through so many blogs, tutorials to understand . Yes, I got some points, but no one gives me clear workflow of how it perform ...
0
votes
1answer
779 views

Port 443 TCP HTTPS Connections very slow - Ubuntu

I have a server application in linux that connects to port 443 to send HTTPS messages using SSL. When I run this code on my home linux box these connections go through instantly, but when I run this ...
2
votes
1answer
2k views

Conky transparency isn't working in Mint 14

I've setup conky on my laptop installation of linux mint 14 (cinnamon), conky works except for the font transparency. I'm using: xftalpha 0.5 in .conkyrc. But whichever value I use, the ...
0
votes
0answers
31 views

Is there a way to find out how many instances of the root user is logged into a linux machine? [duplicate]

We have a handful of users that login to our Linux VM machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are logged in ...
1
vote
2answers
248 views

Are there any Linux distributions which have Perl 6 as the default/only Perl version?

The title pretty much says it all. In the same way that Arch Linux has Python 3 as the built-in/main version of Python, are there any Linux/Unixish distros that have done the same with Perl 6? I ...
0
votes
2answers
2k views

How to load a module in gentoo?

I am using gentoo 2.6.30 and I tried to load a module as follows: modprobe usbcore with the response modprobe: module 'usbcore' not found However, I can find a directory with that name in the ...
1
vote
0answers
47 views

What do files names like 'usbdeva.b_epX' mean on Linux after USB device got plugged in?

On gentoo Linux 2.6.30 I see the creation of the following character devices in /dev/usb, when I plug in a USB device: usbdev2.8 usbdev2.8_ep00 usbdev2.8_ep02 usbdev2.8_ep81 usbdev2.8_ep82 My ...
1
vote
2answers
1k views

How to disable CTRL-C during init process?

I have set up a kiosk system with Linux Debian Wheezy. After booting a user gets logged in automatically, executing startx through /etc/inittab. Problem is that people could shutdown the machine or ...
0
votes
2answers
209 views

What should I backup on my linux server?

I want to setup a backup with rsnapshot, but currently I don't know what particularly I should backup? I mean should I backup my data ONLY like: /var/www /home2/ftpdirs /etc/httpd/hosts/ ...
0
votes
1answer
135 views

OpenSuse 12.2 and drbd

I am trying to setup tow NFS servers mirrored by drbd using OpenSuse 12.2 x64. There is a yast2 package for the drbd which I installed. The module is found under yast2 - Mischellaneous. I get the ...
1
vote
1answer
1k views

Ubuntu 12.04 Unity: how to assign applications to specific workspaces?

I always use my last workspace (workspace 4) for email and instant messaging. In KDE I could use the window menu (right-click on title bar) to tell KDE to move new Thunderbird and Pidgin windows to ...
0
votes
2answers
296 views

crontab not working properly

When I run a script manually using root it is working fine. when I execute the same script inside cron it is not running. I checked the cron is actually calling the script but the script is not ...
0
votes
1answer
177 views

Making an alias for `tree -P '*name*'`

I'm creating an alias for the following command with the tree program: tree -P '*name*' This works exactly as I want. But when I create an alias for this command, the command behaves differently: ...
1
vote
0answers
308 views

Unable to access certain Samba shared folders from Windows 7

I installed Samba and shared some folders to allow access from my Windows 7. But currently I'm having some issues. In my smb.conf [MYFOLDER] path = /usr/bin/MYFOLDER read only = no browseable = yes ...
1
vote
3answers
66 views

Linux command: search all the commands I entered

I'm using Ubuntu. there is a way to get a list of all the commands I entered that starts with the word: "git"?
0
votes
1answer
319 views

How to properly change directory structure/mount points for directory?

After several attempts to formalize my problem, I think, I finally managed to do it. What I have: mount -l ... /dev/md123 on / type ext3 ...
0
votes
2answers
2k views

running script containing sudo in cron

#!/bin/bash value=$(<man.txt) echo "$value" if [ "$value" == "true" ]; then echo "startedif_manthan" ps -ef|grep sym |awk '{ print $2 }'|sudo xargs kill -9; sleep 30; sudo sh ...
0
votes
1answer
27 views

Cannot start a script

#!/bin/bash value=$(<man.txt) echo "$value" if [ "$value" == "true" ]; then echo "startedif_manthan" ps -ef|grep sym |awk '{ print $2 }'|sudo xargs kill -9; sleep 30; sudo sh ...
1
vote
3answers
369 views

lazy prompt for ssh public key passphrase

I have ssh public keys set up on my computers. They have passphrases. Whenever I need to, e.g. push to github, I have to type in the passphrase. Each time. And I'd rather ssh remembered on subsequent ...
0
votes
1answer
472 views

How to dual boot Mac OS X and Ubuntu without rEFIt

I want to install Ubuntu on my Mac but I don't want have to use rEFIt. Can I do that? Can I just hold the control key on startup and use that to pick what I startup with? And if so would I install ...
1
vote
1answer
940 views

linux laptop - bind key and click to emulate right click

I have replaced my old iBook with a Asus laptop with Linux Mint. On that apple, to right click, you would press AppleKey (keyboard key) and click the mouse. Is there a way to enable similar behavior ...
53
votes
5answers
3k views

How to “unextract” a zip file?

I extracted a zip file into a non-empty folder. The zip file has lots of files and a deep hierarchy, that merged with the existing tree of the target directory. How can I remove the files and ...