0
votes
0answers
3 views

Remove/replace a systemd unit requirement via drop-in

Is it possible to replace a requirement of a systemd unit? The requirement for this is where I have a systemd unit for a service that Requires=docker.service but I want it to instead require early-...
0
votes
0answers
8 views

Altering Loop count

I have multiple code files with lot of loops. Now i have to change all the loop counts to 4 times the current count in all the files. Is there a way I can achieve this for all the files simultaneously....
0
votes
0answers
4 views

Why remount of /proc/sys is not global or does not persist in network namespace inside LXC

I have host running RHEL-7.2. Inside that running LXC. Inside LXC creating network namespaces. Inside the namespace changing sysctl variables was failing (as root): $ ip netns add testns $ ip netns ...
0
votes
0answers
17 views

linux audit problem

I am using CentOS 5.5. I am also installed rsyslog + Adiscon LogAnalyzer 3.6.6 on my laptop. Now I want to use system auditing to monitor /var/log/cron file. Here is my partial content from /var/...
1
vote
3answers
26 views

How to check if files are different before copying and overwriting?

I use a little script that copy (using cp) a list of config files to another device. I wonder how to quickly check whether the files were modified since last time before doing it and exhausting the ...
0
votes
1answer
7 views

Setting up FTP Server (Passive) vsFTPd CENTOS7 issue

I'm actually having error on this setup. I'm getting 500 Illegal PORT command. 425 Use PORT or PASV first when go using command PUT. I'm currently using CENTOS 7.2 Here's my vsftpd.conf: ...
0
votes
0answers
5 views

USB 3.0 camera recognized under the live boot (try Ubuntu) but not from HDD

I have a very weird (at least for me) problem, I am relatively new to Ubuntu and trying to install an Intel RealSense R200 camera under Ubuntu 14.04, I have already installed it and tested on my ...
0
votes
0answers
20 views

Combination of tee and tty

I tried the below command, I read it from a book ls|tee /dev/tty3a This command gives to me Permission denied, even with sudo. Here tty is the teletypewriter, I know this already. But what is meant ...
0
votes
1answer
12 views

running “last” printed suspicious output

I invoked last from bash on my personal computer and I have this output user pts/2 :0 Wed Jul 27 09:15 still logged in user pts/1 :0 Wed Jul ...
0
votes
2answers
13 views

How to define an alias without executing dollar signs contained inside?

I have the alias : alias gwanip=echo "$(dig +short myip.opendns.com @resolver1.opendns.com). This works fine except I just realized that it executes the command dig everytime bashrc is sourced. How do ...
1
vote
2answers
23 views

Use sed to pick out a potentially multi-line log entry

I've been trying to come up with a sed command to pick out a single log entry from our app server logs. The logs are in this format: LOG|2016-07-26_15:37:45:536|entry1|! LOG|2016-07-26_15:37:45:536|...
-1
votes
0answers
11 views

iptables to allow only ssh and vpn from outside world

i do have my a VPS (debian 7) with a public IP address and I would like to protect it. I would like to have access only to SSH (public/private keys), openVPN, services that are requested from the VPS ...
1
vote
1answer
15 views

Why can't I add something to PATH permenantly?

I am trying to add ruby binaries to my path with this : $ PATH=$PATH:/home/ehsan/.gem/ruby/2.3.0/bin This works fine in that terminal session and I get : $ rails -v Rails 5.0.0 But as I close ...
1
vote
1answer
12 views

matching files using curly brace expansion in zsh

In bash I can use curly braces to pattern match several files, e.g. ls *.{dot,svg,err} If there's no file for a particular extension, I get a warning, but the remaining files will be listed. ls:...
1
vote
1answer
9 views

X server fails after installing Nvidia in Mint 18

I'm having a looping issue with Linux Mint 18 where it cannot get out of the same repeated cycle of "Failed to launch desktop manager" with that blue graphic screen asking me if I want to look at the ...
1
vote
1answer
24 views

Func name as variable in loop

Overview: I save my variable in a config file and call them later. Each entry with the name FailOverVM has a number beside it like FailOverVM1 and I want to check to see if it has data and generate a ...
1
vote
1answer
12 views

How can I make incremental backups of a running linux system using freeware?

