0
votes
1answer
11 views

Using another's device resources for software execution

I have an old weak laptop (core duo at 1.7Ghz) and a quad core phone(arm cortex a7). Both are running linux. Could I use phone's resources from laptop to execute(process) stuff for laptop? Is there ...
0
votes
1answer
14 views

Hyphen/Dash “-” Symbol's use in Linux bash /dir + GRUB booting for newbs

I am attempting to complete this GitHub tutorial on creating a custom GRUB loader for a stubborn Asus Win8.1 laptop on which I am hoping to install Ubuntu: ...
0
votes
0answers
11 views

Volume Group fails to recover

For the last 10 days I've been living a nightmare trying to recover my data. I'm trying to recover VG and mount it to access the data here's what I get [root@]# pvscan Found duplicate PV ...
1
vote
1answer
10 views

How do I turn a local yum repository into a local satellite for many other repositories

I am not sure I am asking this question in the best way. I am doing my best to ask it in the clearest way possible. I would like to build a local (to my cluster) yum repository server such that I ...
2
votes
1answer
52 views

How to execute an arbitrary simple command over ssh without knowing the login shell of the remote user?

ssh has an annoying feature in that when you run: ssh user@host cmd and "here's" "one arg" Instead of running that cmd with its arguments on host, it concatenates that cmd and arguments with spaces ...
2
votes
1answer
7 views

wget from ftp: supress default page creation

I'm trying to download subfolder from ftp. There are only data files. I'm using: wget -nH -np --cut-dirs=5 -r http://sss.com/1/2/3/4/5 Unfortunately wget creates one additional file: index.html ...
1
vote
1answer
20 views

Can't see GRUB menu on boot

I've installed Ubuntu 15.04 with on a google pixel 2015 chromebook, but I can't see the grub menu. At the time when I should be seeing it, all I see is "Booting from hard disk" and there's some ...
1
vote
0answers
10 views

Strange behaviour of the dock after opening a maximized window

I have tried Elementary OS through a DVD and when I had a window (not maximized) after I maximized it and closed it then when I re-opened it there was a weird jumpy behaviour in the dock. The window ...
0
votes
1answer
26 views

How to detect if DE is Unity or XFCE via shell script?

I have a few configuration scripts that I run everytime I install a fresh version of Ubuntu. Recently, however, I migrated to Xubuntu. I would like to use the same script for both distros, since both ...
0
votes
1answer
8 views

Android Emulator doesn't work on Linux Fedora 22 beta

I can't launch x86 or x86_64 android emulator on Fedora Linux 22. I've tried a bit of images, including 5.01, 5.1.1, 4.2 & 4.4.something. Currently, Arm version runs perfectly fine, just pretty ...
0
votes
0answers
13 views

Run Git Pull from a shell start-up script

I have raspberry-pi that loads a shell script on start up. This script runs a python script 'boot_camera.py' which is found in a repository. I Have a server which sends the raspberry-pi a command ...
0
votes
0answers
9 views

cygwin “XWin Server” in task bar

trying to set up cygwin's X server. I end up with an "XWin Server" button in the taskbar, however no window seems to be associated with it. Various tries of startup-options don't get me any further. ...
1
vote
0answers
23 views

Wifi with WPA2-EAP MS-CHAPv2 authentication (username and password) during Debian installation

I am currently attempting to install Debian on my laptop computer. During the network configuration stage, I am prompted to "enter a passphrase for WPA/WPA2 PSK authentication". Unfortunately, I am on ...
0
votes
0answers
5 views

Changing settings for XFCE4 on debian wheezy terminal

I am using a raspberry pi running raspbian wheezy. How do you change the desktop settings for an XFCE4 desktop on raspbian, installed with sudo apt-get install xfce4-full, now the default X desktop, ...
1
vote
2answers
12 views

Go to file/directory in Midnight Commander by typing

One thing I really miss in Midnight Commander (compared to some GUI file explorers, like f.e. Thunar) is the ability to go to a certain directory by just typing prefix of its name. For example for a ...
-2
votes
2answers
26 views

Displaying a list of all *.java

Display a list of all java files which name is *.java in your current working directory which contain the string Example, regardless of the case sensitivity of the latter's individuals letters. ...
0
votes
1answer
11 views

