1
vote
1answer
30 views

Confusion about systemd, environment files and command-line arguments to the service executable

I'm trying to convert an upstart script to systemd, but I can't figure out how to pass command line arguments to the executable. Here is the original upstart script: # job description description ...
0
votes
1answer
13 views

git annex sync - not pulling in files

I haven't synced my git annex repositories for quite some time and was trying to synchronize them recently, but am getting an error which indicates I need to merge. I am getting the error: Updates ...
0
votes
1answer
17 views

DRBD - 'node1' not defined in your config (for this host) - Error when setting Primary [on hold]

I am getting the following error when trying to set the Primary node for DRBD. 'node1' not defined in your config (for this host). I know this is related to DNS/Hostname/Hosts and the config ...
1
vote
3answers
20 views

Unison - login over ssh with different username at remote server

I am trying to set up Unison and am testing the connection. I run this command from the documentation: unison /var/www ssh://192.168.1.102//var/www but it tries to log into the remote server using ...
1
vote
0answers
12 views

Dracut failure when trying to boot Fedora with Qubes kernel

I would like to boot Fedora 23 Workstation x86_64 with a kernel from QubesOS 3.1. I have copied vmlinuz-4.1.13-9.pvops.qubes.x86_64 and initramfs-4.1.13-9.pvops.qubes.x86_64.img into the /boot ...
2
votes
0answers
16 views

Benchmarking under SELinux Sandbox with Phoronix Test Suite

I would like to run the Phoronix Test Suite 6.2.2 under the SELinux sandbox on Fedora 23, but I can't execute it using $ sandbox ./phoronix-test-suite. I probably don't have the correct SELinux type. ...
0
votes
2answers
33 views

Why cant I overwrite a file with processed value?

This question prompted a thought I was not sure I understood well. I know that it is not possible or correct to use pipelines like cat myfile | grep -v mypattern > myfile due to how file handles ...
0
votes
0answers
9 views

Qubes/Xen OS: access file manager for dom0

I hope somebody more experienced with Qubes specific terminal commands can help. If the KDE manager is installed, how does one open via terminal input the file manager for 'dom0'? To browse 'Home' ...
1
vote
1answer
17 views

Changing IPTables to Allow FTP over TLS Using Passive Ports

I am using Arch Linux. I followed a tutorial to change /etc/iptables/iptables.rules to allow only the basic ports for my web server. I also used /etc/modules-load.d/nf_conntrack_ftp.conf to enable ...
0
votes
1answer
8 views

Installed Kali Linux alongside win10 and now I can't boot win10

