1
vote
1answer
11 views

emacsclient connection refused

I am running emacs in daemon mode and I got dissconnected from the server on which it was running. After re-connect, when I run emacsclient -nc I get the error connect localhost port 6012: ...
2
votes
1answer
21 views

How does mkswap work? What is in the swap header it creates?

I am looking at mkswap and trying to understand how exactly it works. From what I understand, it sets up Swap space on a partition by creating a swap header. How large is this swap header? Is it one ...
2
votes
1answer
28 views

Filtering and extracting PIDs as space-separated list from ps using sed

I want to filter and format the output of ps -ax -o pid,command, but not sure what pipe to use for it. I want to filter those lines matching a fixed string at a fixed position, just keep the pids for ...
1
vote
1answer
17 views

What files were sourced, zsh

I use oh-my-zsh with zpretzo, and I keep forgetting the zsh files it sources that I want to edit. How can I ask the shell what source files it sourced?
0
votes
1answer
17 views

Possible to communicate between two networks without bridging?

I have two interfaces connected to a real machine, eth0 and vboxnet2 (a VirtualBox bridged network). eth0 is sitting on 192.168.15.x and is connected to my ADSL modem. vboxnet2 is on 192.168.200.x. ...
1
vote
2answers
41 views

Optimize/Replace 'find' command

I am looking to optimize this find command. We have to move a bunch (sometimes almost a million) files to a directory for further processing. We are looking for a way to increase the speed of this ...
1
vote
2answers
24 views

A stable/LTS Linux distro (Fedora,openSUSE,Ubuntu,Debian) with simple VirtualBox 5+ installation? [on hold]

I have lost too much having Windows as a host OS, especially after upgrading to 10. My processor is AMD64 (specs), AMD Virtualization™ (AMD-V™) Technology with IOMMU Silicon feature-set ...
0
votes
1answer
63 views

SOLVED No SSH while loged off locally

So, I'm trying to access my laptop while I'm outside my LAN, but I have a problem, at least I think that isn't the normal behavior. I can't access via SSH if my user isn't locally logged in. I'm not ...
0
votes
1answer
27 views

Wifi not working (arch) [on hold]

I recently installed arch and had wifi working yesterday, but now I can't seem to get it to. I open wifi-menu successfully and pick the network I want to use, but wifi-menu exits with an error. I ...
0
votes
1answer
26 views

iptables and ssh

I'm running Arch Linux and I have a running SSH daemon to access my machine when I'm out side my LAN. I can do the connection, but iptables keeps blocking SSH Daemon, so I can only connect if I turn ...
1
vote
1answer
20 views

Is there a file search engine with a webserver?

I connected a huge USB HD to my linux server. I installed samba and the files can now be accessed over network. I can search for files over network but the samba search is slow. Do you know of any ...
0
votes
1answer
22 views

Chroot - copy or mount --bind

In every tutorial I found online about chrooting, there is part involving copying stuff into the chroot, executables, libraries and others. Why is that? Why not just mount --bind the stuff in? ...
2
votes
1answer
22 views

Mail clients' inconsistent use of Maildir through IMAP

I've succesfully set up Postfix and Dovecot at my home server to use Maildir as the mailbox storage format. However after I tried out a couple of different mail clients like Thunderbird and Outlook ...
17
votes
2answers
403 views

What does 'exec {fd}</dev/watchdog' do in Bash

That is literal, {fd} isnt a placeholder. I have a script that does this, and does not source in anything, nor does it reference {fd} anywhere else. Is this valid bash? exec {fd}</dev/watchdog
0
votes
1answer
10 views

Mirror screen with 2 different resolution displays, -with borders on larger resolution screen?

Help. The TV I'm trying to use as a monitor has overscan issues, it overscans both 1080p and 720p resolutions. For my use, I'd rather have borders compared to a cut off screen. I'm trying to get ...
0
votes
0answers
10 views

Granular control of rwx permissions on NTFS partition

I am running a Ubuntu-Windows dual boot setup, and I have a third NTFS partition for my shared data (documents, music, downloads, etc). I currently mount the partition using /etc/fstab like so: ...
1
vote
0answers
12 views

