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

0
votes
2answers
377 views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
0
votes
2answers
37 views

Arch linux get network interfaces names

I need to get all intefaces names in Arch linux. If I issue command ifconfig, I get following response: [root@pi ~]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...
0
votes
1answer
24 views

How to monitor bunch of machines for CPU usage from another machine?

I have couple of machines as shown below which are running Ubuntu 12.04 and I need to find out the process name along with its pid whose CPU usage is greater than 70%. Below are the machines as an ...
2
votes
3answers
955 views

Linux / JVM - OutOfMemoryError: unable to create new native thread

I have a memory problem with a Linux server (CentOS). It is a VM. Below is the context. It has 70Gb of RAM. There are 2 tomcat running on it. One tomcat is given a heap of 13Gb and the other one a ...
1
vote
0answers
5 views

Is inode_readahead_blks independent of read_ahead_kb?

I've been reading through the kernel documentation for block device sysfs tunables and I ran across the description for read_ahead_kb: Maximum number of kilobytes to read-ahead for filesystems on ...
0
votes
1answer
38 views

Is my home folder encrypted?

Is there a way to check if my home folder is encrypted? I believe I checked this option during the installation, but now I'm not sure.
0
votes
1answer
25 views

compiling php 5.4 and higher with mysql

i'm running a pile of mediawiki instances on oracle enterprise linux and i'm trying to upgrade from 1.19.x to the latest LTS version, 1.23.x. i'm currently using php 5.3 and due to some odd issues ...
4
votes
4answers
500 views

Linux's man alternatives

Are there any alternatives to linux's man? I know many users used to man and for them it's useful and best way to find what they want, but i'm looking for something which is focused on examples. Is ...
0
votes
0answers
13 views

serial port devices not found on bootup

I am running linux kernel 3.9.2 on my embedded device. I have this standalone program called usb_device_label.c, which checks for various USB devices connected and passes the information to main ...
1
vote
2answers
23 views

Repairing from Live USB

I need to repair a network related package (Samba) that is preventing my system from booting. (mint 17). I have a bootable USB stick with the same OS. How would I fix the broken package on my hard ...
3
votes
1answer
519 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
-1
votes
0answers
32 views

display directories without any sub directories [duplicate]

Display all the directories throughout your login which does not contain any sub – directories.it means it should not display the directories which contain any sub directory or folder. for e.g. i ...
1
vote
2answers
358 views

Does Linux support the ThinkPad Helix 2?

I'm holding out for the ThinkPad Helix 2, which has a detachable tablet as a screen. It comes out later this month. I've heard that installing Linux on bleeding edge technology can be problematic ...
39
votes
8answers
27k views

How can I edit multiple files in VIM?

I know I can open multiple files with vim by doing something like vim 2011-12*.log, but how can I switch between files and close the files one at a time? Also, how can I tell the file name of the ...
0
votes
0answers
7 views

What are the /proc/drivers directories organisation for nouveau or radeon

The context: I need to get some basic informations from the graphic card in a lib in lua. The idea is to not rely on external software (like hwinfo for example). I know that for a system with an ...
0
votes
2answers
50 views

I need to run a one line startup script under gnome and systemd

nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 now what is the easiest way to run this one bash line of code at startup??? I am running Gnome 3.14.
0
votes
1answer
1k views

Why does sendmail's status keep changing to “dead but subsys locked”?

Every day I get the output of sudo service --status-all emailed to me using crond. The server is a CentOS 6.5 web server which I use to host a few WordPress websites. Occasionally sendmail will change ...
0
votes
1answer
15 views

Does network interface device have device inodes [duplicate]

Does network devices have device nodes because i have looked inside /dev directory and have not found any corresponding device node although it's up and running
2
votes
1answer
26 views

What entropy sources are used by the Linux kernel?

man 4 random has a very vague description of Linux kernel entropy sources: The random number generator gathers environmental noise from device drivers and other sources into an entropy ...
0
votes
1answer
14 views

Mechanism of multiple call for one script in the same time

Maybe this question is stupid Anyway I have the ruby script which is calling from different places in the same time(with defferent options). Is it safely and how this mechanism realized in linux? I ...
3
votes
1answer
637 views

cleaning /dev/md0 filesystem ( raid)

I have a CentOS server using raid. The /proc/partitions contains: major minor #blocks name 8 0 976762584 sda 8 1 104391 sda1 8 2 921600855 sda2 8 3 55054755 ...
0
votes
1answer
530 views

How can I simulate usb storage device connection with qemu?

I'm writting a program for controlling usb storage device connections (this is a classic subject). All it's ok with my program, but now, I want to write some tests. So in order to do that, I realized ...
15
votes
4answers
5k views

Binary compatibility between Mac OS X and Linux

Brace yourselves, this question will likely appear naive and/or foolish, seeing as I am relatively new to the inner workings of unix like systems, and programming in general. Ready? Ok! I will go ...
0
votes
0answers
7 views

vmxnet3 multiqueue support in vmware workstation

I'm working on an application based on RSS multiqueue(receive side scaling), and testing it on vmware workstation, but found that vmxnet3 nic have problem with RSS. My linux virtual machine has 4 ...
0
votes
0answers
17 views

WiFi randomly cuts on/off, other machines in the house unaffected

I just recently installed Fedora 20 on my Macbook Pro. I followed the guides on the internet and as most of them suggested, installed akmod-wl to handle my Wifi device. The output of lspci regarding ...
3
votes
1answer
588 views

