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
1answer
7k views

How to install glibc.i686 using rpm with dependency resolved

I know that I can use yum to do that. But my problem is a little different. I want to write a kickstart post installation script so after installation of the OS as a post-installation step the ...
1
vote
1answer
1k views

Difference between Device file and device drivers

I am beginner in device driver programming. I don't get the difference between device drivers and device files in Linux. Can anyone explain the difference?
1
vote
1answer
162 views

How to execute some shell script before VM suspend?

I have created one Centos VM. And I have created some IP aliases. Once I suspend and resume the VM my IP aliases are all going down. So I just want to capture the aliases address before suspend and ...
1
vote
1answer
394 views

Session limit for OpenSSH server on Ubuntu Desktop 7.10

I need restrict session limit on my OpenSSH server only for one session (one connection). I use Ubuntu Desktop 7.10. Of course Version is old, but I need it for experimental purposes. I tried modify ...
0
votes
0answers
35 views

Replication data in SAN

I am using openfiler as SAN. Then I create a disk in SAN using ISCSI. I have 2 CentOS client machines connect to SAN disk. When I create data in client1 machine, It doesn't update to client2 ...
2
votes
1answer
78 views

starts logging when the limits are hit

/etc/security/limits.conf. The file is responsible to limit resources of users/groups on a Linux server. Unfortunately, the file does not generate any logs (or the case could be that I do not really ...
0
votes
1answer
31 views

where to put some script to run before VM Suspend?

I have run one shell script before the vm suspend. How to do this? Where to put this shell script so that it will run before the VM suspend .
1
vote
0answers
525 views

How to compile and install iperf on a MIPS based router?

I have a DIR-825 router based on Atheros AR7161 (MIPS) running DD-WRT v24-sp2 std. How can I compile and install iperf on it? Can I compile it directly on the target device, or do I have to cross ...
0
votes
4answers
404 views

Does software installed in one distribution of linux run in another distribution of linux?

Suppose, I create seperate partition for "/usr" directory. This is the directory which contains all user programs. If I switch from one OS to other(for eg. From Ubuntu to Arch Linux or vice versa), ...
1
vote
1answer
38 views

Yum adds the dir 'Package' to baseurl

I'm on a network that doesn't get outside internet. I have the repo file pointing to a http server on the network that has the packages that came with the RHEL install cd. Most of the servers work ...
1
vote
1answer
855 views

Centos 6.4. building rpm for cups 1.7

I try to build rpm from source by running rpmbuild -ta cups-1.7.0-source.tar.gz --without dbus but get Processing files: cups-1.7.0-1.x86_64 error: File not found: ...
17
votes
3answers
31k views

Can I connect to Windows machine from Linux shell?

I can connect to Linux machines from Windows using PuTTY/SSH. I want to do the other way round - connect to a Windows machine from Linux. Is this possible?
2
votes
1answer
468 views

what are the different ways to set file permissions etc on gnu/linux

On Unix a long time back I learned about chmod to set permissions and to allow programs to gain privileges. I have recently discovered extra commands on GNU/Linux: chattr, setfacl, setcap. Are there ...
1
vote
1answer
346 views

How to calculate Linux Network RX, TX total stats - not just between reboots?

Is there any way to calculate the Linux network interfaces RX , TX for all times? The suggested method mentioned in this Cyberciti article titled: Linux See Ethernet Statistics only returns the stats ...
6
votes
5answers
515 views

Open-source computer algebra systems for linux

Some years ago I used MuPAD as a free computer algebra system. However since 2005 it's not free anymore. So, are there any good free or even better open-source computer algebra systems for linux ...
0
votes
0answers
193 views

Linux open source tool for Request tracking, Inventory control and MRBS

I have installed the Request tracker tool in my RHEL machine. I have also a meeting room booking system (MRBS) in my RHEL machine. Also, I can see there are some open source Inventory of items tools ...
4
votes
3answers
783 views

Logging when limit Exceeds

Is there a log file that logs information when the values set in /etc/security/limits.conf are exceeded? If not is there a way to make it log when the values are exceeded?
0
votes
2answers
255 views

File compression - how to implement in Linux

I would like to be able to compress certain files (that I need to keep, but use rarely) on disk. I noticed that chattr +c flags a file for compression, but it doesn't seem to actually compress files. ...
6
votes
6answers
335 views

Understanding Linux executable formats and software distribution packages

This kind of question might've already been beaten to death. If so, I'm sorry for beating it some more. I am having trouble understanding Linux executable formats and software distribution packages. ...
2
votes
0answers
1k views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
13
votes
3answers
18k views

what is the meaning of 0.0.0.0 as a gateway?

Can anyone clarify gateway assignment for me? What is the difference between adding gateway as 0.0.0.0 and assigning a specific ip address as a gateway?
0
votes
2answers
586 views

gpg uses temporary files, instead of pipe

I have my /root mounted as read-only. I have a script that sends an encrypted email using gpg. something like the following: echo "hello" | gpg --no-verbose -e -a -r martin@example.com | mail ...
0
votes
0answers
104 views

How do I create a Linux Distro? [duplicate]

How do I make a Linux distro based off of my favorite Linux Distro? I am aware of Linux From Scratch, but there seems like there's so much involved just to create a distro based off of something ...
2
votes
5answers
239 views

Can the GNU Project be seen as a distribution of Linux? [closed]

When Linus Torvalds was asked in the documentary Revolution OS whether the name "GNU/Linux" was justified, he replied: Well, I think it's justified, but it's justified if you actually make a ...
0
votes
0answers
197 views

Problem with logical partition and recovery mode

After the installation of compiz with linux mint, I had a problem in my Linux Mint 14 . There is a blank screen after typing my login/password to enter my session. I tried some things to correct this. ...
1
vote
3answers
228 views

Can I install ubuntu on a Virtualbox image and use it anywhere?

I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the ...
2
votes
0answers
159 views

What's status of btrfs as root fs? [closed]

What is the current status of btrfs being the root filesystem including /boot; meaning that you do not need to create a separate /boot partition. I ask because I noticed on Debian 7 you cannot setup ...
2
votes
0answers
237 views

lsusb partially fails, is the problem with the USB bus or with the command?

What does Couldn't get configuration descriptor 0, some information will be missing mean? Did the Host fail to get the descriptor from the device, or the command lsusb failed to fetch that ...
0
votes
2answers
146 views

Reference request: Porting linux on any ARM based board [closed]

I am looking for a book or any other source that helps me in understanding detailed procedure for porting Linux on ARM based boards from scratch. There are many articles on internet but I could not ...
5
votes
2answers
2k views

xdg-open is installed yet also is not installed

$ xdg-open The program 'xdg-open' is currently not installed. You can install it by typing: sudo apt-get install xdg-utils $ sudo apt-get install xdg-utils Reading package lists... Done Building ...
1
vote
1answer
162 views

Create Relative Symlink Inside Relative Symlink

I've been browsing for a minute now trying to find a way to create a relative symlink inside a relative symlink, and what I mean by that is this... I have my CakePHP Templates Skeleton as a symlink ...
1
vote
0answers
39 views

syslog: process specific priority

I have two user processes A and B. Both use syslog using facility LOG_USER. I want to have different threshold levels for them: For A, only messages of priority ERR-and-above must be logged For B, ...
0
votes
1answer
176 views

What kind of support/options are there for switchable graphics on linux?

I've been trying to breath new life into my brothers Lenovo t400, but it has both integrated and discrete graphics (AMD and Intel respectively). When I install any form of Linux, both cards run, ...
0
votes
1answer
213 views

what does the following command do?

what does the following command do? I have tried to study the linux command but I could not find out what this command does. here is the command: touch finger ; finger touch
8
votes
2answers
4k views

Fast X for LXC guest on localhost?

How can I run X apps inside an LXC container efficiently? ssh -Y guest is too slow - there is no graphics acceleration with ssh -Y - everything has to travel over the virtual network with the ...
0
votes
1answer
176 views

configure web server in RHEL

I have installed Request tracker in my RHEL 5.6 system. The RT installation succeeded and I have also installed apache web server, mysql, phpmyadmin that is required for running the request tracker ...
1
vote
3answers
104 views

a string representation using regex (modified)

I would like to use regular expression to represent a pattern with the following type of characteristics 1) It includes a continuous sequence of digit values. The length of this sequence it at least ...
0
votes
1answer
243 views