FTP passive mode, fails

Hi I am trying to setup iptables to allow FTP. When I connect with FTP, i get the following message in my filezilla. Status: Connected Status: Retrieving directory listing... Command: PWD ...
2
votes
4answers
91 views

How to atomically allocate a loop device?

I am writing some shell scripts to handle some disk image stuff, and I need to use loop devices to access some disk images. However, I am not sure how to properly allocate a loop device without ...
1
vote
3answers
42 views

Append something to each list in a file

I have a file, lists.txt, that looks like this: // stuff at beginning of file var list1 = new Array(); i = 0; list1[i++] = 'a'; list1[i++] = 'b'; ... list1[i++] = 'z'; var list2 = new Array(); i = ...
0
votes
0answers
20 views

A lightweight distro that runs on RAM with codecs (out-of-box) [on hold]

I am looking for a distro that I can run on RAM and that comes pre-installed with codecs and flash. I read about Porteus, Slax, SliTaz, Tin Hat, Alpine, Cinux, AntiX but I don't know which ones meet ...
2
votes
0answers
16 views

Exundelete can't restore the file

I'm trying to restore 2 important tar.gz files I know their directory but extundelete not restoring them although it's giving me the inode number. Loading filesystem metadata ... 2127 groups loaded. ...
0
votes
3answers
23 views

Output to variable with an indirect command (eval)

What is wrong with this indirect command when run with eval ? #!/bin/bash OS=AIX host=myhost CMD_AIX="(o=\`host \"$host\" \`)" CMD=\$CMD_$OS echo $CMD eval echo $CMD eval "$CMD" Ouput: $ ...
1
vote
0answers
16 views

NFS: mount.nfs: Protocol not supported

I want to mount the NFS share of a Zyxel NSA310s NAS. Showmount, called on the client machine, shows the share: $ showmount 10.0.0.100 -e Export list for 10.0.0.100: /i-data/7fd943bf/nfs/zyxelNFS * ...
2
votes
3answers
68 views

Script to log temperature

I have been trying to write a BASH script to log my raspberry pi's temperature. My plan is to run it as a crontab every 15 mins or something. However I keep getting errors, I think it's something to ...
0
votes
0answers
8 views

lsd-slam installation failed during rosmake

I am trying to install the lsd-slam library without success. When typing during the last step of the installation: rosmake lsd_slam I got this output: [ rosmake ] rosmake starting... ...
2
votes
0answers
8 views

Make OpenVPN accessible from outside the network

I'm trying to get openvpn working on my centos machine but I'm having some issues and I don't really know much about openvpn. I've managed to get it working and I can connect to it with another ...
1
vote
1answer
21 views

Pack installed system in tar.gz file

I have arch linux installed, with partition scheme like this: /dev/mapper/lvm-root -> / /dev/mapper/lvm-home -> /home /dev/mapper/lvm-opt -> /opt /dev/mapper/lvm-pkg -> ...
1
vote
0answers
20 views

Failed umount /home (ZFS) on shutdown

