These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
2answers
1k 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
205 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 ...
2
votes
2answers
1k views

How to install multiple glibc on fedora

I have 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 version. ...
5
votes
3answers
3k 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
137 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 ...
3
votes
2answers
33k 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
2k 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 ...
3
votes
1answer
1k 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
53 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 ...
4
votes
2answers
948 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 ...
4
votes
1answer
513 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
428 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 ...
0
votes
1answer
421 views

Can't pin Wheezy on Linux Mint Debian Edition (LMDE)

I'd like to have your advice on yet another pinning problem that hit me recently. I've been through man apt_preferences several times, and I can't find anything wrong in what I did. I was having ...
1
vote
2answers
1k 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 ...
4
votes
2answers
825 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?
5
votes
2answers
529 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 ...
27
votes
2answers
2k 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
242 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
826 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 ...
1
vote
1answer
1k 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 ...
6
votes
2answers
4k 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 ...
7
votes
1answer
2k 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?
3
votes
1answer
2k 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 ...
2
votes
2answers
23k 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
320 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 ...
6
votes
5answers
1k 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 ...
4
votes
2answers
4k 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
705 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 ...
5
votes
2answers
5k 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
757 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
125 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 ...
2
votes
1answer
2k 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
238 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. ...
3
votes
3answers
2k 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
2answers
93 views

Why is my Yellow Dog keyboard layout wrong? [closed]

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

How to clone a read-only portion of /proc file system

The problem with reading /proc file system is that it is not atomic. I tried using a library (procfs in Python) that wishes to read it, but it has glitches about 5% of the time because the process ...
2
votes
2answers
110 views

Akonadi floods my .xsession-errors

I am seeing tons of these error in my .xsession-errors: krunner(8135)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Connection refused" ...
7
votes
4answers
358 views

Which data should be excluded from log files , error messages etc. if posted online?

What data should one erase from log files, error messages etc., if posting them as a screenshot so as not to expose sensitive information? As I have little knowledge about this topic, I can vividly ...
1
vote
2answers
745 views

Determine whether kernel built-in driver supports a device

I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel. I'm working with RHEL 5.5 ...
1
vote
1answer
1k views

How to run rtl8192cu driver in linux with kernel 3.8?

I have a trouble with usb WiFi dongle TPLink WN725N (rtl8192cu driver). Dongle it start, but cannot connect. Driver in official Realtek site support only 2.6.18~2.6.38 and 3.0.8 kernels. Is there a ...
2
votes
1answer
111 views

Deleting a pattern from a file and appending it to the end?

I have a log file which have contents like below: #SOME MORE DATA These switches don't have latest images : SWEs-elmPCI-A-01# #SOME MORE DATA These switches don't have latest images : ...
3
votes
1answer
2k views

How do I route different users over different OpenVPN tunnels in Linux?

The setup: I have multiple, static-key OpenVPN client/server configurations, labeled "client1", "client2", and "client3" with server/client IPs 10.10.1.1/10.10.1.2, 10.10.2.1/10.10.2.2, and ...
1
vote
4answers
185 views

How can i run a piece of code in background?

Can I run a piece of code in background instead of using another script. [sesiv@itseelm-lx4151 ~]$ cat ./testback2 #!/bin/bash start_time=$(date +%s) for i in {1..5} do ./testscript & done wait ...
0
votes
1answer
316 views

How to remove LUKS auto-unlock?

Unfortunately my drive unlocks automatically. This makes the whole encryption useless. How do I turn off this annoying feature on a specified drive (e.g. /dev/x) ? The cryptsetup command I've found ...
3
votes
0answers
303 views

Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)

I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
0
votes
2answers
93 views

Executing a program according to the last modified date

I need to write a script which would execute some executables in a directory according to the last modified date. The oldest should run first. How do I do it? This is what I have done so far for f ...
4
votes
2answers
480 views

Install application to /usr/local

Some application that installs automatically such as Netbean, JDK often install to /usr/local and I run it by normal user (not root). But another application, just extract tar.gz file and run it. ...
10
votes
2answers
11k views

Installing a package locally to a user - best practices?

I want to install Git locally to a user on a RHEL server (I don't have root access) What would be your cleanest/ most organized way of installing software to a local user account? Installing ...
2
votes
1answer
466 views

Configure SSL Mutual (Two-way) Authentication

I was asked to do it "Configure SSL Mutual (Two-way) Authentication" and I don't know where to start or how to test it . server and many clients . they can access code on server only if they have a ...