0
votes
0answers
4 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 ...
0
votes
0answers
8 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 ...
0
votes
0answers
8 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 ...
-8
votes
0answers
24 views

unix standard file streams

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
8 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 ...
0
votes
2answers
4 views

how does Thunar generate thumbnails?

How does Thunar generate thumbnails? Does it generate them themself or does it use some external tool?
1
vote
1answer
10 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
4 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" ...
0
votes
0answers
16 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 ...
0
votes
0answers
5 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
21 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
14 views

Error in Python multiprocessing process

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
13 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
2answers
42 views

How to change suffix of the files

In a dir structure which has multiple subfolders and files in it. some of the file names has the suffix _create (java1_create) and some of them with _bak (java2_bak). I need to rename only the ...
3
votes
2answers
76 views

What's the difference between poweroff and halt? [duplicate]

To turn off my system, I can use one of these three commands: sudo halt Or: sudo poweroff Or: sudo shutdown -h now What are the differences between these commands, or are they all just ...
1
vote
0answers
9 views

How to get miniature(live thumnail preview) of open windows on linux?

Gnome-shell does it in the 'activities' screen, unity/compiz has it in 'Spread','Shift','ALT-Tab'. How do I get those live window previews in C++?
0
votes
0answers
16 views

Split adds extra LINE FEED (LF) with Character " (Doubel Quote)

I'm using the follwoing script to split a large file into smaller ones... but the lines in the files generated looks like this split -d -a 5 -l 1000 - ${in_file}"_" ...
0
votes
1answer
11 views

Connections without Virtualhost

I saw tons of connections on port 80. But no requests from these IP addresses were logged in Apache access/error logs. I deleted all the virtual hosts, stopped Apache, and restarted it after there are ...
0
votes
0answers
11 views

Depends: libqtgui4 (>= 4.6.2) but it is not installed

I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be ...
0
votes
0answers
8 views

Find out the changes in virtual OS when copping it

I have installed CentOs 5 by means of VMware in a computer named "computer_A". Now I have copied this virtual OS files (I mean VMware files) from "computer_A" to another computer named "computer_B". ...
0
votes
1answer
13 views

Restrict VM Linux installed on a computer to run in another one [on hold]

My host OS is Windows. Using VMWare I installed an image of Linux CentOS 5. In this VM I have installed a software named "mySoft". I want to sell the VM to one person to run only on his computer. ...
0
votes
0answers
15 views

Using `minicom` not able to access the root file system

I am trying to use minicom for my serial cable communication to the target but I am not able to access the / of my remote device.I tried setting up ttyXX for minicom using sudo minicom -s but still I ...
0
votes
1answer
24 views

Want to find a file Name starting with a pattern and ending with .csv

I have a folder in which I have many subfolders. The Root folder name is allCSV and sub foldername is will be like a_date(s), b_date(s), c_date(s) ... I want a file which is in a_date(s) and ends ...
0
votes
0answers
9 views

Random crashes on XFCE - how to diagnose what's happening?

I'm on Parabola (a fork of Arch), and I'm running the XFCE desktop environment. However, I periodically get these weird crashes, where my entire desktop freezes. I have no ability to move my cursor ...
0
votes
1answer
9 views

Recoll search provides searches of multiple words in a term and the single term

I would like to know whether I could avoid Recoll to search multiple words in a term and only search the single term. For example I'm trying to search for register indirect and it gives searches of ...
0
votes
0answers
6 views

How to use blktrace to monitor the eMMC Flash access pattern?

I'm trying to simulate a FTL(Flash Translation Layer) algorithm and evaluate its performance. What I need is a trace file of a flash access(containing information about block and page access). I'm ...
-1
votes
1answer
29 views

Extending awk one-liner from identifying matching pair of columns (row by row), to multiple columns

I am using Win7 with Cygwin. I have a one-liner that will work for identifying matches in a PAIR of columns, but when I try to introduce additional columns (i.e. >2) I cannot get it to work. So the ...
0
votes
0answers
16 views

read failure error while connecting to the server

There was a problem last night when I tried to connect to a remote server from my personal computer having Linux. First, I received the following error: ssh_exchange_identification: read: Connection ...
0
votes
0answers
7 views

Problems Setting Up DHCP Server On CentOS 6