During shutdown I notice an error reported in the logging messages on the screen that the umounting of /home (a ZFS filesystem) failed. (After restart I don't find any respective log entry in the ...
0
votes
0answers
16 views

Number of Programs Crashing when Started [on hold]

I am using Debian GNU/Linux 7.8 (wheezy) and I am having an issue with opening a number of programs. The story goes that a couple months ago, I ran Debian with little-to-no issues. After updating it, ...
0
votes
1answer
21 views

How to restrict a VMWare linux from distribution?

How to restrict a VMWare Linux from distribution, e.g. restrict the copy and move to another computer? In a case, I have sold a specific VMWare Linux (which contains a specific software) to someone ...
1
vote
1answer
18 views

Running Firefox in Xvfb: extension “RANDR” missing on display

I'm trying run Firefox headless with Xvfb in Debian 7.8. I run Xvfb (I tried with +extension RANDR and -extension RANDR) $ sudo Xvfb :10 -ac [dix] Could not init font path element ...
0
votes
1answer
13 views

to allow certain ips and block all other connections on AMAZON EC2 ubuntu 12.04

How do I allow certain IPs and block all other connection in iptables on AMAZON EC2?
0
votes
0answers
6 views

Finding cd/dvd drive iso pickup location in esx VM using perl VI toolkit

I am using perl for managing my VM's in esx using VMWare's perl VI toolkit. I need to find the path of iso image to which cd/dvd drive is currently pointing to in datastore.
1
vote
2answers
17 views

I can not install MySQL using yum on Centos7

I've installed centos7 recently, but, when I am trying to install MySQL using the command: yum install mysql-community-server I keep getting Exiting on user cancel while I am not hitting any ...
4
votes
3answers
224 views

How to use printf and %s when there are color codes?

I had these lines: if [[ $# -eq 0 ]]; then printf "$fail_color Error - Function: $function, Line: $line_number \n" printf "do_test: Third parameter missing - expected result\n" exit 1 fi This ...
0
votes
0answers
9 views

Virtual VGA connected

I have new Board to work on. I connect the HDMI monitor to it. This board have support for VGA, DVI-I and HDMI. Now when I connect the VGA monitor only. xrandr shows me that DVI-I, HDMI are ...
3
votes
1answer
25 views

systemd service can't access user home

I am trying to setup a systemd service on Ubuntu 15.04 (and Debian 8). I have a program /home/testuser/server/prrserver. My systemd service is configured to run prrserver as testuser:testuser. What ...
2
votes
0answers
17 views

grub/systemd boot removed partition

I have an Asus Zenbook UX32VD. This laptop has a 500GB HDD and a built in 24GB iSSD (not sure what the i is for). Since I first got it three years ago I have been installing various linux ...
1
vote
0answers
20 views

bash - ignore case but disallow autocomplete if ambiguous

Recently i face inconvenient when using bash auto complete with ignore case. Let's say i have this directories: [xiaobai@xiaobai test]$ l total 20K 3407873 drwx------. 60 xiaobai xiaobai 4.0K May 25 ...
-11
votes
0answers
43 views

unix standard file streams [duplicate]

Each Unix process has three standard file streams associated with it. Give two of these streams and give a command line example of each being re-directed
1
vote
1answer
13 views

Xampp installer Error

I tried to install xampp ver 5.5.24 on Debian using terminal, after setting it to run as executables in permissions with. ./xampp-linux-5.5.24-0-installer.run I get Segmentation fault Then I ...
1
vote
2answers
6 views

how does Thunar generate thumbnails? [on hold]

How does Thunar generate thumbnails? Does it generate them themself or does it use some external tool?
3
votes
1answer
22 views

Auto disconnect from WLAN if unused

For Nokia N900 there is an app called AutoDisconnect which monitors the WLAN usage and closes the connection if the traffic is very low. I'd like to have something like this on my future notebook in ...
0
votes
0answers
7 views

In Ansible dynamic inventory JSON, can I “render” hostvars based on the hostname?

The Ansible documentation gives an example here on how to return an inventory in JSON format: { "databases" : { "hosts" : [ "host1.example.com", "host2.example.com" ], "vars" ...
2
votes
1answer
36 views

How to grep whitespace exclude new-line character?

Today I need to check which lines of my files containing trailing whitespace. And I figured out a solution: grep -Enr --color "\s+$" ./ This works well except for those lines containing non-Unix ...
1
vote
0answers
13 views

openbsd: mpls provider doesn't forward packets

Can anybody help me with next question: I am trying to get mpls test network up like in http://lteo.net/blog/2013/09/03/a-small-mpls-test-network-built-with-openbsd/ or ...
1
vote
1answer
32 views

sudo apt-get update doesn't work

I am using ubuntu 14.04 LTS. when I run sudo apt-get update command in terminal, following error will appear E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) ...
0
votes
0answers
17 views

Error in Python multiprocessing process [migrated]

I am trying a write a python code having multiple processes whose structure and flow is something like this: import multiprocessing import ctypes import time import errno m=multiprocessing.Manager() ...
2
votes
1answer
19 views

Releasing linux software - compatibility

I want to release a C++ library for Linux. Is it true that (when no other libs are dynamically linked) only the glibc version decides compatibility to other Linux distributions? Is there a better way ...
2
votes
3answers
54 views

How to change suffix of the files

In a directory structure which has multiple subfolders and files in it. Some of the file names have the suffix _create (e.g. java1_create) and some of them with _bak (java2_bak). I need to rename ...

15 30 50 per page