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

Install mail server in VM

I have a Intel NUC with an i3 processor running the latest Mint version with the Cinnamon desktop and already installed some basic services (Apache, MariaDb, ownCloud etc). The next step would be to ...
-2
votes
0answers
14 views

Application compatibility in Linux [on hold]

Why is application compatibility not good in Linux OSs even in different versions the same distros? Application Compatibility for me: I'm a Ubuntu user, and if I carry and use the .deb files on some ...
0
votes
0answers
13 views

Partitioning problem in Kali Linux installation

I'm trying to install Kali Linux dual boot with windows 8.1. During installation, only two partitiones: while I have 3 different partitions . Please help.
2
votes
1answer
1k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
0answers
17 views

Show last x lines of a screen session?

/etc/init.d/mc {..} status) if screen -ls | grep -q "mc"; then echo -e "[\033[32mMC\033[0m] Online" {.. needed code ..} else echo -e ...
0
votes
0answers
12 views

Conceptual question about data corruption and mounting

If we have a partition /dev/sda1, and mount it to a mount point (i.e. /mnt), we can then use the files and folders under /mnt. Before changing the partition /dev/sda1 I umount /mnt, and then perform ...
2
votes
1answer
8 views

how to overcome conflict between 2 network cards - virtualbox ubuntu

I am running ubuntu 10.4.04 LTS as guest in virtualbox on OSX Yosemite. Unfortunatelly I seem to have the network configured wrong I followed this tutorials ...
0
votes
0answers
7 views

Can't see boot options or log with GRUB through serial-over-lan

I have a Debian system that is unable to boot a configuration I want. I don't have physical access to it, but I have serial-over-LAN access via Dell's BMC (so very limited), IPMI 1.5/isol. When I boot ...
2
votes
1answer
608 views

How to monitor per user disk usage in Linux

I have local disk with 2T capacity attached to a host. Nearly 60 user home directories are stored on this disk. Currently no disk quotas are enabled. I need monitor the disk usage of individual ...
1
vote
4answers
39 views

Regarding awk command

Can any one tell me how can i add a particular word in whole file using awk command. data look like this: Organism: ahy matching miRNAs miR156a miR156b miR156c miR159 miR167 ...
-1
votes
0answers
18 views

Unix server -bash: sudo: command not found

I Just bought a server where i have to Install apache2 server when I try using command line sudo apt-get install apache2 than it's gave me error like -bash: sudo: command not found Also apt-get ...
2
votes
0answers
14 views

Reasons for IPC control in Linux [on hold]

Linux OS has several IPC mechanisms like named pipes, sys V, d-bus etc. Each of these mechanisms always has senders and receivers of IPC; each mechanism uses some way to control IPC between senders ...
3
votes
1answer
452 views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
1
vote
1answer
758 views

How to migrate from Proxmox to VMWare?

I am wondering how it is possible to migrate a full hardware VM in Proxmox (qemu) to a full hardware VM in VMWare (vmdk). I have been searching all over the place, and it seems almost impossible to ...
16
votes
4answers
458 views

Making Linux read swap back into memory

The Linux kernel swaps out most pages from memory when I run an application that uses most of the 16GB of physical memory. After the application finishes every action (typing commands, switching ...
0
votes
3answers
7 views

How to remove directory from rsync share completely

Is there any rsync command that can remove some remote directory from rsync share completely? I mean delete not only directory content but the directory itself. And without rsyncing the entire parent ...
2
votes
1answer
57 views

Cron job not running after giving command in crontab

I am trying to run a cron job in Linux with following command: crontab -e typing the following details and saving it MAILTO="mail@domain.com" 00 01 * * * /usr/local/bin/php /var/www/html/cron.php ...
0
votes
0answers
10 views

DEtecting Comments in Flex [on hold]

I am just learning flex.I have written a simple program to check the words of a given text file is verb or not and print them. I want to detect if there is any single or multi line comments in the ...
9
votes
5answers
727 views

What should I expect if I switch from Ubuntu to openSuse

As probably most of you I have been long using Ubuntu. I'm not an expert, but I have been using different distros until I settled with Ubuntu. I started using SuSE 5.x, Conectiva (that later became ...
0
votes
3answers
2k views

What would be the RHEL package corresponding to build-essential in Ubuntu?

I know how to list available packages from the repos and so on, but how can I find a list that matches up equivalent meta-packages, such as the build-essential. Is there such a thing and if not what ...
20
votes
3answers
13k views

How to Determine the Amount of RAM Slots In Use?

I forgot how many RAM modules are installed on my laptop. I do not want to unscrew it but want to look it up on the console. How do I gather this information?
0
votes
0answers
31 views

Set the TCP window scaling option to 4 & the TCP window size to 65535 [on hold]

I want all TCP packet (linux system) to be sent with: TCP window scaling option set to: 4 TCP window size set to: 65535 (0xffff). How I can configure my linux system to do that?
22
votes
2answers
94k views

How to get the complete and exact list of mounted filesystems in Linux?

I usually use mount to check which filesystems are mounted. I also know there is some connection between mount and /etc/mtab but I'm not sure about the details. After reading How to check if /proc/ is ...
1
vote
2answers
31 views

How to put output to a different text file in flex

I have written a simple program to check the words of a text file is verb or not using flex. But I want to put (print) the output to a different text file. Is it possible? How will I do that? My ...
3
votes
1answer
3k views

Why does the filename contain question marks when I run a script on my remote machine?

I have a tiny script that simply fetches the current date, runs a PHP script and redirect the output (and errors) to a filename containing the current date. DATE=$(date +"%Y%m%d") ...
2
votes
2answers
51 views

How to know the source of a process in Linux?

In our firm, we are using Fedora 14. Our developers are using Python code to process documents. All are running as root. Somehow they did something and a file came inside which makes lots and lots of ...
9
votes
2answers
247 views

practical usage of /etc/networks file

What is the practical usage of /etc/networks file? As I understand, one can give names to networks in this file. For example: root@fw-test:~# cat /etc/networks default 0.0.0.0 loopback ...
2
votes
2answers
971 views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
6
votes
2answers
2k views

How do I know if a serial port is actually transmitting data, without opening the device?

I have a high-availability cluster (Heartbeat) connected via serial line and two ethernet NICs. I'd like to set up a monitoring script capable of recognizing disconnected serial line (basically the ...
51
votes
8answers
111k views

How can I monitor disk io?

I'd like to do some general disk io monitoring on a debian linux server. What are the tools I should know about that monitor disk io so I can see if a disk's performance is maxed out or spikes at ...
1
vote
2answers
15 views

How can I configure /etc/kmscon/kmscon.conf to use specific a) font and b) keyboard layout?

