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
0answers
2 views

unbuffer/expect swallows the rcode when its child is signaled

unbuffer is able to pass along the return code of a process under normal circumstance, but if the process you are unbuffering is killed, for instance with a segfault, I see $? as 0 while I expect 139. ...
0
votes
2answers
20 views

What is the significance of the “wheel” group? [duplicate]

I've commonly seen references to a wheel user group online as well as when setting up my sudoers file. Does naming a group wheel imply something special about the group or is it just a name for a ...
4
votes
1answer
28 views

What does a computer actually do with its spare CPU cycles?

When a computer is not running at full load, in the context of Linux, what does it actually do? Between scheduled threads, if there is nothing to do, does it spin wait? Does it enter some sleep state? ...
0
votes
1answer
21 views

Linux Permissions

In linux system, there are two users, user A in the same group of my directory and user B from different group. I want to allow B to access my home directory but I do not want A to access or see any ...
0
votes
0answers
3 views

Memory and CPU Monitor Usage graph

I want to get the dynamic CPU and Memory readings of 3 servers of last 30min and get the graph on the desktop,can anybody help me with the script?
0
votes
0answers
4 views

OwnCloud on XBMC Distro

I recently bought a raspbery pi with the purpose of building a cheap good multimedia station. As soon as i heard about the XBMC distribution and saw some videos of it in action i decided to try it ...
0
votes
0answers
16 views

How to import numpy

I am trying to find density of states with dftb+ in a Linux system. I have a Linux system with Python-2.7.5 and Numpy-1.8.1. I am using the command as written below: gagan@gagan-desktop:~/tests$ ...
0
votes
2answers
3 views

Querying a remote POP3 Mail server using BASH

I'd like to connect to our mail server, look for a certain pass phrase in the subject and if found then run a script. How can I achieve this with BASH other than awkwardly scripting Telnet? Thanks!
1
vote
1answer
12 views

some shared libs in /usr/local/lib aren't found but they are in /usr/lib

I can successfully run an executable using a symlink'd shared library in /usr/lib like so - sudo ln -s /lib/i386-linux-gnu/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.4 In the interest of making this ...
-6
votes
1answer
19 views

Two questions about Linux [on hold]

Is it possible to install Linux on an old pc I have that is already running Windows XP? Can I download a distribution from a website or do I have to pay for a copy? Feel free to correct me and/or ...
3
votes
3answers
153 views

How to get memory used(RAM used) using linux command?

I am trying to retrieve memory used(RAM) in percentage using linux command. My cpanel shows Memory Used which I need to display on a particular webpage. From forums, I found out that correct memory ...
3
votes
2answers
40 views

How often is the /etc/shadow file backed up?

From man 5 shadow: /etc/shadow- Backup file for /etc/shadow. Note that this file is used by the tools of the shadow toolsuite, but not by all user and password management tools. What I ...
3
votes
1answer
22 views

Force application to use specific port on Fedora machine

I have an application on my fedora machine that sends SIP TCP requests to the server. The application chooses a random source port to send the requests. Is there some way I can force the application ...
0
votes
0answers
6 views

Issues with net-SNMP . MRTG not generating graph to monitor network bandwidth

I am monitoring network bandwidth for my servers using MRTG . But suddenly can see graphs are not generated for one of the Linux servers running on CentOS 5.5 . SNMPD service is running on the server. ...
0
votes
0answers
12 views

can't open toshiba system [on hold]

When I open my computer, I click on Toshiba icon to open and get a message: Unable to mount location I have a Toshiba i3 Processor that use to run on Windows until I mistakenly installed ...
1
vote
0answers
46 views

How to hold <Caps Lock> when it sends a single event on key press and release?

Using the keyboard of a Macintosh IIcI (~1990) with remapping of the Caps Lock key to Ctrl in Xorg, it is impossible to use it, as holding it does not send events persistently. When holding other ...
1
vote
0answers
19 views

Huge UI elements in Crunchbang

