Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
2answers
2k views

How to make a program which run from shell still live after close terminal? [duplicate]

Possible Duplicate: How do I prevent a script from terminating when the shell exits? I use gnome-terminal, and I run emacs under the terminal in the background by executing emacs &, but ...
-5
votes
1answer
205 views

What is the difference between Unix and Linux? [duplicate]

Possible Duplicate: Is Linux a Unix? i'm the very new one to this platform. So i want to know the main differences between the Unix and Linux ?
6
votes
1answer
3k views

Ctrl+Alt+F8 meaning

I know that Ctrl+Alt+FX (X=1 to X=7) are 7 different ttys. Suddenly, I tried to find out what other combinations Ctrl+Alt+FX (X=8 to X=12) leads to. After pressing the combinations, I found that a ...
4
votes
2answers
5k views

Can Linux support a “Ralink corp. RT2800 802.11n PCI” (maybe a RT2860STA?) in an Asus EEE 901 netbook

OK, I know that this isn't going to be straightforward, but I'd really like to get it working. About 18-24 months ago, my Asus EEE 901 netbook was working fine - running Ubuntu - and I let it ...
1
vote
1answer
359 views

Bring up alias interface on boot, when the main interface is down

In my CentOS 6.2 server, I have the following configuration for networking: The NetworkManager package wasn't installed on eth0 I have a DHCP configuration on eth0:1 alias interface I have a static ...
1
vote
1answer
2k views

“INIT: version 2.86 reloading” - cause and fix?

INIT: version 2.86 reloading appears on screen. Encountered this error and it seems there is no other way to fix this other than rebooting the system. unable to ssh in, unable to login via ...
1
vote
1answer
1k views

How to install a Debian package from internet?

I am trying to install Debian kernel sources using the following commands - sudo apt-get install linux-headers-$(uname -r) It prompts me to insert the Debian disk to continue the installation. ...
4
votes
3answers
1k views

In linux, would it be possible to run a script every day 3 minutes later than the previous day?

My first solution to this was to execute date +%Y%m%d%H%M and put that format of numbers into a file, and run the script every minute from cron. Then if the date from the file matches the date ...
1
vote
1answer
371 views

EUI64 and ipv6: how to use own EUI64 for IPv6 autoconfiguration

As I heard the extended unique identifier (EUI-64) can be used as the lower 64 bits of a IPV6 address. How can I set my own EUI64 = ( IEEE_company_ID + manufacture_ID) on the interface on Linux SUSE ...
2
votes
0answers
353 views

Pulseaudio/X permission other user/SSH

My user user1 is running a graphical X session with pulse configured per-user. I need to run a graphical program that uses audio with user2. If I do su user2; program program doesn't start and I ...
3
votes
1answer
492 views

Is it necessary to enable CONFIG_USB_OHCI_HCD , when there's only USB 2.0 ports

Is it necessary to enable CONFIG_USB_OHCI_HCD on a system that has USB 2.0 port only ? I'm not sure those devices present , e.g bluetooth , camera use that driver ? Bus 001 Device 001: ID 1d6b:0002 ...
3
votes
4answers
3k views

From df device name to physical drive name (vendor / type)

Seeing the device name by df, is it somehow possible to resolve it to the physical drive name such as vendor / type. /dev/sda3 915.4G 34.9G 880.0G 4% /share/HDA_DATA /dev/sdd3 ...
3
votes
2answers
423 views

/etc/motd is not displayed when a named pipe?

Running Gentoo 3.4.0 Having recently heard about the /etc/motd file, i tried to have it display random cowsay fortunes. I wrote some random bash script to act as a daemon, feeding the /etc/motd as a ...
3
votes
1answer
751 views

sysrq won't reboot with a keystroke, but will with echo “b” > /proc/sysrq-trigger

CentOS 6.2, 2.6.32-220.el6.x86_64 laptop. SysRQ is enabled for keyboard input, as is witnessed by: $ cat /proc/sys/kernel/sysrq 1 Common Magic SysRQ Keys are working such as alt-sysrq-h. However, ...
1
vote
0answers
114 views

Battery not detected on my embedded device on reboot

I have an ARM based embedded device with Linux Kernel 2.6.31 running on it. I have seen that while rebooting the device sometimes battery won't get detected and the device will just fail to boot. Any ...
3
votes
0answers
132 views

