Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

4
votes
3answers
2k views

Openstack for home cloud hosting

I am experimenting with a couple of technologies that I soon may have to use at work. So for now, I was thinking about duplicating the environment which I may have to create for my office at home so ...
7
votes
1answer
1k views

pm-utils: No network in suspend scripts?

I'd like to put a script in /etc/pm/suspend.d/ that needs network access (for a very short time) before allowing the system to suspend. However, even with scripts named "001_something" in ...
2
votes
1answer
409 views

Add echo command to /etc/profile to disable screen blanking

I am considering adding the following echo command to /etc/profile echo -e ‘\033[9;0]\033[14;0]’ The system in question does not have setterm command available and is just running text console. ...
-1
votes
2answers
16k views

How to start linpus linux on an Acer Gateway NE56R?

I just purchased a laptop and the pre-installed OS is Linpus Linux. It only shows: [root@localhost /]# What do I do? How can I tell if X is running? Do I need to install it?
1
vote
1answer
54 views

How can I tell if a kernel has some “new” config?

I'm making a simple kernel auto build script, right now I need to detect if there's a new config that need to ask the user (I don't want to use the default value), if so, it launches make menuconfig ...
0
votes
1answer
845 views

Cannot execute binary file on Linux server [closed]

I'm currently trying to run Knime (a Java-based program) on a Linux server, and every time I try to execute the file (knime) it gives me a "cannot execute binary file" error. I've posted the relevant ...
4
votes
4answers
213 views

Virus 'caught' while using Linux lays dormant, becomes active when login into Windows, can it be?

Can I 'catch' a Windows virus, while using Linux - so it will be saved on my hard drive and start working when I log in to Windows? I know it wouldn't affect the Linux itself. I am using 'Dual boot', ...
1
vote
1answer
8k views

Remote GUI login from Windows machine to Linux machine [duplicate]

Possible Duplicate: Accessing Linux server from Windows machine in graphical mode via SSH How I can login to a remote CentOS' GUI from my Windows 7 laptop?
1
vote
3answers
2k views

open a already running process

I have 64-bit RHEL 2.6.18-238.el5 running. I access the machine through vpn. I started an application via terminal and while application was running there was disconnection in vpn which closed my ...
1
vote
0answers
364 views

How do restore printer settings from a backup

I recently re-installed my system from Mint 12 to Mint 14. Pretty much everything is set as before but I had apparently forgotten about the printers. In order to avoid resetting all the small ...
1
vote
1answer
412 views

Firewall/routing rule in Centos for this setup

I have two ethernet interfaces, namely eth0 and eth1. I want to implement an advanced routing rule but I am totally new to firewall/routing rules in CentOS. Here is what I am trying to do: Both my ...
1
vote
3answers
142 views

Script to insert line into files in sub-dirs

I have a sub-dir tree with varying number of branches and most of the branches contain .cpp files (many of them). I have a header-file at the root of the tree that I want to have as a #include ...
4
votes
1answer
2k views

How does udev create /dev/sr*? (Or: Which rule does create /dev/sr*?)

udev is responsible for populating /dev. It adds and removes device nodes to /dev dynamically based on rules/configs/scripts under /lib/udev and /etc/udev/. If I have a CDROM device node /dev/sr0 I ...
1
vote
1answer
788 views

Login other bash ttys after logging in to one

Is there a way to login certain (or all) ttys after logging into one? I don't want auto-login because I still want to login once (for security). I've looked into things like "screen" but they are ...
5
votes
2answers
16k views

How to start an application automatically on boot

I am new to Linux & looking forward to start application (which toggles a led every 10 sec). I have written the application program & it is working fine but now I want to start it ...
5
votes
2answers
882 views

SquashFS image as rootfs in LXC

Is it possible to use a SquashFS filesystem as an LXC rootfs? I can mount an ext3 image as a rootfs just by setting lxc.rootfs to the filename, but if it's any other type of image, lxc-start just says ...
13
votes
4answers
15k views

How to trace a java-program?

As a sysadmin I sometimes face situations, where a program behaves abnormally, while not creating errors at all or creating nonsense error-messages. In the past - before java came in - there were two ...
7
votes
4answers
1k views

Linking /proc/mnt to /proc/mounts

I understand that /proc filesystem reflects the output of various processes. Unfortunately, I have a propietary (romdump) binary that expects the mount table to appear as /proc/mtd, while my Android ...
2
votes
1answer
3k views

Which drive had a “journal commit I/O error”?

I received a message: kernel:[123456.789012] journal commit I/O error Which disk drive had the journal error?
6
votes
1answer
3k views

Tracking down “missing” memory usage in linux

On an Arch 3.6.7 x86_64 kernel I am trying to account for the memory usage of the system, which the more I look at it, the more there appears to be a hole (in the accounting of used memory, a non-hole ...
1
vote
1answer
519 views

Vuescan Application

I have Kodak i1120 document scanner. Driver is available for windows only. But an application named Vuescan managed to run it on Linux ( tried on Ubuntu 11.10 and 10.04 ). How they had managed to do ...
2
votes
1answer
223 views

No /proc/sys/fs/binfmt_misc/CLR on my system?

I run docky which is programmed with mono so I think the binfmt is running correctly, but proc-sys-fs-binfmt_misc.automount complains about it, since I don't have /proc/sys/fs/binfmt_misc/CLR I ...
2
votes
1answer
1k views

systemd failure on binfmt services

Systemd has several failed services, and I don't know how to work it out: # systemctl --failed UNIT LOAD ACTIVE SUB JOB DESCRIPTION proc-sys-fs-binfmt_misc.automount ...
5
votes
2answers
437 views

manage unix user settings across multiple machines

I have many different linux machines with similar "profiles". I want to keep my settings in sync. e.g vimrc, zshrc,. I have the problem that they are various distributions of Linux with various setups ...
2
votes
2answers
2k views

Sphinx Search shutting down after `FATAL: accept() failed: Too many open files`

I'm running Sphinx Search Server V2.06 ( the latest stable release ) on an Amazon EC2 with Linux CentOS. In general it is running fine, but the searchd.log is showing this error over and over with ...
4
votes
3answers
811 views

Linux installation stops working after a few reboots

I'm trying to set up a dualboot Win8/Linux on my HP tablet (touchsmart tm2-1050ez). However, when I'm finished setting it all up, after a few more reboots, I'm not able to boot to Linux anymore, as I ...
1
vote
2answers
1k views

Linux guest VM on mac host - Keyboard

I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
-2
votes
1answer
127 views

What software(s) should I install on new system(with Linux as a OS) to prevent it from getting hacked? [closed]

I am switching to new system with a OS using Linux.I will be using another system which has windows ultimate which is hacked.I am being cyber bullied. I have given a reference to this as a question on ...
1
vote
1answer
515 views

grub does not boot when disk order changes

My BIOS has some problems and sometimes boot order of disks changes. I thought that if I insall grub on to the MBR of second data disk, it may boot. First disk(sda) is for boot and operating system, ...
2
votes
1answer
3k views

How can I list my `at` jobs by date?

I am using atq command, but I need to list my at jobs by date. How is that possible ?
1
vote
2answers
2k views

Kernel not detecting multicore cpu

Kernel Version 3.3.4-5.fc17.x86_64 CPU info: sashan@dhcp-au-122 ~ $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) ...
0
votes
2answers
315 views

Can linux be configured as a server or workstation in DCS and how? [closed]

I am a student of Instrumentation and Control. Considering the versatility and stability of Linux, I was wondering if Linux can be configured to act as a Distributed Control System? Also if yes, ...
1
vote
1answer
393 views

Linux + Solaris how to verify the last execute process from list of process

I need advice: How to verify which is the last scan_sys.sh process that run in my linux or solaris ? my target is to kill all scan_sys.sh process , except the latest scan_sys.sh ( the last execute ...
1
vote
1answer
258 views

Accidentally set /lib permissions to 644

Long story short, I've got an Ubuntu server box that was recently compromised (I believe through a known exploit of an older version of Tomcat, which has already been updated). Part of the exploit ...
1
vote
2answers
438 views

Running the linux kernel and Ubuntu on custom processor

This is hardly a theoretical question as many have done this, albeit there's very little information on the underlying processes. I'm developing a custom MIPS-based processor on which I would like to ...
4
votes
1answer
2k views

controlling priority of applications using cgroups

I would like to understand cgroups better and would like to understand the use-cases for applying cgroups. Are cgroups a good way for prioritizing different applications (i.e, giving higher priority ...
17
votes
2answers
6k views

How to get fewer ttys with Systemd?

In the old days I just modified /etc/inittab. Now, with systemd, it seems to start tty[1-6] automatically, how should I disable tty[4-6]? Looks like there's only one systemd service file, and it use ...
4
votes
1answer
21k views

/dev/sdb: No such file or directory (but /dev/sdb1 etc. exist)

I'm not sure what is wrong here but when running fdisk -l I don't get an output, and when running fdisk /dev/sdb # I get this fdisk: unable to open /dev/sdb: No such file or directory I'm ...
3
votes
1answer
257 views

Can I set up linux to accept a dial up connection from my old windows95 laptop?

I've got a really old laptop running Windows 95, and I'd like to be able to connect it to my home network. It doesn't have an ethernet jack, nor a usb port. It does have an internal dial up modem ...
1
vote
2answers
206 views

Hot partition CentOS 6 and add boot pick?

I have an existing CentOS 6 installation working wonderfully and its owner now wants to add a separate Debian installation onto the same machine. He only accesses this host via the command line and ...
2
votes
2answers
5k views

Fatal error: Class 'HttpRequest' not found

Whilst trying to make this request I have this error. I have tried to run "sudo pecl install pecl_http" but always fails. Could not find curl/curl.h After I have tired(yum instead of apt-get ...
10
votes
3answers
4k views

Linux without any distribution [duplicate]

Possible Duplicate: Is it possible to install the linux kernel alone? I had watched the documentary Revolution OS and there is a basic operating System by GNU and the kernel by Linux. Then ...
1
vote
1answer
602 views

How to delete a file to the trash in BASH (Linux) [duplicate]

Possible Duplicate: Make `rm` move to trash I've looked everywhere for the answer, but I can't find it. Is it possible to move/delete a file to the trash folder on linux. But also having ...
1
vote
1answer
183 views

Which is a better option for using OS on laptop: Linpus Linux or Linux? [closed]

I would like to know the difference between the two so I can install on my laptop from security point of view and as an overall performance.This is because I am being cyber bullied on internet.I have ...
2
votes
2answers
1k views

RSS(resident set size) is differ when use pmap and ps command

$ pmap -x 10400 10400: ./a.out Address Kbytes RSS Dirty Mode Mapping 0000000000400000 0 0 0 r-x-- a.out 0000000000600000 0 4 4 r---- a.out ...
2
votes
1answer
1k views

How to change the username in Ubuntu 10.10?

I want to change a username. In the prompt, which says abhishek@hello$, I want to replace abhishek with alok (i.e. alok@hello$). Is it possible to do that without reinstalling Ubuntu?
5
votes
3answers
3k views

how to login as a member of specific group

i want to login as a member of non primary group to create files whose owner as a member of non primary group of current user. -rwxr-xr-x 2 gowtham gowtham 4096 Sep 5 14:48 defaultNewFile ...
4
votes
1answer
19k views

How to modify ulimit for open files on SUSE Linux Enterprise Server 10.4 permanently?

SERVER:/etc # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 96069 ...
3
votes
2answers
1k views

How do I check active crons?

I'm trying to hunt down a cron job (or the equivalent) which I know is running, but I can't find it in the default cron files for my system (FreeBSD / Linux / BSD). How can I tell which ones are ...
4
votes
0answers
349 views

Screen flickers in Fedora 17

Screen flickers every 10 seconds. (I timed with a stopwatch, screen flickers every 10 seconds, 6 times a minute exactly.) I've used Windows and I'm trying to use Linux. I don't know much about Linux. ...