RedHat / CentOS 5.5 background process has restricted memory

I run Fisheye that uses Java for Linux. Settings go like this: generate options FISHEYE_OPTS=`$JAVACMD -Xms100m -Xmx200m -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter` build ...
0
votes
1answer
402 views

Finding all WAV files of multiple directories and copying them to local computer from server

I have a Linux server where the directory structure is Mainfolder1/folder2/firstfile.wav /folder3/secondfile.wav /folder4/thirdfile.wav Mainfolder2/folder1/fourthfile.wav Now, ...
0
votes
2answers
66 views

Modifiying source code of an application

I'm doing a project where i need to change or add some functionality on an Debian based application. I've downloaded the source code but problem is they all have .rpm as extension. Anyone know what do ...
4
votes
1answer
772 views

Change ip addr label in Linux

How can I change the eth0 zero to eth0:1 using ip addr without deleting. When I run ip addr show eth0 Here is the output 2: eth0: mtu 1500 qdisc mq state UP qlen 1000 link/ether ...
0
votes
1answer
86 views

debootstrap local download dir

Can someone tell me where does debootstrap store downloaded packages that it's about to install? Possibly also the download method would be interesting (wget/curl/apt-get). In my case I run: sudo ...
1
vote
1answer
2k views

How to change permissions from root user to all users?

I created a folder on the command line as the root user. Now I want to edit it and its contents in GUI mode. How do I change the permissions on it to allow me to do this?
3
votes
0answers
490 views

What happens if I delete dmraid?

I am new to Linux and am trying to install Ubuntu 12.04.3 LTS from a live-USB and have it run alongside my Windows 7 installation. On the installation screen for Ubuntu, at the partition page, I get ...
1
vote
1answer
475 views

How do I allow only certain IPSet set's to access a certain port with iptables?

I'm using IPSet to build IP ranges for different countries as follows : # Canada ipset -F ca.zone ipset -N ca.zone nethash for IP in $(wget -O - http://www.ipdeny.com/ipblocks/data/countries/ca.zone) ...
1
vote
2answers
2k views

Running Linux kernel in Virtualbox

I just built a Linux kernel on Ubuntu and now I want to make it run on VirtualBox. I wanted it to be in an img format. I created a hard drive image by doing the commands: $ qemu-img create disk.img ...
1
vote
1answer
165 views

RHEL - GDM could not be initialized

Actions before the GDM failure I was trying to install RT tool in my system. However, the RT tool required Perl 5.10. So, I did yum remove perl to remove the existing version. While the command was ...
0
votes
1answer
480 views

mount: special device /tmp/cdrom does not exist - CentOS kickstart %post section

I am upgrading an installation from CentOS 5.5 to 6.4. I am having troubles with my kickstart file in the %post section while mounting /tmp/cdrom during the install: The following configuration in ...
10
votes
1answer
4k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?
1
vote
2answers
359 views

Swap bash script pins htop's memory usage

I deployed a hack to add swap space to a VPS that otherwise didn't allow me to use swapon to create a file. Prior to adding and executing the script, I followed the steps outlined here. and ...