Linux is the family of Unix-like operating systems that use the Linux kernel.
3
votes
2answers
49 views
Reading from a serial interface
I have a serial device running which I need to read data from(I have absolutely no control over the device itself) except reading its output; using hyper terminal in Windows I am able to detect a ...
6
votes
2answers
118 views
Decode Flags for Kill Command
I am new to Shell Scripting.
I saw this Command on a Book for Linux shell Scripting
$ kill -HUP 1234 >killout.txt 2>killerr.txt
I know what the command does, but i am not able to understand ...
0
votes
1answer
23 views
nohup and screen not working when running program in background?
I don't why but my screen command running on server is stopping on its own. Therefore I tried to use nohup. e.g:
nohup bzcat a.bz
But when running nohup it is giving me
nohup: ignoring input and ...
2
votes
0answers
20 views
What is the relation between the Linux device drivers “domains”?
As I'm reading about the Linux device drivers and power management API I keep encountering terms like "system level", "subsystem", "platform", "class", and so on.
What is the relation between them? ...
1
vote
2answers
51 views
Unable to chown recursively
I'm using this command:
chown root:www-data /var/www/example.com -R
but I get an error message that the directory is not listed.
What is wrong?
1
vote
0answers
16 views
davfs2 keep files cached longer
I'm using davfs2 to sync with my box.com account and I'm trying to play with the cache settings to get more Dropbox-like functionality.
I've noticed that after I don't open a file for a little while ...
19
votes
2answers
577 views
How frequently is the proc file system updated on Linux?
How frequently is the proc file system updated on Linux? Is it 20 milliseconds (time quantum)?
2
votes
2answers
62 views
Get network information through Ubuntu Terminal
Is there a command where, when entered outputs information such as:
If the network connection is wired or wireless
if it is a wireless network, the name of the wireless network
How strong the signal ...
2
votes
1answer
41 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 ...
3
votes
1answer
75 views
What's the easiest way to decrypt a disk partition?
I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...
5
votes
2answers
74 views
Rearrange partitions to install a second Linux distribution
I am new to Linux and just got some foggy idea of partition tables. To be precise here it is:
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition ...
3
votes
2answers
58 views
Cross-process dup on Linux
I'd like to dup a file descriptor running in an unrelated process on Linux. I know about sendmsg(2) and SCM_RIGHTS (e.g. ...
2
votes
0answers
76 views
Virtualbox NAT + Host-Only Adapter
My host is Ubuntu 12.04 and guest is a Debian squeeze (LAMP server). I want to allow the host to connect the guest. and allow the guest to connect the internet. The guest should not be enabled from ...
1
vote
2answers
81 views
What Linux Distro contains support for Killer E2200 Ethernet chip?
I've been very interested in switching over to a Linux based system lately. I've decided I'm going to dual boot, but my primary machine will be the Linux system. I found that Ubuntu 12.04 didn't have ...
2
votes
1answer
68 views
Is it possible to specify groups in /etc/security/capability.conf?
I've been inspired to start playing around with Linux capabilities again, my pet project is to replace the setuid on a lot of the binaries and provide access to additional privileged utilities to ...
3
votes
3answers
273 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
45 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
130 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
55 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
63 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
60 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
74 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
71 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
68 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
58 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
106 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
57 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
51 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
117 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
190 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
166 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?

