Linux is the family of Unix-like operating systems that use the Linux kernel.

learn more… | top users | synonyms

3
votes
3answers
271 views

Is Linus Torvalds a hacker? [closed]

Maybe wrong place for the question, but I couldn't find the answer. The wiki says he's software engineer and hacker. (http://en.wikipedia.org/wiki/Linus_Torvalds) Is it true? I must tell I haven't ...
1
vote
2answers
44 views

Transfer a Fedora system to another computer

I'd like to transfer my Fedora to a remote machine. Fedora is under Grub 2.0 and on the remote machine there is a Centos system and Grub 0.97. In fact, I have two questions. First is how to properly ...
5
votes
4answers
120 views

Can I share /usr/local between multiple Linux distributions?

I tried Ubuntu 12.04 and based on my understanding I made the following partitions: 2GB Swap (I have 2GB of RAM) 1GB /boot, since I'll be installing different kernel versions (I'm starting kernel ...
0
votes
2answers
52 views

Grep to search directories for patterns inside a text file

I have a file where it contains a list of search patterns (searchPattern.txt). Its contents is similar to the contents below where there are 3000+ of them. 123456 234567 345678 . . . What I wanted ...
3
votes
2answers
61 views

Setuid bit seems to have no effect on bash

I was experimenting with the security of my system and noticed something strange: setting the setuid bit on a copy of bash located at /usr/bin/bash-test seemed to have no effect. When I ran an ...
0
votes
1answer
30 views

What does the package UPower output if on a desktop

On Ubuntu 12.04, if I use the command: upower -i /org/freedesktop/UPower/devices/battery_BAT0 It will output all of the statistics for the battery. However, what does it output if I am using a ...
3
votes
1answer
57 views

udev: How do you identify the physical device that a sys device belongs to?

I have several USB modems that each have several endpoints: lot of TTYs, a network interface, a cdc-wdm port, and some other things. I'm trying to group them together so that I know, for instance, ...
0
votes
1answer
23 views

Upgrading dpkg on 64-bit debian

Recently I tried to install Steam on my debian, but I ran into a problem. It requires dpkg version 1.16.2 (for multiarch) but the one installed on the system is 1.15.8.13 The problem is that running ...
0
votes
1answer
30 views

Can't delete system email

While running Postfix on an Ubuntu, I have acquired a number of test email in an account usr1, and now I want to delete them before starting other testing. However, every time I try to delete using ...
3
votes
2answers
72 views

How to find out UUID of a non-block USB device?

In a nutshell, the device I have is not a block device so blkid command doesn't suit me. But at least I can get some info about my device via lsusb -v command although it doesn't contain its UUID. ...
1
vote
1answer
33 views

How to add RAID5 to existing crypto-LVM?

I recently installed Debian Wheezy and let the installer guide partition the disk using a whole partition with encryption (LVM). Later on I've added four disks and setup RAID5 on them (using mdadm). ...
0
votes
2answers
70 views

Why could mount.cifs mount an empty folder?

gentoo, kernel 3.7.10 samba 3.6.12 SMB/CIFS server: Windows Server 2003 3790 Service Pack 2 I've encountered the situation when mount.cifs behaves differently from smbclient program. The following ...
2
votes
2answers
34 views

Burn remote data on to a disc

I have an ISO image in another system which I need to burn on my system. I can copy that image to my system using SCP and then do burning. But I would like to know, whether I can directly burn the ...
0
votes
2answers
44 views

How to install multiple glibc on fedora

I have a fedora 4 installed on my computer and it has glibc version 2.5.3, but I want to install a software that needs a glibc 2.7+ . On the other hand, I have some programs that need this 2.5.3 ...
4
votes
3answers
65 views

Watch USB connections vendor id, product id, revision

I'd like to simply watch all devices added and removed from my system and view their USB vendor ID, product ID, and revision and other relevant information. How can I do this in Linux? Is there a ...
0
votes
1answer
32 views

Data transfer between ATmega16 microcontroller and Linux?

Can any one tell me how can I know status of any pin of an ATmega16 microcontroller using Ubuntu? When I connect ATmega16 to my system a file in /dev/ is created by name ttyUSB0. I am using an ...
1
vote
2answers
56 views

How to install tar file (jhead) on Mac or Linux machine

I'm new to Linux and tar balls and was wondering how to properly install them on a Mac or Linux machine. I would prefer to know how to install on a mac but I just need some help understanding them. I ...
0
votes
1answer
33 views

Difference between sudo su - user and sudo -iu user [duplicate]

I was wondering if there were any difference (in environment ?) between doing sudo su - user and sudo -iu user From what I know: By using sudo su - user I open a new shell as user, and the ...
0
votes
1answer
99 views

Socket buffer and purpose of SO_RCVBUF [closed]

I'm trying to figure out what the SO_RCVBUF actually does. Referring to the Linux kernel, it seems that the value specified with this option is just assigned to a variable (sk_buff.rcvbuf), which ...
3
votes
1answer
56 views

Difference between long running process and daemon?

I'm trying to use Forever to keep my nodejs scripts up and running As per Forever's homepage it says [Long Running Process] The forever process will continue to run outputting log messages to ...
1
vote
1answer
29 views

SVN wants to commit everything after server re-install

the motherboard of a dedicated server I'm renting since five years went south and the motherboard got replaced by a new one. The very old (Debian) distro couldn't keep up with all the new hardware on ...
0
votes
0answers
50 views

"error while loading shared libraries: libpopt.so.0 cannot open shared object file

While booting getting the error: error while loading shared libraries: libpopt.so.0 cannot open shared object file" no such file or directory Now I am unable to boot. Any help appreciated.
2
votes
1answer
44 views

Proper syntax for “id -r” command

I'm trying to see if id -r will print out the UID or username of the user who logged into the system despite any su's or sudo's. I'm interested in doing this so I can keep people a little more ...
3
votes
1answer
50 views

Does the vmlinux header contain the length of the kernel image?

I am trying to disassemble a compound file that consists of several parts, one of which is an uncompressed kernel sandwiched between several other files. I am trying to find the exact length of the ...
0
votes
0answers
50 views

I can't install Scientific Linux CERN 5.7 on VMware 9 nor 8

After installing VMware I use create the new virtual machine to install SLC 5.7. I choose the installer disk image file(iso) which is the iso file of SLC 5.7 in one of my hard drives. Continue a few ...
1
vote
2answers
116 views

Installing Simon Listens on Linux Mint

Recently I've heard about the Simon Listens package which enables you to create a speech recognition engine on Linux as well as windows. I have Linux Mind 14 - cinnamon installed on my laptop. I ...
2
votes
2answers
87 views

How to encrypt my system such that suspend to RAM works and is also encrypted

How can I encrypt my system (at best using lvm + dm-crypt/luks) such that suspend to RAM works and that everything is in an encrypted state when suspended to RAM?
3
votes
2answers
88 views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
-5
votes
0answers
46 views

Linux Bash Script [closed]

I am currently in need of a simple Linux script which provides a menu to any user, where they are able to either add or delete a user, where if they choose to add the user they can do so via a text ...
26
votes
2answers
1k views

Why does a software package run just fine even when it is being upgraded?

Say I am running a software, and then I run package manager to upgrade the software, I notice that Linux does not bring down the running process for package upgrade - it is still running fine. How ...
1
vote
2answers
37 views

Using a specifing gateway for a packet. (CentOS/RHEL)

I have just setup a machine which has two NICs, one for private network and the other one for public network which has a real IP assigned to it. DEVICE=eth0 HWADDR=XXX TYPE=Ethernet UUID=XXX ...
2
votes
7answers
183 views

Determining Linux architecture from files

I have a system with an unrecoverable /usr partition. Terrified the drives are going bad, I've got it booted into a LiveCD environment, and I can't remember what the install architecture was, the ...
0
votes
1answer
37 views

Red Hat Network (RHN) and package updates

I was just reading about Linux servers and Red Hat Enterprise Linux. What exactly is the Red Hat Network (RHN)? From what I've gathered, you subscribe to it to be able to update your system. Does this ...
4
votes
2answers
161 views

Grub 'incompatible license' error

The other day, I was using a laptop for general desktop use when its keyboard began to act up. Most of the keys on the keyboard's right side stopped working entirely and key combinations such as Ctrlu ...
4
votes
1answer
45 views

Permanent Environment Variable for all users

I want to have all users on the system to have an environment variable named SPI that points to /usr/local/share_ideas directory. How do I do it?
0
votes
0answers
29 views

dynamic pool of process C [migrated]

I'm writing program in UNIX on C. I have to write client-server(TCP) program on sockets. Client sends some information and server answer. No matter what client sends or receives because I successfully ...
1
vote
1answer
69 views

Booting encrypted root partion fails after system update

I have a problem booting my Debian Linux server. After a system update, GRUB loads the initrd and the system should ask for the password, but it doesn't. Instead, I get dropped to BusyBox. After ...
0
votes
2answers
61 views

Linux, how to change HDD state from ReadOnly after temporarly crash?

At this time no ansver for this problem. Usually after some problems with readings or writings to block device, kernel decides to switch flag for WHOLE DEVICE as read-only. After this any writings to ...
1
vote
1answer
40 views

Perl dependency issue

I've installed CentOS 6.3 (i386) recently. It has two perl binary /usr/bin/perl (v5.10.1) /usr/local/appx/perl/bin/perl (v5.8.8) My question: Is it possible to install some other funtinonality ...
4
votes
5answers
98 views

Is a persistent zombie process sign of a bug?

(OS: Debian variant.) Having a process with zombie-status. The PPid belonged to a gvim process. The contents of /proc/[pid]/wchan is do_exit, /comm is sh and /cmdline is empty, /status is shown ...
2
votes
1answer
35 views

Sign a module after kernel compilation

I've built a kernel in tmpfs, then I rebooted. Now I see a message when I compile the 3rd party module, NO SIGN [M] XXXX.ko How can I get it signed? The key pair generated during rpmbuild is lost ...
10
votes
3answers
303 views

After researching, still confused about monitoring RAM usage

I went through this article, which explains various methods for checking your RAM usage. However, I can't reconcile the different methods and don't know which one is correct. When I first login, I'm ...
3
votes
2answers
52 views

Linux : Major and Minor device numbers

What types of devices fall under the major device number category and what types of devices fall under the minor device number category. What is the real difference between the two categories?
4
votes
4answers
65 views

linux + how to ignore (filter) file with space

Sometimes a file name is created from a couple of names and space between each name as the following: $ touch "A B C" $ ls A B C <-- one file but has three words ! ...
2
votes
1answer
46 views

fdisk. What does the “free” partition mean?

I had two primary partitions (/dev/sda1 and /dev/sda2). Then I created an extended partition to segment it into logical partitions. After I had typed fdisk /dev/sda and n (add a new partition) the ...
0
votes
1answer
117 views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
1
vote
1answer
77 views

Reading encrypted partition with broken LVM2 inside?

I overwrote some LVM2 metadata in much the same way as Recovering overwritten LVM metadata . That is, I attempted to install Debian 6.0.7 on a system with existing encrypted volumes and LVM2 volumes. ...
2
votes
3answers
64 views

Colorize Bash Console Color

I need to be able to set my CentOS 6.4 bash prompt color to yellow. I've managed to find where to set this (.bashrc) and the ANSI color for yellow (\e[0;33m). I've setup my prompt as follows: ...
0
votes
1answer
29 views

Why is my Yellow Dog keyboard layout wrong?

I just installed Yellow Dog on my PowerBook G4, and it worked, and noticed my mac keyboard. Then, suddenly, the layout went wrong. Most keys don't do anything, and I have letters instead of arrow ...
0
votes
1answer
30 views

Understanding a XINU system call - getstk.c [closed]

I am having trouble conceptually understanding what is going on towards the end of this system call, and why. I understand the getstk.c method returns the highest memory address of available space, ...

1 2 3 4 5 86