How can I stop qterminal from cutting the top half off every line?

I'm running Arch Linux, and using LXQT. I've just installed qterminal. At the moment, it looks like this: The top half of every line is cut off. I can fix this by increasing the font size, but ...
0
votes
1answer
33 views

Print concat vars inside loop

I have a code like this: cat input | while read p; do lynx -dump "www.xyz.com/p?=$p" | grep -m 1 -A 1 "Hello" | awk -F: '{print $2}' >> output done Where the content looks like this: [$p ...
0
votes
1answer
10 views

Where do service permissions come from

I'm trying to broaden my knowledge of the events surrounding system startup. I see that there are many process which are started without root level permissions. e.g. rsyslogd is listed as running ...
-2
votes
0answers
35 views

How do I become an expert of C language on Linux? [on hold]

I want to start from the beginning. What are the steps I should take?
0
votes
1answer
15 views

Getting cron to include Date IN error log

So I have the following Cron job running: /home/ubuntu/scripts/austria/archive.sh >> /home/ubuntu/logs/austria/archive.log 2>> /home/ubuntu/logs/austria/archive.err Every time the scrip runs, it ...
2
votes
1answer
25 views

What do systemd “Vacuuming done, freed 0 bytes” messages mean?

I'm seeing messages like the following in my systemd journal: systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming ...
1
vote
4answers
52 views

Creating a snapshot of a linux system

I want to do the following - Save the current state of my linux OS(centOS6.5). Do some changes (more specifically inject a fault and test some service to check how it behaves when that particular type ...
0
votes
1answer
16 views

Suppress specific instances of search key in grep

This may have been asked before but I couldn't find it. I am grepping a lot of data files for "NaN" to search for errors; the problem is that if "NaN" appears once in a file, in all likelihood it will ...
0
votes
1answer
36 views

SSH to 2 local machines via Unix server

Here is the situation: I have a Windows home machine Home which I can connect to Foo, a Unix server via ssh. Then I can ssh from my Unix work machine Bar to this same server Foo. Windows ...
2
votes
1answer
24 views

Deal with renamed videos in youtube-dl

I currently have youtube-dl set up to download new videos from my favorite YouTubers automatically. It stores each video in author/yyyymmdd-author-videotitle.ext, and is set to not overwrite. This ...
1
vote
1answer
29 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
0
votes
0answers
8 views

Sync NAS (OMV) with OneDrive or DropBox

I have installed a NAS to my network, to backup all my files there, with OpenMediaVault. My question is if there is any possible way to sync a shared folder from that server, to an online cloud ...
1
vote
0answers
11 views

Detecting Hardware of the Dyconn Dubbler Dock

I purchase USB3 dual-hard-drive docking station from Fry Electronics called the Dyconn Dubbler Dock. When I plug this device into an Ubuntu Linux 15.04 laptop (kernel: 3.19.0-26-generic), I see no ...
1
vote
0answers
34 views

How can I install 32-bit dependencies on a 64-bit machine using dnf builddep?

I am trying to install the build dependencies for Wine, so that I can do a bit of hacking with it. I am running Fedora 22, 64-bit. I have installed the 64-bit dependencies successfully using dnf ...
2
votes
1answer
28 views

/sbin/init doesn't exist - Bailing out

My question is similar to this one, but has a few differences. At boot, I get the following message: [ 0.030164] Ignoring BGRT: invalid status 0 (expected 1) :: running early hook [udev] starting ...
1
vote
0answers
30 views

What does raw_spinlock mean? [on hold]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
0
votes
0answers
24 views

Installing Debian: Force UEFI, what does it affect?

I've got a laptop here that came with a Windows 8 installation. What I did: Removed the harddisk, put in an SSD and now I've tried to, unsuccesfully, install Debian. I've used all the default options ...
0
votes
1answer
15 views

How to find what the “Mate version” of programs are called

On Mate systems, many programs correspond to (and are sometimes forks of) other programs with more well-known names: nautilus -> caja gnome-terminal -> mate-terminal ark -> engrampa gedit -> pluma ...
0
votes
0answers
15 views

Having trouble with devices and USB ports

I have been trying to play Xwing vs Tie fighter on Linux Ubuntu Mate in virtualbox with my playstation 3 controller. After a few attempts It worked but I rebooted and it stopped working. If I load ...
-1
votes
1answer
20 views

Macbook Pro Display Issue (Tiny blue squares) [on hold]

My Macbook Pro display recently started showing tiny blue squares everywhere on screen. I have tried doing VRAM and PRAM reset, upgrading to Yosemite but downgraded because it was very slow and I ...
1
vote
2answers
62 views

Need output in a good format using shell script

I have a file, PoolReport.txt. Here is some sample data: Thu, Aug 27, 2015 7:56:29 AM PoolName,Total GB,Used GB ,Available GB ,Percent Full Oracle-RAID10,6432.539,6179.295,253.244,96.063 ...
1
vote
5answers
47 views

Making a *nicely* formatted list of number of files in directories - awk & sed probably

I have lots and lots of files in a series of directories, and would like a nicely formatted list of how many files are in each directory. The directories are ordered thus: Parent directories named ...
0
votes
1answer
7 views

Screen Split mostly doesn't work Ctrl + A, Shift + s and Crtl A, Shift / never works

I am using PuTTY and trying to use the screen shortcut commands in the terminal, and am getting very frustrated. I found that I could sometimes get: Ctrl + a, Shift s to work, seems to work more ...
0
votes
0answers
29 views

Adding CentOS 7 to Active Directory

I am having a hard time adding a CentOS 7 machine to my domain (Active Directory 2012 running in Windows 2008 mode). I am using realmd to join the machine to the domain. Here is what I have checked so ...
0
votes
1answer
25 views

Continuing an interrupted `wget` session?

Is it possible to continue an interrupted wget session - eg. by parsing the log-file (created with -o or -a ), or after somehow have wget store additional information to disk (like it's list over ...
0
votes
0answers
15 views

How do I go to the last line where I entered text in tmux?

I often use tmux to scroll through error messages for various reasons. Usually I use the ninja command to build my projects so when I hit compilation errors ctrl+b [ ninja quickly takes me back to ...
1
vote
2answers
40 views

Job control over a Bash script

I have a Bash script of a thousand lines each containing an ffmpeg command. I start this with source script and it runs just fine. However, when I try to take control of this script in various ways, ...
0
votes
1answer
27 views

How to install `service` command in a Stable Debian?

In ubuntu we do simple: service MyService restart service MyService stop ... So, the service command is good and simple. I need this simplicity: how to install service command on Debian? PS: this ...
2
votes
5answers
278 views

Get very next word of a substring in a string

I need to get the next word of a word in a string. I tried to write a script but it's not working. And it's good if you suggest me any other alternatives to achieve this. Script: #!/bin/bash ...
1
vote
1answer
12 views

Auditing configuration

I'm trying to set up filesystem auditing using auditd on Ubuntu 12.04.5. I have a filesystem being exported, call it /exports/data, that I need audited. I have the following rule in place: ...
0
votes
1answer
15 views

opensshd / openssh - allow EITHER keypair or password

I would like to configure my sshd to allow users to authenticate with a keypair, then fallback to password authentication. But I'm struggling to achieve that from the information in the man pages / ...
0
votes
1answer
15 views

Linux UART IO File

How bytes received on UART device are stored in some serial Linux devices /dev/ttyS? How to read them? What is the procedure? Should that device file be closed, when new data is arriving?
2
votes
1answer
48 views

ldd shows library exists and is linked, program doesn't find it

Console Output: bitnami@linux:~$ sudo svnmucc propset svn:needs-lock 1 file:///opt/bitnami/repositories/Standard/Ipc/trunk -m "test set" svnmucc: error while loading shared libraries: ...
0
votes
0answers
14 views

Issues while using 4 monitors with two Nvidia Quadro cards

Despite having 4 properly functional monitors using 2 Nvidia Quadro cards, I am still having some issues. I am also able to drag my window across all 4 monitors. Here's my xorg.conf: # ...

15 30 50 per page