Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
19 views

Kernel config for HP Stream 13 (booting from emmc disk)

I'm trying to install gentoo on hp stream 13 device and i am unable to boot up system from the emmc hard drive. Before trying gentoo on this device i have successfully installed debian, which clearly ...
2
votes
1answer
3k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
1
vote
1answer
21 views

service launched at boot, after all other?

Config : Linux Mint 17,2 (Ubuntu based, Debian based). I launch a home-made service at boot. Added with update-rc.d homemadeserviceName defaults I need to be sure homemadeserviceName runs after ...
3
votes
2answers
181 views

What is the difference between /sys/block/sda1/stat and /sys/block/xvda1/stat?

On my local machine, I have /sys/block/sda1/stat. On an Amazon machine, I have /sys/block/xvda1/stat. When I run cat /sys/block/sda1/stat or cat /sys/block/xvda1/stat both give 11 fields of output. ...
4
votes
4answers
3k views

How to recover a file just deleted [duplicate]

I just deleted a file in Nautilus with Shift+Delete, which warned me that "If you delete an item, it will be permanently lost." I wonder if there is no way to recover the file? My OS is Ubuntu 10.10. ...
4
votes
5answers
766 views

Multiple terminals at once without an X server

There is a way to visualize multiple terminals at the same time without running a Xorg session ? I have a really low profile machine that could be great for some basic stuff but has an horrible ...
1
vote
1answer
23 views

Making service NOT launch at boot