I have been trying to set up a DHCP server on CentOS 6 running on an Intel NUC i7. I have installed dhcpd and am using the example dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 { option ...
0
votes
0answers
10 views

Debian won't accept my network's password during installation

I'm trying to install Debian Jessie on a Toshiba Satellite M45-S331, but I'm stuck on the "Configure the network" step. I successfully installed the firmware for my wireless card, and I am able to ...
0
votes
2answers
24 views

Log file processing [on hold]

I have a log file like this; I can get NOW=HOUR=date +'%H' I can get login time in hour with something like cat file | awk '{print $2}' | cut -d: -f1 Is there a way I can compare the login times ...
1
vote
1answer
11 views

USB hard drive doesn't auto mount

I just bought a raspberry pi and want to start using it as a NAS. I'm fairly new to this, but I've gotten this far.. I've got an external hard drive (freshly formatted NTFS) connected with a USB cable ...
0
votes
0answers
16 views

Internet connection in Grub2 [on hold]

Would it at all be possible to create an internet connection in Grub2? During boot that is? I realize the imminent security threat in doing so. Not asking if this is a good idea. I am more asking of ...
1
vote
3answers
107 views

grep command not working in conditional statement

I've a bash script that's supposed to go over all the filenames and print them only those that contain a certain letter (let's say it's 'o'). What I've done: command=`ls -l` for file in $command do ...
0
votes
1answer
19 views

cant run dd command on android device

The main objective is to send a splited file to an android and join it back up with a .sh script, the file is splited to 5MB parts but its total size is unknown (trying to make an universal script), ...
0
votes
0answers
4 views

Arch and Windows 7 dual boot with encryption, replacing existing Linux install

I have a computer with 3 hard drives: 120 GB SSD, which Arch identifies as sdb 1 TB spinny drive, which Arch identifies as sdc 160 GB spinny drive, which Arch identifies as sda Currently, Windows ...
5
votes
3answers
151 views

Easiest way to find missing quote in a bash a script?

I have a bash script which is currently 700+ lines long. After a particularly long round of editing, it now errors like so: ./run_me.sh: line 693: unexpected EOF while looking for matching `'' ...
1
vote
1answer
20 views

Centos 7 - Recover mysql db from data files .frm and .ibd

I have migrated my operating system from Windows to Centos 7 without getting backup of mysql through mysqldump. Now I have mysql data files .frm and .ibd . I want to migrate them How can I migrate ...
1
vote
1answer
14 views

Disable NFSv4 (server) on Debian, allow NFSv3

How can the NFS server on a Debian 8 system be limited to NFSv3? By default, shares can be mounted with both vers=3 and vers=4. /etc/default/nfs-kernel-server: # To disable NFSv4 on the server, ...
0
votes
1answer
27 views

Sed: how to replace 0 and :?

sed -i s:group\:\:000::g myfile /usr/local/bin/sed: -e expression #1, char 12: number option to `s' command may not be zero I want to replace the string group::000 with nothing,i tried to escape ...
1
vote
1answer
14 views

upgrade chroot version on centOS 5?

How do I upgrade chroot release on my centos 5 server? I want to install a service that uses a new capability available in later versions (--userspec) of chroot and I can't find any documentation of ...
-2
votes
0answers
16 views

Ubuntu Works on “Upstart” But not a Normal Boot. How to fix? [on hold]

How do I get Ubuntu to boot normally without having to use the "upstart" option? I've had a stable Ubuntu install running for quite some time now, but since 15.04 it only boots up stable when I do ...
0
votes
0answers
5 views

Problematic RTL8188EE Wireless Network Adapter

Good Day All, There are numerous results when searching google on this issue, however, none seem to have a solution. I am hoping to resolve this issue -- or at least have a decent workaround. It is a ...
0
votes
1answer
17 views

No java command after sudo apt-get install default-jdk

I had some trouble with java so I manually removed the contents of /usr/lib/jvm directory. That was probably not a good idea, cause I have now bigger trouble to make java working again. I tried to ...
1
vote
0answers
19 views

Interpreting regex wildcards with grep [duplicate]

This is a really simple question, but even after reading about wildcards/regex, I can't seem to grasp entirely what the differences between these commands are: grep . test.txt this one will look ...
1
vote
0answers
19 views

Add Repository In Debian 6.0.8 [duplicate]

I am trying to add a repository in Debian 6.0.8 sudo cat /etc/debian_version 6.0.8 sudo apt-get install software-properties-common E: Unable to locate package software-properties-common sudo ...
0
votes
0answers
57 views

How can I combine information of three files to create a fourth one?

I have three csv files, each of them containing the information I need to get a fourth one. I'm describing toy files but the actual ones contain much more columns and rows, still on the same models. ...
0
votes
1answer
7 views

HPUX: how to access to remote repo swagent?

I have one server with hpux,two clients even hpux The client are hpux3,and hpux4 The server is called hpux2,and serve a remote repo of depots if i try to install from hpux2,of course all works fine ...
1
vote
1answer
8 views

Resizing the terminal window for ipython command prompt

I am using the OS X Terminal (I know, not Linux or Unix, but hopefully that's irrelevant here) for a number of operations, and commonly use nano to quickly edit files. In doing so I often resize the ...
3
votes
1answer
66 views

Is it safe for my ssh user to be given passwordless sudo for `apt-get update` and `apt-get upgrade`?

I have an SSH standard user account on my personal server, and it has sudo access (via its password). I ssh in using a public key, so I don't have to type in the account password to log in. Is it ...

15 30 50 per page