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

4
votes
1answer
149 views

How to find out which file is affected by a bad sector?

Consider you've been informed about a bad sector like this: [48792.329933] Add. Sense: Unrecovered read error - auto reallocate failed [48792.329936] sd 0:0:0:0: [sda] CDB: [48792.329938] Read(10): ...
0
votes
0answers
5 views

mood 400 tilgin linux installation

i do have a set top box tilgin mood 400. that settop box has an IDE hard disk I do need to install linux in that box. is there anyone who has any ideas how to?
0
votes
0answers
21 views

Install Xmind on Centos 7

i try to install Xmind on Centos 7, i try with: Download Xmind with deb package ar -x xmind-linux-3.31. . .-i368.deb tar xvf data.tar.gz cp -r usr/local/xmind/ /usr/local/ cp ...
0
votes
1answer
36 views

Kali linux network connection icon missing

I was trying to setup a vpn connection in Kali linux but i don't know what did i do that network connection icon (screen top right) is missing and i can't connect to internet! How do i fix it?
0
votes
1answer
20 views

Linux - symlink between mtd partition and user data from mount location

Is it possible to create a symbolic link between NAND/NOR mtd partition and a file from mounted partition (e.g., ln -s /tmp/mnt/linux.bin /dev/mtdblock1)
0
votes
1answer
22 views

Hosting on Apache/2.2.22, scan says outdated

I am web hosting websites on Apache/2.2.22 and did a security scan. The scan said the server software is outdated, the web hosting provider says its not outdated and a stable. Someone uploaded ...
1
vote
1answer
33 views

Application specific DNS problem?

I'm working on a live stream transcoder application using nginx + ffmpeg. Everything works fine when I use avconv to transcode, but if I use ffmpeg, I get this error: [tcp @ 0xb4e9da0] Failed to ...
0
votes
0answers
22 views

iptables IP address (source and destination IP address) mangling

I tried to understand the concept of iptables mangling part, but somehow failed to understand the IP header manipulative section. For example: Below is the system scenario which I'm trying to ...
1
vote
1answer
24 views

how to know on my linux machine if connection VIA sftp is active

I have Linux machine red-hat 5.X please advice - which what command I can identify if someone is tiring to copy files from my machine VIA sftp or ftp is it possible to verify this on my Linux machine ...
2
votes
1answer
29 views

postfix virtual domain on specific IP address

We are running postfix with single domain (example.com) currently and we have appropriate PTR record for that. Now we want to add one more domain but i want to isolate that domain totally, Even i ...
1
vote
0answers
24 views

Which kernel option for “Intel 8 Series Chipset Family Thermal Management Controller”

My new machine works fine, but lshw shows the following unclaimed device: *-generic UNCLAIMED description: Signal processing controller product: 8 Series Chipset Family Thermal ...
1
vote
1answer
26 views

Linux system files moved, how to return by booting from an installer?