Context I made a service in init.d to be launched at boot (let's call it the primary service). And I updated update-rc.d primaryservice defaults This service calls 2 scripts (2 different task ...
2
votes
3answers
42 views

Assigning “awk” or “nawk” to a variable in a shell script [closed]

I have a script to be run on both Solaris and Red Hat systems. I want to use "nawk" in Solaris and "awk" in Red Hat systems as text processing tool. For that, I have a code snippet as below in my ...
0
votes
0answers
5 views

Spamassassin training problem with amavisd

I wrote a Outlook add-on that uses the Tell command to train spamassassin. The user selects the messages and clicks a Spam or Ham button. It works great. I have got everything to work but I cannot get ...
3
votes
0answers
70 views

How to best track adventures of a novice administrator

I have this user that has limited sudo privileges, yet he manages to screw up from time to time. I would like to keep an eye on his adventures, so that I can reverse any damage with less digging. ...
2
votes
1answer
960 views

Memory management - how memblock_reserve works

I am new to Linux kernel and I am studying the Linux memory management framework. I have few doubts on this. I am working on Marvel PXA986 boards and in board file I can see few memory reservation ...
0
votes
1answer
511 views

FreeRadius: Authentication with active directory

I need to setup a radius server with active directory authentication, on a RHEL 6.5 server. I have been following this guide. As per the guide, I have made necessary configurations which are as ...
2
votes
6answers
5k views

Bash eval array variable name

Here is my bash case: First case, this is what I want to do "aliasing" var with myvarA: myvarA="variableA" varname="A" eval varAlias=\$"myvar"$varname echo $varAlias Second case for array variable ...
2
votes
4answers
6k views

Installing crontab using bash script

I have created a script to install two scripts on to the crontab. #!/bin/bash sudo crontab -l > mycron #echo new cron into cron file echo "*/05 * * * * bash ...
0
votes
2answers
27 views

nohup not updating nohup.out

Boiling down to the smallest problem here is a simple python script that I want to run using nohup on linux. I run it using the following (on linux): nohup python test.py & The command seems ...
-4
votes
0answers
37 views

small help in this qustion [closed]

I tried many time with [username]=Foxr \$. But gives error. Q: Provide an instruction to alter your prompt so that it displays the following information: (time : instruction number) [username] ...
23
votes
3answers
36k views

Linux: How to find the device driver used for a device?

If my target has one device connected and many drivers for that device loaded, how can I understand what device is using which driver?
6
votes
4answers
21k views

How to play RTSP stream under Linux for the BOSCH AutoDome Junior HD IVA camera?

I have a AutoDome Junior HD IVA camera. How do I play RTSP stream in my Linux distro? I tried VLC but it fails. Is there any other reliable tool? Follow up: Try 1: fail $ mplayer ...
1
vote
1answer
58 views

What are XRuns?

I have read about them several times and encounter them myself when setting the buffer size too low in jack or quitting audio applications. Nobody ever explains though what XRuns are. Can someone ...
1
vote
1answer
60 views

How can I *automatically* backup my contacts in Google Contacts/Gmail?

On a similar theme to this question, how can I automatically (on a schedule) back up my contacts from Google Contacts/Gmail from the command line (Linux or OS X)? Ideally, this mechanism would be a ...
0
votes
0answers
19 views

Valid keycode but no scancode [duplicate]

Please reopen the question, it's substantially different. I asked about keys which don't work in this question. In tty I ran showkey --scancodes I found out that the keys don't even send a ...
0
votes
1answer
2k views

How can I simulate usb storage device connection with qemu?

I'm writting a program for controlling usb storage device connections (this is a classic subject). All it's ok with my program, but now, I want to write some tests. So in order to do that, I realized ...
-1
votes
0answers
27 views

Linux Mint 17.2 boot hang-up

I installed Linux Mint 17.2 XFCE on an old PC. The problem begins at the end of the installation process: the installation window disappears and I am only left with the live cd desktop that does ...
10
votes
4answers
35k views

How do I partition a USB drive so that it's bootable and has a Windows-compatible data storage partition?

split from here I have a 16gb flash drive, which I want a live ISO to boot from (via unetbootin or something similar). It'll be some 32bit distro that I can plug-in and boot on whatever computer I ...
1
vote
1answer
1k views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
1
vote
1answer
103 views

How low can I go on RAM?

I have some old PCs runnning on my business. And by old I mean PENTIUM-3 800 MHZ and AMD DURON 950 MHZ, with 256MB RAM. They are running my business software today on Windows XP. I want to run Linux ...
0
votes
0answers
25 views

Running linux with hybrid HD/SSD on a macbook pro

I considered installing Linux on a macbook pro (mid-2010, "6,2") to extend its lifetime as I currently encounter problems in OSX Yosemite with it slowing down, locking up, etc. However I have a hybrid ...
1
vote
1answer
134 views

Grub package configuration error on each and any software update

Sometimes ago I had to restore Linux boot after Lenovo (v580 laptop) Windows 8 system recovery button pressing (just a stupid mistake). I followed this guide then ...
1
vote
1answer
19 views

DHCP server with static IP not resolving hostnames (clients do)

Network Setup I have a server which I am trying to set up LXCs on I am using LXD which forces me to use DHCP DHCP is working fine already due to my setup I need to be able to access the containers ...
1
vote
1answer
2k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
1
vote
1answer
46 views

How to make boot output verbose?

I use to enjoy watching my red hat then debian then ubuntu machine boot, the boot process was not hidden from my view, now it is, in most of all distros, now, I know I can somehow connect a terminal ...
2
votes
0answers
41 views

Cannot boot into Linux off live USB

I am trying to dual boot Linux on my laptop (Dell XPS 15) which is running Windows 10 Pro. I did not have any problem dual booting the two operating systems on my desktop. I cannot boot up ANY Linux ...
0
votes
0answers
40 views

Run Zenity script as an application (zero terminal) [closed]

I have made a bash used by Debian. Now, I'd like to provide a 100%-GUI application instead of launching the bash into/from the Terminal. My project: runs the bash script & displays a ...
-1
votes
0answers
25 views

How to create standard Linux Mint in USB stick?

I want to install Linux Mint to USB stick and boot from it. Full, standard (not Live USB) install. I have now Live USB stick in my Mac but it don't remember any changes so i want to change this live ...
1
vote
2answers
67 views

Cron only occasionally sends e-mail on output and errors

On Debian 8.1, I'm using a Bash feature to detect whether the stackoverflow.com website is reachable: (echo >/dev/tcp/stackoverflow.com/80) &>/dev/null || echo "stackoverflow unreachable" This is ...
2
votes
0answers
43 views

Freeradius server for multiple vendor network

We have been using network switches from Enterasys and for logging in to these switches, with AD credentials, we have setup a freeradius server on RHEL 6.5 server, that is working absolutely fine. ...
1
vote
1answer
2k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
0answers
9 views

Cronjob and Mapcrafter for Minecraft not running the renderer

I am using two Raspberry Pi 2 computers: one to run a Minecraft Server, one to run Mapcrafter (http://mapcrafter.org/index) to setup and update the server's map on my Apache2 server. I am using cron ...
0
votes
0answers
7 views

Messed up chown in /usr/bin. Caja won't allow me to mount drives

Ok so I did a bad boo-boo and did a chmod 755 on /usr/bin (it was by mistake, there was a folder in /usr i needed to do it on that started with "bi" and I stupidly did chmod -R 755 /usr/bi* cuz I was ...
0
votes
1answer
14 views

Default gateway is not reachable

I have a vmware player on which i have installed CentOS 6.5. And on that CentOS 6.5 i have installed lxc and on that lxc i have installed centos 6.3. I am using NAT and bridger as a Network adaptor ...
0
votes
0answers
18 views

POR Recovery Count increases at every reboot

I have a Samsung SSD in my notebook. In the last week I tested some linux distros, because I want to replace windows 7, but... I find a weird thing: every reboot from linux increases the POR Recovery ...
0
votes
1answer
585 views

Problems with USB microphone ARCHLinux

My USB mic in webcam in Skype not working (cam works fine). I use Arch Linux with alsa. I set up pulseaudio but then I removed it because it is not stable. cat /proc/asound/cards 0 [SB ...
1
vote
1answer
15 views

Why is debug_putstr() not being printed during boot?

I'm asking myself why debug_putstr() in arch/x86/boot/compressed/misc.c is not being printed during x86 boot phase, though it is configured to do so with GRUB_CMDLINE_LINUX_DEFAULT="". On other ...
0
votes
1answer
29 views

DNS Query Script

I am trying to get all the A records for some domains. The best way I have found is to use https://www.whatsmydns.net and the nexcess tool. The issue is that it is very slow to copy paste them and ...
2
votes
2answers
56 views

Find last time yum update was run

Am building a script to find out when a list of servers was last fully updated with yum update. I can find it by a history |grep "yum update"|head -n 1 however, the problem is that a user could have ...
4
votes
5answers
114 views

Is there a plain GNU/Linux OS?

I'm currently looking at all the different Linux distros and can't seem to find the original GNU/Linux OS. Apparently there is a GNU System which combined the GNU project with the Linux kernel. How do ...
3
votes
1answer
2k views

Device eth0 does not seem to be present, delaying initialization

I have cloned a fedora and now trying to configure network interfaces. Every time i am adding a new NIC, it starts with number eth3 (rather eth0). i have tried removing and modifying the ...
1
vote
0answers
20 views

Unmount Recursively Bind Mont in User and Mount Namespace

I am trying to use recursive bind mount in a new user namespace and mount namespace. This is what I do. Assume /foo/bar/ and /foo are both mount points. Firstly I do mount --rbind /foo/bar/ /baz, and ...
0
votes
1answer
29 views

Having trouble compiling BFLT Utils: can't find libiberty.h, despite being installed

I'm attempting compile BFLT Utils (https://github.com/nihilus/bflt-utils), but keep getting the following error: $:/tmp/bflt-utils/flthdr# make gcc -Wall -g -O2 compress.c -c gcc -Wall -g -O2 stubs.c ...
1
vote
2answers
47 views

find path directory in sub directory

I want to find the path for directory name bbb where the parent directory called aaa For example /aaa/bbb /tmp/aaa/bbb /usr/bin/aaa/bbb /home/aaa/bbb /home/aaa/xxx/bbb So i wrote something like ...