Okay so I installed Kali Linux on my win10 lenovo y50 laptop. Now when i boot it says win8 or Kali. Selecting win8 gives an error and Kali loads up fine ( other than my wireless NIC not working but ...
2
votes
1answer
10 views

Is it possible to create a mdadm RAID10 with both near and far layout options?

How do you create a mdadm RAID10 with both near and far layout options? The wiki indicates it is doable. The "near" and "far" options can be used together... The man pages for mdadm don't ...
0
votes
1answer
51 views

grep with piping and showing multiple lines

I am trying to use grep to search a large text file, and return the paragraph containing a few key words. I also want to return the surrounding lines in the result. So, for example I have the ...
0
votes
0answers
9 views

Using dual montiors and a spare GPU under Linux Mint 17.3

I upgraded my video to a GTX 750TI from a 550 TI. I'm contemplating throwing the 550 back in my box to use as a second GPU for rendering in Blender. I use two monitors, but intend to continue ...
3
votes
1answer
29 views

Manage Gnome GUI via Bash?

I want to power on the computer and have a Bash script to open all my programs in different Gnome work spaces. For example: Open text editor and CLI in the first work space. Open web browser A in ...
1
vote
1answer
19 views

How to install Software in redhat 7.2 using downloaded rpm?

Take MariaDB for an example. Package management tools like yum is good solution to install software and handle the dependencies issue for you. But in a primitive situation, without internet access, ...
0
votes
1answer
22 views

Linux command to find SD card serial number on Ubuntu/Debian

What is the Linux command to find SD card serial number on Ubuntu/Debian ? My SD card is not a USB device.
0
votes
2answers
34 views

Can we install a package through a shell script? [duplicate]

I'm trying to write a shell script so that when I reinstall my Ubuntu again. I could just run script and retain all the packages. And I'm planning to pass password in form of argument. My question ...
1
vote
1answer
94 views

No DNS resolution after upgrade from ubuntu 14.04 to 16.04

I upgraded ubuntu 14.04 to ubuntu 16.04 and I have a problem with the internet connection. Specifically, DNS after update stopped working. For debugging purposes I set the only DNS 8.8.8.8, but name ...
1
vote
0answers
14 views

Does Qubes OS support opengl on discrete graphics?

How can I configure Qubes OS that a VM supports opengl for my nvidia graphics on my laptop (optimus)? The laptop has a integrated intel card and a quadro K2000M. At least the quadro 2000 seems to be ...
0
votes
1answer
27 views

Script for connection with ssh then command once connected

I need to write a script that connects to a remote server, then once connected, connects from there to another server, then changes directory. The following of course does not work (it connects to ...
0
votes
0answers
40 views

No internet connection after update from ubuntu 14.04 to 16.04 [duplicate]

Is there anyone who may help me with the following problem? I upgraded ubuntu 14.04 to ubuntu 16.04 and I have problem with the internet connection. Secifically, DNS after update stopped working, I ...
1
vote
2answers
21 views

Get apache to serve Markdown as HTML

Like many people, I prefer writing in Markdown - is there a mod_markdown or similar that will let Apache serve Markdown content but render as HTML ?
2
votes
1answer
16 views

Where can users' personal data be?

I want to secure my data on a multi-user system, so ful-system encryption is not an option. I encrypted /home/me with ecryptfs, the swap with cryptsetup. But I read that the applications can ...
0
votes
0answers
23 views

No padding for menu-bar items — Manjaro - Xfce

Don't have a clue as to, what should be done to fix this.. Running a Manjaro x86 - Capella, Linux 4.4 LTS edition. Would like the menubar to be more defined, than overlapping, Like this screenshot ...
1
vote
3answers
51 views

Delete the nth line from a matched string (which only occurs once in the file)

I have a question related to deletion of strings that appear at the n+2 position after the matched string which is at position n using awk for multiple files. I am able to print it using the command: ...
2
votes
2answers
55 views

Linux using whole swap, becoming unresponsive while there is plenty of free RAM

I am experiencing a weird issue lately: Sometimes (I cannot reproduce it on purpose), my system is using all its swap, despite there being more than enough free RAM. If this happens, the systems then ...
0
votes
3answers
23 views

Kali Linux: Manufacturer says they do not provide drivers

I am using Windows 7 on my Toshiba Satellite series laptop. I want to install Kali on it, but when I checked the Toshiba website, I found they do not provide device drivers for Linux. So, does this ...
0
votes
0answers
8 views

Linux Mint 17.3 not Restartng

When I click "RESTART" in Mint 17.3 the screen goes black but the PC does not restart. Here is my boot-repair info http://paste2.org/3ZscpFMd
1
vote
1answer
20 views

Getting Ubuntu to Recognize USB Wifi

So, I'm really new to Linux systems and have just downloaded Ubuntu on my other desktop. The problem I'm having is getting it to recognize the USB wifi, TP-Link AC600 Archer T2UH. I went to the ...
1
vote
2answers
12 views

Host key verification failed (exit code 255) while using pdcp

I am trying to install a particular software across all our machines one by one so I decided to use pdsh. By default, it will operate on several machines at once in parallel, but I will be using the ...
1
vote
0answers
21 views

Is there a way to mount two folders into one mounting point, so that folders are mirrored?

I want some tool like $ mirroring_mount ~/first_location ~/second_location ~/mount_point So, when I edit file in ~/mount_point, it is edited in both locations, and if ~/first_location and ...
0
votes
1answer
18 views

How to “export” configuration variables and “source” them on embedded Linux?

A router runs firmware containing BusyBox and in addition to flash memory the device has secondary memory storage. That USB stick is mounted at both /media/Main and /opt: # mount | grep sda /dev/sda1 ...
0
votes
0answers
14 views

Non-Root Container

I'm attempting to create some kind of gentoo "subsystem" without root permissions. I've encountered a problem with my approach and I'm wondering if it's possible to do or not. The way I'm attempting ...
1
vote
1answer
23 views

How to build cron docker image properly?

I am trying to build Debian-based image to dockerize cron process, but my cron jobs are never started. Here is my Dockerfile: FROM debian:jessie RUN apt-get update && apt-get install -y ...
1
vote
3answers
276 views

Generating QR code of very big file?

I want to generate a QR code of my 4096-bit armored GPG private key. The key is so big, the program qrencode seems to fail because of its size. $ gpg --export-secret-keys --armor > ~/private.key $ ...
1
vote
2answers
14 views

Can lftp read netrc for sftp-connections

I am trying to create a script to upload some files to a server via SFTP. I can do that manually by opening an interactive lftp-session and providing username and password there. For the script, I ...
2
votes
1answer
16 views

How to make iptables logs to identify protocols by name and not by number?

In my iptables log files (Ubuntu 16-04), all messages from my LAN router and from other hosts in the LAN, related to IGMP have "PROTO=2". Is there a way to change this and get "PROTO=IGMP"?
2
votes
1answer
11 views

How to replay Git repository history into subdirectory?

Let's say I've got two repositories aye and bee and I want to get rid of bee, in such a way that the linear history of bee/master is "replayed" in a new subdirectory (several levels deep) of aye. I ...
0
votes
0answers
21 views

Qubes does not boot on Fedora/Qubes dual-boot machine

My goal is to have a dual-boot of Qubes OS 3.1 and Fedora 23 Workstation (respin). This guy got it working on Ubuntu, but he installed Ubuntu first, while I installed Qubes first. The last resort ...
-1
votes
0answers
26 views

Insert the environment path to script file to read [on hold]

I have a text file which has user input i.e LD_LIBRARY_PATH. I want to add the that library path environment text into the script file (/etc/init.d/scriptfilename). Will it be possible?
0
votes
0answers
11 views

Desktop manager crashes when launching PyCharm

Ubuntu 14.04, this happens with every kernel older than 4.0.0 Corresponding syslog entries: Apr 30 16:08:37 insanity gnome-session[2268]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource ...
1
vote
1answer
120 views

File Path problem

I am relatively new to Unix, so perhaps this is an extremely simple problem. Anyways, the problem is such: I am taking an online course and the professor typed: echo $path and got this ...
2
votes
1answer
37 views

Wrap and indent text using coreutils

Short version I would like to create a tabular display of multiline text, similar to the following: all Build all targets document Create documentation of source files in the subfolders ...
-1
votes
0answers
18 views

How to show git a list of repositories or dependencies? [on hold]

Is that possible to do that? If so, thanks. Note: I have Lubuntu 15.10 (which is derivative of distribution Ubuntu)
0
votes
1answer
26 views

How to use ClamAV to scan the memory

How can I only scan the computer RAM for viruses using the ClamAV command clamscan? I already tried, because I found it on ClamWin forum: clamscan --memory But it seems, that the Linux version ...
0
votes
0answers
11 views

do not follow mouse focus [on hold]

On my Ubuntu 14.04 I have a lightweight window manager wmii where a mouse motion changes a window's focus. This is annoying and I want to change this behaviour, i.e. if only I left-click on a window, ...
-4
votes
1answer
67 views

How to install Octave without GUI in Ubuntu 16.04?

I am really angry. Just installed the new ubuntu and run apt-get install octave. I got tons of crap installed (like Java, some QT libraries, and other pollution). How can I install Octave in Ubuntu ...
0
votes
0answers
7 views

How to use openssl to verify and decrypt a SAML2 response

I wish to see all parameters that are actually passed by my identity provider during a SAML2 single sign on process. The response sent by the IdP is signed and encrypted, I think I have all what is ...
-1
votes
1answer
15 views

Why %H%M%S is not working in .screenrc?

According to this answer, I can rename logfile of screen with date to avoid logfile appending problem But %c used in that answer contains a colon, like 19:00. Since I have to sync files with windows, ...
0
votes
0answers
15 views

Installing Kubuntu from USB

I have a brand new machine and am trying to install Kubuntu 16.04, the latest stable release. On an old machine I have downloaded the iso file from the kubuntu website and created a bootable USB using ...

15 30 50 per page