I have just installed Crunchbang on my Desktop, and windows and menus appear incredibly enlarged. When I right click the context menu fills the screen, for example. My graphics card is the Radeon HD ...
1
vote
0answers
10 views

Evaluating uncorrectable ECC errors and fallback methods [migrated]

I run a server which has just experienced an error I've not encountered before. It emitted a few beeps, rebooted, and got stuck at the startup screen (the part where the bios shows its logo and begins ...
1
vote
1answer
11 views

Where do I find the OID descriptions for SNMPv2 in Linux?

I was looking at this link here: http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html and noticed that the OIDs are the same ones I see for the same stats for our ...
0
votes
1answer
17 views

How to use partial IP address in /etc/sysconfig/iptables for the “-s” flag?

in this example it is a full ip ip is: 1.1.1.1 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -s 1.1.1.1 -j ACCEPT but suppose i want to allow any ip that simply starts with: 1.1. ...
2
votes
0answers
17 views

Wireless is not working on Lenovo ThinkPad X201 with CentOs 6.5

I am having trouble with wireless connection on my Thinkpad X201 laptop. I installed CentOs 6.5 Minimal. The Wired (cable) internet works perfect. But wireless is not detected. I looked at following ...
8
votes
2answers
959 views

Too much installing and uninstalling? [on hold]

Is this a problem on Linux like it is one Windows? Installing and uninstalling things that end up leaving behind little bits and pieces that accumulate and have a negative effect? If so, what can I ...
0
votes
2answers
32 views

Is killing processes created on startup safe?

I've just got a vserver running debian 7 and whenever I start the server and call the top command, there are very many processes that were started automatically on startup. Can I kill them or are ...
0
votes
0answers
23 views

Noob Kernel Image Question

I'm playing about with CM-FX6 , an iMX6 based SOC. The chip comes with the following: http://www.compulab.co.il/workspace/mediawiki/index.php5/CM-FX6:_Linux:_Kernel **images** uImage-cm-fx6 - ready ...
1
vote
0answers
25 views

What is being cached?

I have an embedded system with a low amount of memory. The system has allocation issues. Maybe due to fragmentation: Memory allocation issue on NOMMU? The platform is a NOMMU platform and so I suspect ...
1
vote
1answer
15 views

Startx results in a black screen

I recently wanted to solve a problem with using a second monitor from my laptop that is running debian (jessie) but because I lack knowledge things didn't go as planned. Now I am getting booted into ...
1
vote
1answer
14 views

How to set up Motion to access my copied config file?

As suggested in this tutorial I made a copy of the Motion configuration file in my home folder under ~/.motion/motion.conf . But Motion then still tries to access the config-file under ...
3
votes
3answers
35 views

Why is the exec option not listed in /proc/mounts?

My understanding is /proc/mounts should list all mount options for a filesystem, including kernel defaults, so I was surprised to see that exec (among others) is not listed here? For example, my root ...
1
vote
1answer
29 views

Ubuntu How to re-install bootloader

I accidently altered my partition table. Somehow I wiped it out completely and changed the disk label. The system has not been rebooted yet and I managed to rebuild it the way it originally was using ...
0
votes
0answers
14 views

Memory allocation issue on NOMMU?

I have a memory allocation issue on an embedded NOMMU linux. Or that is, I might have an issue, I'm not sure. The system has 15M free ram when booted. I have one small app (a Dropbox/REST ...
2
votes
0answers
23 views

Why is there no rootfs file system present on my system?

The linux kernel documentation claims: Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs … On all linux ...
1
vote
1answer
17 views

Check the filesystem format with BusyBox (stat -f and df -T do not work)

I am using latest BusyBox v1.22.1 in my target. I want to check the filesystem type using stat -f or df -T but busybox doesn't support such commands. busybox help shows stat command as supported but ...
0
votes
0answers
10 views

Linux embedded PC fault rectification [on hold]

