0
votes
0answers
4 views

Systemd: Whats wrong with this unit?

I wrote this unit (/etc/systemd/system/test@.service): [Unit] Description=TEST (%I) [Service] ExecStart=/bin/echo "%i %I" >> /home/vagrant/test.txt [Install] WantedBy=multi-user.target ...
0
votes
0answers
3 views

In wmutils, is it possible to focus windows based on their locations?

I'd like to emulate the behavior of the i3 window manager in GNOME, using wmutils. In i3, I can focus windows based on their location, so if I'm in a window to the left and I want to focus a window on ...
0
votes
0answers
10 views

set variable inside heredoc and use them outside

I'm trying to set the variable 'count' while running the command inside heredoc together with timeout but im unable to get 'count' variable outside heredoc. How can i achive that? My script is more ...
0
votes
0answers
9 views

bash scipt does not compare file names with [ and ] correctly

I have a bash script that deals with files. It finds all the files in one directory and searches for the name of each in another directory. For that it uses "${myfiletobesearched}" inside the ...
-1
votes
0answers
2 views

Using wget to download all images from deadendthrills.com

I used to download all images from deadendthrills.com using the following command in order to use them in my wallpaper changer: wget -r -np --reject "index.html*" -e robots=off ...
0
votes
0answers
7 views

Why is /dev a subdirectory of / (the root)?

Why is /dev a subdirectory of / (the root)? I ask because isn't everything in the file system also mounted from the computer's hard disk which show up in /dev? Then why isn't dev the root directory ...
1
vote
0answers
7 views

Filtering time using last command on Solaris

I'm connected on server using Solaris and need to filter only people who were connected there until 28.4 00:00. How do I do that on Solaris? In bash I have -t option which does what I want.
1
vote
1answer
6 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
0
votes
0answers
3 views

Edit audio output before playback

I want to low level edit the output of ALSA sound system. I should sniff the audio output, change it before playback and then play it. I saw /dev/snd/OUTDEVICE but I think it is write only. Which is ...
0
votes
0answers
3 views

Enabling X with NVIDIA only on Arch, Lenovo P70

I have a Lenovo P70 ThinkPad with the Nvidia M3000M (GM204) as well as integrated Intel graphics. I would like to turn off integrated graphics and can do so in the BIOS (enabling Discrete only). I ...
1
vote
1answer
26 views

Pattern matching

I am trying to follow Bash Cookbook to learn about Bash Scripting. I am on example 6.8 Testing with Regular Expression. I have the following script: #!/usr/bin/env bash # cookbook filename: ...
0
votes
0answers
8 views

Kali Linux 2.0 Compatible 802.11ac USB Wireless Adapters?

I've recently managed to get Kali Linux 2.0 dual-booted and running properly on my Macbook Air 2014. There have been many problems along the way, mainly the common issue where wlan0 isn't recognized ...
0
votes
1answer
15 views

mv command with path wildcard containing random string

Im trying to move a file to a path which has a random string that I cannot know in advance ~/.config/foldername/45fhiu84.dev-edition/subfolder/ I have tried mv ~/Downloads/myfile.txt ...
1
vote
0answers
5 views

How can I use a key other than <ENTER> to exit zsh's completion menu/widget?

Like alot of zsh users I have completion configured so that when I am at a command prompt and I invoke completion a menu appears that can be navigated with the directional arrow keys. i.e. in my ...
0
votes
1answer
12 views

how to configure a linux machine to broadcast the incoming traffic

I want to configure a linux machine so that it can broadcast all the traffic received by it to other linux machine (in this case the connected nodes). Can someone help ?
0
votes
0answers
5 views

Why do yum need to access ${repodir}/repodata/repomd.xml?

I am installing Cloudera Hadoop. Already have 3 data node, now am installing 4th data node with the same http proxy. The previous 3 data node were installed successfully which have the same network ...
0
votes
0answers
4 views

OpenBSd 5.9 Fetching the source code via CVS # anoncvssh: cant't load library 'libc.so.84.2'

would like to install the source code on OpenBSD 5.9 via cvs CVSROOT=anoncvs@anoncvs.spacehopper.org:/cvs cd /usr cvs -d $CVSROOT get -rOPENBSD_5_9 -P src The result of this command: anoncvssh: ...
0
votes
1answer
8 views

SSLSNIFF on CentOS 7

I tried to install sslsniff 0.8 on CentOS 7 but I can't install the following dependencies since they can't be found when I execute the "yum" command: libboost1.35-dev, libboost-filesystem1.35-dev, ...
0
votes
2answers
14 views

Simple Bash server usign netcat and authorization required

Running a simple server in bash: echo -ne 'HTTP/1.0 200 OK\r\n\r\n'; cat page.sh | nc -l -p 8080 The script page.sh generates website. It works and meets my expectations. Is there a possibility of ...
2
votes
1answer
17 views

Stealing and reattaching a running process

It's sunday and I left an instance of R running in the office. The script finished running, and I would like to save my workspace without going to the office. I can ssh to the computer, but I have not ...
0
votes
1answer
7 views

Linux + iptables fallback

