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
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
48 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
48 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
23 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
62 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
49 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
44 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
54 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
38 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
15 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
44 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
113 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
45 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
79 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* | ...
0
votes
2answers
41 views

Starting a Linux desktop from CLI [closed]

I can login to a lab Linux CLI, but have no further info on the install. Is there a generic command for starting a default DE/WM; I seem to recall "startx" would run a default X11 setup, but am ...
1
vote
1answer
64 views

How to use ARM as LTSP server? [closed]

Arm has a limited support for server packages on Linux but is it possible to use ARM board i.e Raspberry Pi or Banana Pi(it uses Armhf instruction set rather than dated Armv6 used by raspberry pi) as ...
0
votes
1answer
33 views

Issues executing program

Ultimately I'm trying to get a program to run at start up and work correctly. I have been successful in getting it to show up in running processes after a reboot, but it doesn't seem like it is ...
1
vote
1answer
31 views

arch linux recognizes the partitions and hard disks wrongly

My arch Linux system does not recognize neither the partition nor the hard disk in which it is installed. it is installed on /dev/sdb1 but it recognizes that as /dev/sdc1 and the initialization goes ...
1
vote
2answers
36 views

Applying mouse settings on startup

linux learner here. (Running on a Debian-derived distro) My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup. I made /etc/init.d/mouse When I ...
1
vote
1answer
29 views

Permission denied on aio-max-nr file

I would like to edit the file aio-max-nr: root@node:~# echo 65536 > /proc/sys/fs/aio-max-nr -su: /proc/sys/fs/aio-max-nr: Permission denied Knowing that : root@node:~# ls -lrth ...
2
votes
1answer
34 views

How to disable my touch screen

My screen is cracked, and the touchscreen makes the courser spasm every once and a while. Is there any way i can fully disable it? As requested: Module Size Used by ctr ...
0
votes
0answers
17 views

what Linux distro for OMAP3 (DevKit 8000)

I'm struggling with install Linux on SD Card on DevKit8000. Is there any distro, which require only install *.img on SD Card and plug into board?
0
votes
0answers
25 views

Use Broadway on debian 7 server, how to install?

I search on the web, but I could not found anwser (except for Ubuntu with PPA, but it seems to be buggy with debian, or I can't use it). How can I install broadwayd on my Debian 7 server ?
1
vote
0answers
12 views

Dual booting Kali Linux and Windows

I need to dual boot my pc. Kali & Windows. I have Windows installed. I just created a 50 gb partition for the linux install and when I get to the partitioning section of the Kali installation, it ...
0
votes
0answers
32 views

Cannot type in login credentials in Red Hat

Got stuck at the login window (Red Hat 6.5) as I cannot type in the login ID. No characters are accepted in the box. MouseOK. Any ideas?
0
votes
0answers
25 views

Problem while installing LibreOffice on Elementary OS

I'm having the following message when I try to install LibreOffice on Elementary OS 32 bits. I'm doing it on a ASUS Eee PC 900. Lendo listas de pacotes... Pronto Construindo árvore de dependências ...
2
votes
1answer
42 views

iwlist scanning without root privileges

I'm writing application where I need to scan one of wireless interfaces. In the past, my program was run with sudo and I used (in code): iwlist wlanX scan But now I want to allow to run program ...