So I accidentally 'sudo mv' my files from /* (root directory) to some directory inside my home directory. My OS stopped working and I rebooted. Then I encountered the error: file ...
3
votes
0answers
44 views

Is it safe to use tar even if there are some characters other than ASCII in filenames and paths?

Is it safe to use tar even if there are some characters other than ASCII printable characters? For example, Japanese characters, Chinese characters, newline character etc. Are there any known ...
1
vote
0answers
23 views

Who would use this information to develop better support for hybrid graphics?

I have a laptop with hybrid graphics and I'm so frustrated that linux doesn't fully support it without any intervention from my side, just like any other Windows machine would normally do. So I ...
1
vote
1answer
22 views

Vim visual selection method differs between Windows & Linux?

In Linux vim and gvim, I can make a visual selection by pressing V (e.g., v VISUAL or Shift+V VISUAL LINE), releasing it, and using movement keys (e.g., arrows) to highlight the desired text. In ...
0
votes
0answers
16 views

Sharing MySQL data between Windows and Linux?

I'm trying to share my MySQL database files between a Windows and a Linux distro (Mint). I have a dual boot plus a separate data partition (NTFS). I've tried mounting the partition with ownership on ...
0
votes
2answers
42 views

Regex long list of numbers

What is the command in Linux to find the regular expression e for every number from 37 to 200 included in a list with such numbers?
1
vote
1answer
45 views

Get static ipv6 ip

I'm trying to get an IPv6 IP for my wireless interface. When getting an IPv4 I see this: wlan0 Link encap:Ethernet HWaddr 00:15:00:bf:29:b2 inet addr:192.168.1.128 ...
3
votes
3answers
134 views

awk + print lines from the first line until match word

I want to print all lines from file until the match word please advice how to do that with awk for example I want to print all lines until word PPP remark the first line chuld be diff from AAA ( ...
3
votes
1answer
23 views

Is it possible to add error correction codes (BCH, RS or etc.) to a single file?

As far as I know, WinRAR archives may contain ECC (error correction codes), so if the archive is slightly damaged, then it can be fixed by itself. For example, I can first encode archives.tar to ...
0
votes
2answers
46 views

How can I mount a drive under my home directory at boot?

In my current setup, I have a RAID0 array of 2x3TB HDDs with btrfs, two partitions: / /home Under the /home directory, there are two users, both admin, one of which is myself. So far, this setup ...
3
votes
1answer
50 views

Linux Mint: Unable to uninstall / remove virtualbox

I'm using Linux Mint 17 and I have to uninstall virtualbox-4.3 from the system, but it's giving me the following error. $ sudo apt-get remove --purge virtualbox-4.3 Reading package lists... Done ...
1
vote
1answer
50 views

Allow wifi connections only to a local service, don't route to the wired ethernet

I have a Raspberry Pi running Linux (Raspbian) which is connected to my corporate Internet over an Ethernet cable. The RPi also has a wifi adaptor plugged into a USB port. I've been following along ...
0
votes
0answers
31 views

Extracting trace information using gawk

I am new to awk programming and am using gawk to extract trace information from a mrt file in order to use it further for analysis. I have successfully been able to extract trace information from a ...
1
vote
0answers
24 views

unable to fully install elementary os Luna on imac 11.1(late 2009)

I have tried to install Elementary os Luna(64bit) on my imac 11.1(late 2009 , processor intel i5, videocard ATI radeon HD 4850). At this moment it working but not very good, I will give you a summery ...
0
votes
0answers
16 views

Configuration Question for libgd-2.1.0 Install

OK, So I think I have zlib-1.2.8 installed on my Linux system correctly. I used the following commands to do this: ./configure --prefix=/usr2/lib2 --eprefix=/usr2/lib2 make make check make install ...
0
votes
1answer
66 views

Grub2 lost in new Linux distro install

So, I really need some help. Recently I was using a dual boot machine on the same hard drive. I had Windows 8.1 and Ubuntu GNOME 14.04. When I installed Ubuntu on top of my Windows install, I didn't ...
1
vote
2answers
52 views

How to execute Mach-O 32-bit C++ program on Linux?

I want to execute a program (which I know was written in C++), but I get this error: zsh: exec format error: ./myProgram Output of file myProgram: myProgram: Mach-O i386 executable My system is ...
1
vote
2answers
24 views

Possibilities for executable symlink to non-executable file in Linux?

I have some Python scripts, that I keep in a repository; they are plain-text files, but if their executable bit is set, then the online repository page serves them as binary downloads, not as plain ...
0
votes
0answers
54 views

Need php-pecl-rrd for PHP 5.6 on Linux

Previously I have been running with PHP 5.5 on a 32 bit architecture but due to a new server I have now installed PHP 5.6 on CentOS7. This is possible through Webtatic.com. The only problem I have ...
0
votes
0answers
47 views

Icinga2 node wizard does not set address

We have successfully installed Icinga2 on a master server and on several client nodes. We used the new icinga2 node wizard to setup first the master and then the nodes. After the process is ...
0
votes
1answer
56 views

Set maximum volume in Ubuntu/Gnome

I have the following issue with my volume settings (Ubuntu 12.04, 3.2.0-49-generic, Gnome 3, Lenovo X220): When I set the volume to maximum using the hardware volume keys, I get to "100%" in the Audio ...
1
vote
2answers
39 views

Rolling Release Dual Boot

Right now I am using Ubuntu GNOME and Windows 8 dual boot on the same hard drive. But my Gnome desktop is laggy and I do not like it very much. Because of that, I am thinking about switching to a KDE ...
1
vote
0answers
31 views

How to diagnose CPU performance problems?

Recently I bought a new netbook based on AMD A4-1200 CPU and installed Linux Mint 17 with XFCE. RAM is 4GB So, testing some of my programs, I found very strange behavior. On random intervals, the ...
0
votes
2answers
16 views

shared object file open error with “sudo command” but NOT with “sudo bash” then same command?

I'm having a hard time getting my brain wrapped around how LD_LIBRARY_PATH is handled differently for the following three cases: run as a regular user run via "sudo command" run via "sudo bash" ...
21
votes
3answers
1k views

How can I shutdown a RHEL server at 06:45 tomorrow morning?

I just received notification that our site has a power outage tomorrow morning. I am a Windows admin but I have to cover for our Linux admin who's not around until tomorrow evening. I need to ...
-2
votes
0answers
37 views

making a delete script and a restore script

I'm looking to create two scripts; one to "delete" a script, and one to "restore" I need "del " where this will move the file located at to the dustbin directory in a way that will allow it to be ...
1
vote
1answer
16 views

read UUID of partitioned Image-Disk

i know i can read the GUID of a Partition like this: blkid /dev/sdx Problem: i have created a 4GB-Image dd if=/dev/zero of=./myImage.img bs=1M count=4000 which is partitioned to 3 different ...
0
votes
0answers
45 views

Lenovo thinkpad E531 multi gesture touchpad

I tried a lot of distributions and I'm looking for a distro which supports more than 2 fingers. I don't know in Windows on my Thinkpad, there is 3 or 4 finger swipe for changing windows for example. I ...
2
votes
1answer
28 views

How to count the number of interfaces in a bridge

I want to bring a bridge down only when the last port is removed and so I have this somewhat hokey check to do it brctl show looks awkward to parse to get the information out and doesn't feel much ...
1
vote
0answers
114 views

Get System Serial Number in Linux Machines [closed]

How Can I get System Serial Numbers in Linux Machines ? i prefer to get this through a non root account and dont want to use external commands such as dmidecode or lhal Update I am working on a ...
0
votes
0answers
66 views

System CPU Time and User CPU Time Calculation for a Process in Linux

I want to calculate CPU time consumption of a particular process in system mode and user mode using statistics present in /proc/<PID>. There are two fields utime and stime in ...
0
votes
1answer
27 views

Configuring zlib for compiling and installation

I am trying to install zlib-1.2.8 from within "/root/tmp/zlib-1.2.8/" but I think my configuration options are incomplete. The configuration command that I'm using is: ./configure ...
0
votes
0answers
3 views

How “-fstack-protector” and “FORTIFY” option are different? [migrated]

These days I'm searching for the secure coding guide, and there is an option to prevent the buffer overflow. one, $gcc -fstack-protector -S test.c $cat test.s two, $gcc -O -D_FORTIFY_SOURCE=1 ...
1
vote
1answer
28 views

'hhighlighter' wrapper script saying command not found

I have gotten the wrapper script 'hhighlighter' from https://github.com/paoloantinori/hhighlighter which colors anything you want in stdout. I followed the instructions about installing ack-grep, ...
1
vote
1answer
46 views

Dual boot windows and linux

I have Windows 7 installed, and I have just installed Linux Mint 17. The PC automatically boots into Linux now. How can I get a dual boot startup screen with Windows 7 and Linux? Are there any UI ...
0
votes
1answer
32 views

linux boot stick being ignored on windows 7

I am trying to install CentOS server on a machine that also runs Windows 7. Towards this end: 1.) I created a 100GB "Unallocated" partition using the Disk Management tool in windows 7. 2.) I ...
1
vote
1answer
83 views

How do I get the old procps-ng top(1) layout back (pre-3.3.10)?

Since updating to procps-ng 3.3.10 my top(1) looks like this: Instead of: Not only are these colours annoying & offensive, I can't get it to sort as the "old" top(1) (O no longer works, and ...
0
votes
1answer
58 views

Editing lines in a file using a bash script?

I am creating a bash script that installed VSFTPD / FTP. After the installation some configuration is required in the "/etc/vsftpd/vsftpd.conf" file. This includes making sure the following lines are ...
1
vote
1answer
29 views

How to return Uptime of successful OpenVPN connection

I'm trying to figure out how to return the UP Time of a successful OpenVPN connection. I've tried different variants of the following code: #!/bin/bash TMP=$(grep 'tun0: link up' /var/log/syslog* | ...