I want to enable the routing VIA tcp from port 770 to port 7714 iptables -t nat -A PREROUTING -p tcp --dport 770 -j REDIRECT --to-ports 7714 . so I get the following: iptables --table nat --list ...
0
votes
2answers
14 views

Debian installation on Thinkpad tablet x201

I have installed debian on a Thinkpad tablet x201 via usb. The Debian loads actually succesfuly but there are a couple of things that didn't work, most important of which is i have no access to ...
0
votes
2answers
23 views

killing a process in one line

Sometimes I need to end a process quickly via terminal but it is tedious to just type ps -e | grep firefox and then kill all the time. I want to create an alias in my .bashrc and just type in ...
1
vote
1answer
16 views

Send process to background using PID

From this question I know you can resume a stopped process by doing kill -CONT $PID is there a kill option to resume a process but in the background (like bg but using a PID?)
0
votes
0answers
6 views

Can't launch Synaptic due to stale lock

I'm using PCLinuxOS, last time I tried to launch Synaptic I got warning: cleaning stale lock Illegal instruction Same happens if I try stuff like apt-cache check Deleting /root/.synaptic/lock ...
2
votes
0answers
20 views

RAID: ZFS or Btrfs?

I've mounted my own NAS with ArchLinux on an old HDD. I want to add 3x4To to have real storage capabilites and I would like to use a RAID5 system with these 3 disks. I've read a lot about ZFS Raid-z ...
0
votes
0answers
16 views

How to install Debian Jessie as a persistant install on my 16GB usb from Windows 7 OS?

Sir, I am a complete newbie. I have never used Linux extensively in my entire life. I use Windows 7 32 bit but my system supports 64 bit architecture and I want to switch to Debian linux 64 bit. ...
8
votes
2answers
133 views

What is “<Esc>Kv” in bash

When I am in bash and press Esc, Shift+K, V, bash fires up $EDITOR with a filename similar to /tmp/bash-fc-186566385. Why is that and what is its purpose? I probably need to mention that I am ...
1
vote
2answers
56 views

Bash commands not found

I use CentOS 7 and I install anaconda and some tools, after that some basic command like clear which not work. [zhilevan@localhost ~]$ clear bash: clear: command not found... when I echo $PATH I ...
0
votes
1answer
9 views

Windows and Debian dual boot menu order?

I have debian(elementary os) and windows installed on my lap. In the boot menu, every time I'm getting debian os first and it will automatically load after 5 seconds. How can I change the order to ...
1
vote
0answers
8 views

get file system shares working with virt-manager 1.3.2 in ubuntu 16.04 LTS

I have tried numerous things, and read numerous articles, but I'm not able to get file-system shares to work. Here is my setup: host machine: Ubuntu 16.04 LTS with KVM and virt-manager 1.3.2 ...
1
vote
0answers
17 views

systemd service failing

For no reason I can think of Nzbget has stopped running. I have changed nothing and the service just stopped and refused to restart. sudo systemctl status nzbget -l * nzbget.service - NZBGet ...
2
votes
0answers
13 views

Is there any systemd equivalent to “initctl emit”?

In upstart, it was possible to send custom events with initctl emit custom-event. It was also possible to use these custom events on the start on and stop on stanzas. Does systemd provides something ...
0
votes
1answer
7 views

Installing Avahi on FreeBSD - Daemon Doesn't Start

I've just installed package avahi-app-0.6.31_5 on a fairly-clean FreeBSD 10.3, but the service isn't starting on its own. I've consulted the documentation and discovered that there isn't any. Can ...
1
vote
1answer
18 views

How downgrade Ubuntu Samba implementation

A week ago I got some updates related to Samba and now authentication is broken. Windows and Android machines can connect to a Samba server just right, however Ubuntu rejects login credentials. This ...
0
votes
0answers
3 views

Is it possible to add KDE/dolphin service menu for specific file extension?

In windows, you can and context menu entries that are only shown for specific file types only. In Dolphin, I know how to add service menu entry using .desktop file. but Is there way to only show ...
0
votes
1answer
24 views

Can all of fork(), exec() and system() be wrong? [on hold]

I understand why it could be less than best practice if I write C code that executes shell commands by calling system() and that it's better to use exec and fork but then a very experienced C ...
0
votes
0answers
19 views

Making changes to /etc/fstab

I have followed this tutorial to install a second HDD from scratch besides my SSD from which Kubuntu 14.04 is booted: https://help.ubuntu.com/community/InstallingANewHardDrive Partitioning and ...
0
votes
1answer
13 views

Is grub.conf read by GRUBX64.EFI from SYSTEMD-BOOTX64.EFI?

Does the following mean that SYSTEMD-BOOTX64.EFI executes first, then GRUBX64.EFI, which then reads grub.conf? #> efibootmgr -v BootCurrent: 0001 Timeout: 1 seconds BootOrder: ...
1
vote
1answer
27 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
0answers
8 views

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

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 ...
0
votes
2answers
13 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
9 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
11 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
27 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
7 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' ...
0
votes
1answer
12 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
9 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 ...

15 30 50 per page