Restricting sound control

I need to restrict users so that they cannot output sound from built-in speakers. They should plug their headphones to hear any sound. They should be able to control headphone volume level, but not ...
1
vote
3answers
673 views

How to find all disks & their size before using them?

I need to know the following information, before using the harddisk to create logical volumes or database.. Any perl modules or snippet would be of great help. how many hard disks are presented to ...
4
votes
1answer
666 views

Why do Mono applications only start from their own directory?

If I want to run the application monodevelop, I need to chdir to /usr/lib/monodevelop/Bin and then execute ./MonoDevelop.exe. This is the same for all other Mono applications such as banshee, tomboy, ...
5
votes
2answers
362 views

`mpirun -np N`: what if `N` is larger than my physical cores?

Say I have a 4-core workstation, what would Linux (Ubuntu) do if I execute mpirun -np 9 XXX Will 9 run immediately together, or they will run 4 after 4? I suppose that using 9 is not good, because ...
5
votes
1answer
4k views

Logical volume missing after reboot

Centos- 6, LVM2 after a system hang and hard reboot. lvdisplay and lvscan return no volumes. It had volumes earlier...how to recover? there is data on LV (logical volume) - shared as NFS export.. ...
3
votes
2answers
1k views

how to find offset of one binary file inside another?

I have two binary files. One of few hundreds kilos and other of few gigabytes. I want to know whether the whole, smaller, file is contained within the larger one and if so then what is the offset from ...
1
vote
0answers
424 views

How to achieve fast user switching with multiple graphics adapters, prevent virtual terminal switch?

My boxen has two video nVidia graphics adapters which I'd like to assign to separate seats, including virtual terminals. This question most likely isn't display manager specific, but in this case I'm ...
5
votes
5answers
2k views

Unix bash script check empty gz files

I'm trying to write a bash script that will go into a directory loop through the .gz files and delete them if they are empty (ie the uncompressed file contained within in empty. I've got a couple of ...
13
votes
5answers
2k views

Getting information on a machine's hardware in Linux

How can I check what hardware I have? (With BIOS version etc.)
0
votes
1answer
1k views

how to make a large ISO storage on xen cloud platform (XCP) or XenServer

i've downloaded XCP 1.5 beta from http://www.xen.org/download/xcp/index_1.5.0.html. i've managed to install it too. my physical system specifications are 3.01 GHz i7 24 GB Ram 3 TB HDD now i would ...
10
votes
1answer
5k views

How can I test the RAM for data corruption on an ARM-based system?

I have an embedded device. It is ARM based, with Linux 2.6.31 and has 256 MB RAM. I wanted to get some ideas/tips on what is the most effective way to test the device RAM for data corruptions. Is ...
5
votes
2answers
256 views

Any other distro offer like Ubuntu Software Centre?

I want to know does any other linux disto offer anything close to Ubuntu Software Centre? Some of the features I like about it is A) Sandboxing B) Ability to search any of the libs/apps with ...
3
votes
3answers
162 views

Detecting whether a server is loaded

I have to start some performance test on a Rhel 6 box, but before starting the test, i have to make sure there are no other java processes running. The manual way of doing it would be to use "ps -ef ...
1
vote
2answers
273 views

System Management Mode in embedded systems

I wish to install Xenomai which works on Linux providing a kind of hard real time environment. x86/64 architectures are supposed to contain the "System Management Mode" which prevents them from being ...
2
votes
2answers
129 views

Is the system time correct when no date has been set?

If I was looking through a debian log file and I come across Jan 1st 1970 08:21:34 in a log, did the action happen at 08:21:34, just the correct date had not been set? Or if no date had been set is ...
1
vote
1answer
156 views

how to enable sound support in linux kernel without recompile?

I have recently compiled linux kernel 3.2. But at time of compiling in make menuconfig, I had disabled sound support. Now, I want to enable it without recompile it. I don't want to use stock kernel ...
3
votes
1answer
2k views

Webserver for Embedded Linux [closed]

I am building an ARM based embedded device running embedded linux having a web based interface and I need a webserver running on my device. At maximum it will get 50 requests at a time. I have on ...
2
votes
1answer
354 views

Shell from a Firefox tab