I recently installed kmscon on my system. Now I want to configure it to use a different keyboard layout (neo2) and, while I am at it, a different font, too. I stumbled across this question here when ...
1
vote
0answers
24 views

Change screen resolution without monitor under Linux?

I got a GUI program which will be executed along the OS (CentOS 6.6) boots. The resolution configuration is programmed in the init part of the GUI program, my solution right now is get the resolution ...
1
vote
1answer
8 views

Openvpn stops responding

I've been trying to set up openvpn with a vps and raspberry pi. The raspi is natted while the vps is public. I've tried connecting to the openvpn from mint laptop as well, but it's no use: Server ...
3
votes
1answer
619 views

Possible issues with SSD SATA3 drive

While investigating the issue with my SATA3 SSD drive being recognized as SATA2 (for some reason had to change SATA ports to fix it) I noticed the following messages when I run: $ dmesg | grep ...
1
vote
0answers
11 views

Is it possible to make the right mouse button do something else in Linux Mint?

I have a cheap 2 button mouse so wanted to turn the right mouse button into my gesture button (with Easystroke). Perhaps making a double right click act as a normal right click.
6
votes
1answer
65 views

Is it possible to enlarge the / partition without rebooting?

I can enlarge the root (/) partition with fdisk without rebooting (deleting an recreating it with the same 1st sector, but greater last sector). However, I cannot make the kernel to re-read the ...
0
votes
2answers
483 views

Nested virtualization: run RHEVH inside KVM

I have laptop with 16GB RAM, trying to install Red Hat Enterprise Virtualization Hypervizor 3.3 on Virtual Machine Manager (KVM) based Guest, but it gives error "Virtualization Hardware not found" ? ...
5
votes
4answers
5k views

Mounting multiple devices at a single mount point on Linux

Is there a way to mount multiple hard drives to a single mount point? Let's say I run out of space on /home and decide to add an extra hard drive to the computer. How do I scale the space on a mount ...
0
votes
0answers
12 views

Is there a method of installing debuginfo package without registering RHEL7?

My RHEL7 isn't registered just for test. Now I want to install python-debuginfo rpm package. But according to this, it seems that I can't install python-debuginfo rpm without registration. Is there a ...
2
votes
2answers
446 views

How do I route a spare network interface through an SSH tunnel?

I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
2
votes
0answers
17 views

is THP good or bad for MySQL Server?

Linux kernel new feature called Transparent Huge Pages (THP) which is by default enabled on CentOS 6.x and above OS. Is THP good for MySQL DB machine? I am trying following to disabled THP but seems ...
0
votes
0answers
31 views

USB Stick created on one machine not working on another [on hold]

I have a 8 GB usb stick and just want to tranfer files from one debian machine to another. same version and 32Bit. but when i create a partition on machine a, copy files to the drive and try to ...
2
votes
1answer
609 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
0
votes
0answers
25 views

How to write your own exception/interrupt handler? [migrated]

Any simple and basic example to write the exception? I've been searching the web for the past few days. Couldn't find any good site. :/ I got this as an assignment - Write an "Assembly handler" ...
1
vote
1answer
50 views

wheel groups and permissions

I'm new to a lot of things Linux, so this might be basic stuff. We're thinking about setting up a wheel group and removing permissions from root. Not even sure that's possible. We are having a ...
0
votes
1answer
25 views

Recommend a Python book [on hold]

I'm a Linux system administrator and will be learning Python. I'm a ksh/bash expert. I never became good at perl, so I don't want a book oriented to perl programmers. What book would you recommend I ...
-3
votes
0answers
31 views

What exactly “wiphy” is?

I am wondering if someone could explain to me: what does "wiphy" mean? I have searched already but with no success :| Thanks in advance
2
votes
1answer
10k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
5
votes
1answer
2k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
0
votes
1answer
23 views

What is a UART port

I have a .fex file for Cubietruck. Supposedly, the bluetooth pins are defined in the uart_para2. With the current config, I have uart0 and uart2 enabled, and everything else is disabled. Bluetooth ...