BCache and disk encryption

I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet. I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
14
votes
3answers
4k views

Understanding /dev and its subdirs and files

$ ls -l /dev/stdin /dev/fd/0 lrwx------ 1 tim tim 64 2011-08-07 09:53 /dev/fd/0 -> /dev/pts/2 lrwxrwxrwx 1 root root 15 2011-08-06 08:14 /dev/stdin -> /proc/self/fd/0 $ ls -l /dev/pts/2 ...
4
votes
1answer
588 views

How to make use of a real PCI modem in a Virtual Machine?

Is there a way where I can use my PCI modem in a virtual machine on an ubuntu 12.04 host box? I have installed Ubuntu 12.04 on the host and I want to use my PCI modem on a guest virtual machine. Can ...
1
vote
2answers
3k views

No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop

I am working on petalinux, a linux port for Xilinx FPGAs called Zynq. The tool that I am using is petalinux-config. This opens a GUI where I can select various options, such as compress kernel, ...
3
votes
1answer
3k views

How to resize ext3 image files

I have created an 200MB ext3 using the following commands. dd if=/dev/zero of=./system.img bs=1000000 count=200 mkfs.ext2 ./system.img tune2fs -j ./system.img How can I resize it to 50MB and 300MB? ...
8
votes
5answers
16k views

How can I find the hardware model in Linux?

I used a system information utility to take the model number of a system, and also of the motherboard. DMI System Manufacturer LENOVO DMI System Product 2306CTO DMI System Version ...
0
votes
1answer
988 views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
0
votes
3answers
56 views

what the best approach in order to compress directory with Hundreds of sub directories [closed]

Under /usr/cti/APP_sys, I have hundreds of directories and subdirectories and files, etc. I wonder what the best approach in order to compress the /usr/cti/APP_sys directory (get the best low ...
30
votes
3answers
16k views

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of ...
1
vote
2answers
3k views

How to change the Linux Mint Nadia splash screen?

I was wondering if it is possible for me to change the splash screen when Linux Mint is loading? I am talking about the logo of mint which appears when you start the computer. If so what kind of file ...
2
votes
1answer
15 views

does the second kernel need kexec enabled

It's clear that you need the kexec syscalls in the 'first' kernel. But does the kernel that should get loaded (with kexec_load and reboot) need to be compiled with kexec? If yes, what extra code ...
1
vote
1answer
20 views

Number of open file descriptors won't change when I set them in CentOS 6.3?

uname -a Linux lab.testing.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux ulimit -Hn 1024 ulimit -Sn 1024 ulimit -n 1024 I opened /etc/sysctl.conf in vi and added ...
35
votes
4answers
47k views

What is the difference between reboot , init 6 and shutdown -r now?

I just want to know difference between in reboot init 6 shutdown -r now and which is the safest and the best?
0
votes
2answers
658 views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
0
votes
0answers
18 views

Linux WinPower Setup

I am currently installing the WinPower UPS communication software but I am running into an error. I have installed it successfully without errors. ./agent start starts agent ok ./monitor this ...
0
votes
0answers
46 views

ssh: connect to host 104.131.76.121 port 10222: Connection refused

I have been trying to solve this problem for quite some time. The error is in the title. The server is a digitalocean ubuntu 14.04. It was working before hand. I changed the ServerAliveInterval on ...
2
votes
1answer
164 views

Bonds vs. Aggregators

I'm almost to the point where I can post the solution I wound up with for my complex port bonding question. However, in reading the bonding.txt file, I see this option text: ad_select Specifies the ...
6
votes
5answers
2k views

generate consistent machine unique ID

Can we generate a unique id for each PC, something like uuuidgen, but it will never change unless there are hardware changes? I was thinking about merging CPUID and MACADDR and hash them to generate ...
2
votes
2answers
2k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
0
votes
1answer
22 views

Memory Required for SSH-only Linux Setup

I am attempting to set up a minimal Debian or CentOS installation for internal network access. The purpose of the setup will be to allow SSH access into the rest of the internal network—that's it. It ...
0
votes
1answer
13 views

Backup and restore of raid1 device, after OS upgrade

We have a physical RedHat server with two 60GB local disks, and two RAID 1 devices on them. There are also a few multipathed SAN luns. Disk /dev/sda: 60.0 GB, 60022480896 bytes Device Boot ...
1
vote
1answer
32 views

Why most apps try to use OSS if /dev/dsp is present?

So why most applications apparently try to use OSS if /dev/dsp is present on a system where more advanced audio servers (ALSA or PulseAudio) are also available? I experience this after installing ...
0
votes
0answers
35 views

Help I need xserver 1.13.0 for my AMD Catalyst 13.1

So I got myself linux mint 14 and put it on a usb then booted up . When in menu I opened file manager scrolled to /usr/bin . I then copied Xorg and emailed the 1.13.0 xserver to my linux mint 17 xfce ...
4
votes
1answer
1k views

Arch: Awesome Window Manager won't start

I can't get my awesome running. I installed awesome and all dependecies with pacman and followed the beginning of the following guide to get awesome running: ...
1
vote
1answer
45 views

How to change (increase) number of lines in screen?

Connecting from Windows to Linux (CentOS 5.4) using PuTTY. Console set at 140col 60 lines. Not much else changed from default. Connection is via serial cable to the box. On Linux, installed and ...