I have a requirement for a user in the office where they would like to open a terminal shell within a Firefox tab. Is this at all possible?
0
votes
2answers
471 views

Video Conversion Tool in Debian 6?

Is there any video conversion software in debian 6 which supports all format?
1
vote
0answers
568 views

Build Chromium from source

I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions: ...
2
votes
3answers
483 views

Why does Linux on sparc64 architecture use 32-bit pointers in user-space and 64-bit pointers in kernel-space?

What are the advantages of deviating from the norm; that is 64-bit pointers in both user and kernel space for a 64-bit architecture? Reference: http://lwn.net/images/pdf/LDD3/ch11.pdf (Page 2)
2
votes
1answer
1k views

Linux clean install on an HP ThinClient

I'm having some issues with installing and removing stuff in Linux. I have a HP ThinClient (T5325) and was following these instructions to remove the HP OS and set up a Debian OS: ...
1
vote
1answer
1k views

How do I know that a /dev/dm-XX device isn't used by anything on SLES 10.4 (64bit)?

I have a device that I can see in the output of fdisk -l: /dev/dm-XX (XX is a number.) How do I know that I can use this /dev/dm-XX to add it to a RAID1 array? How can I be 100% sure that nothing ...
2
votes
1answer
876 views

Custom directory for cron commands

I'm using vixie cron on Debian/Ubuntu. How to set a custom directory to be read by cron? I want to lead crontab to run commands found in a series of files, e.g. /home/cron/*.cron or perfectly ...
1
vote
2answers
3k views

How to “zoom out” screen windows, everything looks too big?

I bought new laptop Dell Inspiron and first thing I installed Linux Mint and Eclipse for Java development. But I didn't like the look of Eclipse, everything just looks too big on the screen. Half of ...
7
votes
2answers
4k views

How to configure network profiles in Centos?

I'm trying to setup two network profiles in Centos. One for at home, one for at work. The home profile has a fixed IP address, fixed gateway and DNS server addresses. The work profile depends on DHCP. ...
4
votes
2answers
2k views

Why does debian and ubuntu default to runlevel 2?

I never thought about this before, but I was wondering why they chose runlevel 2. Every other distro and OS I've used default to runlevel 3 (with the exception of AIX which also defaults to runlevel ...
4
votes
2answers
623 views

How can we use the command 'top‘ to monitor the total CPU usage and each processor usage simultaneously?

You know that we can use the command top to monitor the real-time CPU usage and toggle the result display to the per-processor view by pressing key 1. The disadvantage of it is you can only monitor ...
2
votes
0answers
627 views

Qemu doesn't boot kernel after “Uncompressing Linux… done, booting the kernel. ”

I've compiled qemu for s5pc110 (it's from http://gitorious.org/samsung-linux-platform/qemu, somebody had added support for s5pc110), version 0.12. But when I load the kernel: qemu-system-arm -M ...
2
votes
2answers
121 views

Is there an easy way to stop and reissue a command?

I am doing Node.js development in Ubuntu and I'm curious if there is a way to quickly stop and restart a node server. I run this command to start my app: $ node app.js When I make changes to ...
5
votes
1answer
597 views

Needs help on setting up kernel keyboard mapping

I already got the keycode from kernel, but acpi_listen won't recognize it in Arch Linux: # /usr/lib/udev/keymap -i /dev/input/by-path/platform-thinkpad_acpi-event Press ESC to finish, or Control-C if ...
3
votes
1answer
458 views

SELinux outbound access to other sites with restrictions

We have CentOS 6 configured with SELinux to host a number of websites. Unfortunately SELinux is preventing websites from accessing (outbound) sites, such as download.wordpress.com to update ...
10
votes
4answers
5k views

'mv' equivalent of drag and drop with replace?

In a GUI environment, a drag-and-drop with replace will replace files and entire directories (including contents) with whatever is being copied in. Is there a way to accomplish this same intuitive ...
2
votes
1answer
2k views

Keyboard and mouse do not function in Debian

I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
1
vote
3answers
642 views

Is it possible to overwrite your mounted OS partition with dd?

I was just wondering if I could run the following command on my mounted OS partition i.e. the one I booted from: sudo dd if=/dev/zero of=/dev/sda bs=1M I can't really experiment with this because ...