How to take image of an embedded PC using telnet and how to re-image an Embedded PC using RS232 serial connection.
1
vote
1answer
25 views

Booting into a kernel image

I have a recently-compiled Linux kernel image (vmlinuz file) and I want to boot into it. I am aware that this won't give me a familiar Linux system, but I am hoping to be able to at least run some ...
0
votes
0answers
14 views

How to recover Windows Boot Manager after a Mint installation gone wrong [migrated]

Yesterday, my cousin wanted me to install Linux Mint onto his Windows 8 Lenovo laptop so he could dual-boot Linux Mint and Windows 8 so he could get some hands-on experience with Windows 8. I've ...
1
vote
0answers
28 views

Fix the debian default version to wheezy

I followed this tutorial http://kemitix.postach.io/install-viber-on-debian-wheezy to install viber on debian wheezy 7.6. My problem is about the part that says: Fix the default version to wheezy. ...
2
votes
1answer
21 views

Moving software RAID 1 to Linux

I'm using a RAID 1 (mirrored pair) configuration in my Media Center/ NAS system. Currently it's running Windows 8 (yeah, big mistake I know) and I'm regretting it (did it for the games, not worth it). ...
0
votes
0answers
4 views

get Lexmark Z515 running on Linux

Following this tutorial I was able to intall this driver here in Crunchbang Linux 11. As expected, it didn't work. Lexmark itself offers a driver for OS X and that was it. I've tried something similar ...
0
votes
1answer
16 views

Installing rvm and a specific version of ruby using rvm on linux based systems

UI testing is done using ruby and selenium. Installation of rvm Installation of specific version of ruby and setting a default version of ruby Note: Using a linux based operating system.
0
votes
0answers
45 views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
2
votes
2answers
27 views

How to add specific directories to “updateb” (locate) search path?

I keep my digital music and digital photos in directories in a Windows partition, mounted at /media/win_c on my dual-boot box. I'd like to include those directories—but only those directories—in the ...
0
votes
0answers
16 views

How is user space process/thread controlled by the operating system

I understand this: User code executes in a process/thread context in a process address space, in user mode, and can address only user code/data defined for the process, with no access to privileged ...
5
votes
0answers
45 views

USB HDD not working on linux

I have a WD My Passport 1 TB external hard drive which is giving me some problems on different linux machines: When I plug it in, nothing happens Gparted when detecting connected devices says "Error ...
0
votes
0answers
21 views

Installing CentOs 6 with Direct Admin

I'm trying to install CentOS with a Direct Admin package. I have done it almost 10 already times but this time I can't get it to work. I've written down all of my steps here: Give root password: ...
0
votes
0answers
10 views

OpenSwan - Cannot Reach Subnets other than my own

I have replicated a working VPN server hosted on AWS, it's has practically almost the same configuration but for the range of IP's delivered. I'm connecting to it through a MacBook (created a VPN ...
2
votes
3answers
57 views

Linux: set date through command line

How to change the system date in Linux ? I want to change: Only Year Only Month Only Date Any combination of above three
2
votes
0answers
27 views

How to mount squashfs (embedded-linux) on Ubuntu?

I have tried to mount a filesystem from a firmware (embedded-linux) but it failed on my Ubuntu 12.04 machine. Could you tell me how to mount that file system? (or possible reasons of the failure). ...
2
votes
2answers
44 views

find out the memory allocated for a particular process in ubuntu

Could anyone please tell me how to find out the memory allocated for a particular process in ubuntu?
1
vote
0answers
27 views

Set persistent permissions for /var/log/boot.log

Every time I reboot my CentOS 6.5 computer, it writes the boot log to /var/log/boot.log. The permissions on this file are always 644 after a reboot. I want the permissions to be 600. When I change the ...
-1
votes
0answers
17 views

Become root after login via plink from Windows host

I m trying to connect to a linux server from Windows host via plink. I couldnt figure out how to become root after logon. I have to login with ordinary user first as I can't change config of the ...