I'm looking for an incremental backup tool to use on a plain old running disk based linux system, such as ubuntu or the like, and a tool which is freeware. I'm aware that Acronis for linux and ...
1
vote
0answers
14 views

Why are there more packages available for Debian 6 & 7 than Debian 8?

I find that I always have to download packages from older versions. Why aren't there as many packages for Jessie?
0
votes
0answers
9 views

Wifi won't connect after router reset

I'm new to StackExchange and somewhat new to Fedora (using for about a year with significant hand-holding from coworkers). I've long had issues with my home wifi disconnecting, but I would get around ...
0
votes
1answer
24 views

Using sed to uppercase the first non-numeric character, leave others as is

I'm trying to convert character strings like "123456a" to "123456A" or "test" to "Test", but leave existing uppercase as is, for example testHW becomes TestHW. I have tried many attempts circling ...
0
votes
1answer
16 views

Redirecting stdout and stderr still prints to stdout

I'm getting an some kind of error at the VGA console when I make a configuration file for grub (at least I think it's an error), with grub-mkconfig -o /boot/grub/grub.cfg I tried to redirect stderr ...
9
votes
2answers
191 views

How to set file permissions with touch command

It seems that whenever I create file with touch the permissions are set to: -rw-r--r--. Is there some way that I can configure the permissions differently with touch or does this have to be done after ...
0
votes
0answers
15 views

autossh public/private key not working

I'm trying to set up autossh and have gotten it to the level where I can establish the remote tunnel connection but I'm having trouble setting up the key pair so I don't get asked for the password ...
1
vote
0answers
9 views

Register callback for newly inserted disk?

I'm not sure if my title is describing it correctly, but essentially, I was wondering if there was a way to register a callback with the system so that when a user attached an external drive my ...
0
votes
0answers
24 views

Ubuntu theme gone wrong (Macbuntu 16.04)

So I recently downloaded ubuntu to do a dual boot with windows 8.1. Everything went perfectly fine, smooth as butter. The I went to set up ubuntu to my personal liking, which happens to be the OSX ...
1
vote
1answer
5 views

kubuntu 16.04: my panel icons keep disappearing after an upgrade

Intel "Core-2" processor (refurbished), Dell box, 2GiB RAM. I had all the everyday applications placed on the bottom 'panel.' Then I installed several new packages using Aptitude. Afterward. about ...
1
vote
0answers
12 views

rdepends stops on virtual packages

I am working to create an offline repository for a system that does not have internet access. One of the first packages I am downloading for this system is the apt-offline package. I am using the ...
5
votes
2answers
114 views

apt-get dist-upgrade does nothing when trying to upgrade from wheezy to jessie

I am on Debian wheezy and attempted to upgrade to jessie as follows: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade These operations completed successfully and I rebooted, but ...
0
votes
1answer
30 views

/Library: Operation not permitted when logged in as root user

Im trying to install Jekyll on El Capitan, however I do get permissions error, as you'll see from the screenshot. I am logged in as a root user. Any advice appreciated. UPDATE: After suggested ...
1
vote
1answer
8 views

How to change desktop background via terminal on openSUSE?

I am using SUSE Studio to make a custom version of openSUSE with the KDE 4 desktop. A small problem is that the background is set by default to the chameleon light bulb. I suspect I can fix this ...
1
vote
1answer
10 views

Make mpv display name of youtube link when playing just audio

When playing just the audio from a youtube link, you have some thing like this: mpv '<youtube_link>' --no-video and when the song starts to play you have this on the terminal: AO: [pulse] ...
1
vote
0answers
15 views

Docker communication between containers

Using CoreOS (docker preinstalled), I am failing to make two containers communicate together. I am trying to setup a MySql container called by a Gogs container (Git server). So here is what I did: ...
1
vote
1answer
12 views

debian libvirt 2 subnets

I want to create a network like this: I have a virtual host which is conntected to my physical router with eth0 and ip4 address 192.168.178.100. I create a virtual machine dmz which connects '...
1
vote
0answers
14 views

“/usr/lib/passmgmt: Password file(s) busy. Try again later” in Solaris 11

I've been playing around with a Solaris 11 system, where I've made several user-accounts for myself. Anyway, I gave one of my unprivileged account the solaris.* auth, and then tried to give another ...
0
votes
0answers
8 views

Bose Companion 2 Series iii speakers not working properly Linux Mint 18 Cinnamon

I recently installed Linux Mint 18 Cinnamon 64 on my computer and I have been having trouble getting audio from the audio jack on my computer. I have a set of Bose Companion 2 Series iii speakers and ...
1
vote
1answer
18 views

How to clear disk after rm

I deleted a file I meant to shred first. $ rm somefile instead of $ shred somefile $ rm somefile Is there a way to shred a file after 'rm'-ing it?
0
votes
0answers
21 views

How do I use a file as a command line switch [on hold]

I have a shell script that emails a group of application owners using a command line switch. I would like to change that script to use an editable file as the command line switch. That file would ...
1
vote
1answer
15 views

Paritioning a SD Card with both Linux and Fat32 partitions

On a Raspberry Pi with the raspbian distro i need to make an extra partition that can be read from both windows and linux. So i use FDISK on /dev/mmcblk0 (the sd card) to create a new partition ...
2
votes
1answer
17 views

Can I safely run badblocks in read-only mode on a mounted drive?

I have /dev/sda mounted on /, as the root partition. Can I safely run badblocks in read-only mode on this device? Will it show false positives/negatives because it's mounted?
2
votes
0answers
9 views

How to do handwriting animation in LibreOffice Impress presentations?

I've got some slides with handwriting-style fonts on them. Is there a way to do a "handwriting" animation on them? To make it seem like the text is being written, letter by letter? I've figured out ...
0
votes
0answers
32 views

Reading a file incrementally

I have requirement where I need to read part of the file which was updated from the last read. I mean if I read the file last time at 2016-07-26T01:30 and after I want to run again at 2016-07-26T02:...
0
votes
0answers
8 views

Numeric Keypad Not Working

New install LM18 dual boot Windows 10. Numlock Light is On. This Keyboard's Numerical keypad works with W10. Another keyboard's keypad worked with W10 but not Linux Mint 18. In Keyboard>Layouts>...
1
vote
0answers
20 views

How can I have a pingable IP but the wireess interface is unassociated?

I've been installing wireless networking support on a base image and have ran into something really strange. Look closely at the output of ifconfig and iwconfig. I have a valid dhcp assigned ip from ...
3
votes
0answers
13 views

On SAR reports, does %commit include page cache usage?

From the sar manpage: %commit Percentage of memory needed for current workload in relation to the total amount of memory (RAM+swap). This number may be greater than 100% because the ...
0
votes
2answers
34 views

Deleted /usr/bin/touch and /bin/touch. Can't seem to install anything now, nor create any files?

After updating GNOME to 3.20.2 I had some problems with my touchpad so in that confusion I mistakenly deleted /usr/bin/touch and after that I even became more stupid and deleted /bin/touch. Now after ...
1
vote
0answers
8 views

What is the most correct way to build a Qt development machine? [on hold]

What is the most correct way to build a qt development machine? I do not want to clobber the existing cross-compiler and libraries installed by MXE. goal: To have a development machine that I can ...
0
votes
0answers
6 views

How do I add a UBIFS support?

Nobody can answer me on any android forum, so I decided to ask here. My phone uses the UBI filesystem, but TWRP recovery only supports ext. How do I add support for the UBI filesystem? There is a ...
-1
votes
0answers
19 views

What is the kernel parameter to specify the path to detached luks header?

I'm tyring to setup a encrypted root with the luks header on a usb device. So I have to pass a kernel parameter telling the path to the file containing the header but I can't find it. I know that ...
-4
votes
0answers
31 views

Etc/SSH/sshd_config: permission denied [on hold]

I am trying to set up an SSH on my PC. It's running Kali. When I try to open etc/ssh/sshd_config using terminal it comes up saying permission denied.
0
votes
1answer
15 views

Wake on LAN on Arch on a Macbook Air 2012

I've checked that my Mac supports WOL under MacOS, but running sudo ethtool wlp2s0b1 under Arch (according to the Wiki), I see only Settings for wlp2s0b1: Link detected: yes and sudo ...

15 30 50 per page