All Questions
0
votes
0answers
2 views
virt-manager cant connect to xen
Unable to connect to libvirt.
internal error: libxenlight state driver is not active
Verify that:
- A Xen host kernel was booted
- The Xen service has been started
Libvirt URI is: xen:///
...
0
votes
0answers
2 views
Cannot install nix packages on Mac because .nix-defexpr doesn't exists
I have installed Nix on a Mac OSX (v 10.9.2) but anytime I try to run any command I get this message:
error: getting information about '/Users/myuser/.nix-defexpr': No such file or directory
This ...
0
votes
0answers
3 views
Bootstrapping Galera on RHEL7.2 systemctl: unrecognized option '--wsrep-new-cluster'
I am trying to set up Galera cluster via Puppet and I have an additional (probably misguided) requirement to use "Red Hat supported" RPMs. The problem I have due to this requirement is that bootstrap ...
1
vote
2answers
35 views
Shell script with directory input
I'm writing a shell script that is supposed to take in one parameter (a directory name) and display how many files, directories, readable files, writable files and executable files are in that ...
1
vote
1answer
12 views
How to merge two frequency count dictionary - unix cmd?
I'm having two frequency count dictionary, I have tried to merge them using join/sort cmd but always getting wrong output or different frequency count.
I want to join them together, adding +1 if the ...
0
votes
1answer
7 views
VirtualBox Failed to create the VirtualBox COM object
I haven't used my Windows VM in about a week or so, the only thing I can think of that I've done within that week that may have caused this is cleared out my ~/.cache.
Anyway, now when I try and ...
1
vote
1answer
11 views
How can I record Shell script outputs to log file
My Shell script include series of steps for example
first step
App= read -p "### Please enter Application name "
Env = read -p "### Enter Enviornment name (Dev,test)"
second step
cd /opt/...
-1
votes
0answers
17 views
How to use globs in flow control?
The overview is that in traversing directories, I have a file called .txt that is generated from a database dump.
I want to run a cron job that goes through and renames the info.txt to ${PWD##*/}.txt,...
1
vote
1answer
14 views
How to read variables from stdin dynamically and store them into an array
The problem is to read variables with read command dynamically from a read command in bash without knowing how many they are in advance and store them into an array .
I tested with :
read -p "array ...
0
votes
0answers
10 views
Dual booting Windows 10 and Scientific Linux 7
I've installed many versions of ubuntu along side windwos 7, 8 and 10, but a friend wanted me to install scientific linux 7 along side her Windows 10 on her laptop.
Two questions:
1) Does Scientific ...
1
vote
0answers
10 views
How to create foolproof user that is only allowed to video chat with one person
I have to give a laptop to my 4 yr old who lives very far away from me, so that we can have regular video chats. I want to restrict any other use for that laptop, including video chats with other ...
0
votes
0answers
3 views
How to get private IP address of EC2 after spinning the AWS from local machine/ at Jenkins outside AWS
Assume we already spin the AWS using cloudformation plugin from Jenkins outside AWS and now, how to get private IP address after spinning the AWS at my local machine/jenkins using any API methods? I ...
0
votes
0answers
10 views
UBuntu 16.04 - how Lightdm starts Unity
I use UBuntu 16.04.1 LTS. I have also installed Xfce4 so in Lightdm login screen I can choose Unity or Xfce. I assume that when Lightdm runs Xfce4 desktop environment it uses /usr/bin/startxfce4 Then ...
0
votes
0answers
12 views
X11 terminal is not avalaible in gnuplot
I am using Debian 8 with gnuplot (gnuplot-x11) but the terminal x11 is not shown in terminal list.
Can you help me?
1
vote
1answer
11 views
RO domain access
I want to open RO access to specific group of domain users on linux server. Solution has to be universal i.e. work for new files, no necessity to constantly add/remove users etc
So far the best I can ...
0
votes
1answer
11 views
Linux distribution with out-of-the-box exFAT support
I have to create a live USB media I can boot a machine with that has no network devices. At the same time, it has to be capable of writing to/reading from exFAT formatted devices. I had to find out ...
0
votes
1answer
5 views
Trouble Importing Docker Keys from Keyserver
I was trying to install docker on my Linux machine and I encountered this failure. I tried searching for keys online keyservers and did not find it.
Any suggestions?
$ sudo apt-key adv --keyserver ...
0
votes
1answer
22 views
How can I get full path to files in print queue?
I'm adding files to print queue using lpr. Is there a way to get full path to files in queue or to show the content of them?
0
votes
0answers
9 views
FreeBSD installation error [on hold]
I am trying to install FreeBSD 11 from USB using memstick.img file but during installation process I'm getting error about it can't find usb device and mountroot > is appearing. What should I do ?
0
votes
0answers
11 views
Problems compiling Handbrake: syntax error near unexpected token `CSS,'
I tried to compile Handbrake 0.10.5 on Raspberry Pi, Raspbian Jessie, following this guide, and encountered several issues. The first one was
./stdio.h:477:1: error: ‘gets’ undeclared here (not in a ...
0
votes
0answers
11 views
HiDPI screen and scaling
I recently got a new work laptop which has a native resolution of 3200x1800. It works great. I've been able to get things to be mostly the right size with KDE's display scaling... but it's not quite "...
1
vote
0answers
9 views
How can I keep permissions on original files when restoring backups with Duplicity?
When restoring files backed up by Duplicity, is there a way to keep the original permissions on the files extracted? I need to run the restore as root, and it seems that makes all the files restored ...
4
votes
0answers
35 views
find and rsync both choke on oddly named file
This isn't an important issue to me, but I thought rsync and find were fairly robust, so I was surprised when rsync choked on a file, and then find did too. ls -l shows the file has 6093 bytes (and it'...
2
votes
0answers
9 views
Difference between syscalls and raw_syscalls events?
AFAIK different linux tracing tools gather information from /sys/kernel/debug/tracing/events directory where different events are logged. Can anyone explain the difference between "syscalls" event and ...
5
votes
1answer
37 views
WHY a **login** shell over a **non-login** shell?
I have a basic understanding of dotfiles in *nix system. But I am still quite confused about this Difference between Login Shell and Non-Login Shell?
A bunch of different answers (including multiple ...
-1
votes
0answers
21 views
How to calculate size
How can I calculate character size , word size and line size in the a text with awk commands?Without use wc?
0
votes
0answers
10 views
On a single application, some key presses are ignored, how to fix it without restarting the application?
Why some key presses are ignored on a single application after my system freezes because of swapping?
and how to fix it without restarting the application?
After it begins, the problem seems to ...
0
votes
1answer
23 views
parse a really simple markup grammar with a shell script
I have to parse a file, kind of a config file, that is adopting a really simple grammar : there are 2 kind of multiline blocks and inline markup tags .
the block of type 1 is marked by an open_tag ...
1
vote
0answers
13 views
xzcmp does not work for some files. (Internal pipe error 141?)
I am using xzcmp to compare several XZ files. But I have a strange problem: For some files (*), xzcmp doesn't work and returns exit code 2, without error message.
zxcmp version1.sql.xz version2.sql....
0
votes
1answer
11 views
RPM Package Naming Convention/Limitations
I created an rpm with the following name -
product-name-subname-1.0.0.3.65-1
but having issues listing it using yum from a remote server. Repository is properly configured because I created the ...
0
votes
1answer
38 views
Extract text from a file based on some criteria
I have a file which contains records like those:
434419\Teclu\Tudor\1501\9502
187650\Cosma\Sorin\1504\9253
239474\Teclu\Daniel\1502\5245
844936\Gaman\Mihai\1505\4074
942341\Avram\Tudor\1505\4543
...
0
votes
0answers
4 views
dnf installs things that disappear?
# dnf info bind
Last metadata expiration check: 0:12:01 ago on Fri Nov 18 09:34:14 2016.
Installed Packages
Name : bind
Arch : x86_64
Epoch : 32
Version : 9.10.4
Release : ...
0
votes
1answer
9 views
How to instal Perl modules GD and GD::Polyline in Debian?
I am trying to start Circos in Debian but I get two missing modules
root@masi:/home/masi/circos-0.69# bin/circos -modules | grep missing
missing GD
missing GD::Polyline
Trying ...
3
votes
1answer
29 views
Let a process read and write all files inside a certain directory, at any depth
I have a directory, owned by me (e.g. /sync), and a process, run by me, which I want to have full read&write access to this directory (in my case the process is Resilio Sync, formerly known as ...
0
votes
2answers
12 views
return lines containing numbers in a range in a certain column
Task: return lines containing numbers in range from x to y in column z.
Example, selecting lines with numbers in range 140-160 in column 2.
1 1 some data 150
2 150 some data 1
3 151 some data ...
-1
votes
0answers
13 views
Differences between lemonbar and lemonbuddy
I see lemonbar often used as a substitute for i3bar (menu bar in i3), and sometimes lemonbuddy as another alternative, but I haven't found a comparison between lemonbar and lemonbuddy. What does ...
0
votes
2answers
21 views
How to use find with already written script?
I know how to find last modified files, but how do I use it with my already written script. In folder I have hundreds of files xyz_<yyyymm>, now I use $ find /home/directory/TEST/ -type f -mmin -...
0
votes
0answers
3 views
Alpine Linux 3.4.6 x86 Standard qemu boot failed
I've been following the direction on their wiki.
However, I get the following:
sudo qemu-system-i386 -cdrom ../alpine-3.4.6-x86.iso -hda alpine.qcow -boot d -net nic -net user -m 256 -localtime
...
-2
votes
0answers
7 views
compile error in wpa_supplicant.conf
I wanted to link my wifi named JackChan, so I wrote the network into wpa_supplicant.conf but it seems to have an error:[][]
So I think I have to delete the text
"Passphrase must be 8..63 ...
0
votes
2answers
28 views
How to evaluate special characters to see them in the text editor?
Let's say I have a text "line1\n\nline2\nline3" and I want to see it in a console or pipe it to a text editor so it looks like
line1
line2
line3
So special characters got evaluated.
Can I do it ...
1
vote
0answers
14 views
Waking up laptop from cron
I want my laptop to wake up at 0300 even with the lid closed, check power & network status and perform certain functions if it is connected.
There's rtcwake but I don't want to use it to suspend:...
0
votes
0answers
21 views
md raid5: “no valid superblock”, but mdadm --examine says everything is fine
And so, it happened: the software RAID5 on my Linux box failed somehow and now refuses to assemble.
An overview of the setup:
headless server running Debian Jessie 8.6 (current stable)
custom built ...
1
vote
1answer
27 views
Traverse Through Space-separated String
So I ran ips=$(arp | awk '{print $1}') to save all the IP addresses retrieved from the arp command into a variable, ips. echo of ips gives me Address 192.168.10.100 192.168.10.101 192.168.10.1. I am ...
-3
votes
1answer
32 views
Linux with Libreoffice, nothing else!
Is there any distro that lets you to run just one app? No updates, no network access, no other applications installed, only LibreOffice. I was trying to do it by removing all the packages from ...
1
vote
2answers
34 views
Resizing /root partition
Is there a way to resize a /root partition while running OS which resides on it? I am running FreeBSD.
Thanks in advance!
0
votes
0answers
14 views
SSL handshake fails when connecting using websocket secure(wss)
Hello I am trying to connect to a websocket (wss) . Its ssl handshake fails .Below are the apache logs, it would be very much appreciated if somebody can share some light on this .
proxy_util.c(2213):...
1
vote
1answer
24 views
To what extent are the xterm, xterm-color, and linux terminal emulators based on VT100?
My understanding is that all of these terminal emulators derive the ASCII control code behaviors and ANSI escape sequences from the VT100 standard. I also understand that there is an ANSI standard ...
0
votes
0answers
4 views
Bluetooth on, but not showing avaliable devices Ubuntu 14.04?
I have a problem with my Bluetooth connections, I turn on the connectivity of my b-device and my PC but it keeps on searching for nearby devices and showing nothing.
Any ideas?
-6
votes
1answer
46 views
How to create new script , role like wc [on hold]
I would like to create a new .wc command , but I have no idea how to proceed.
Can you help me?
10
votes
4answers
385 views
Why doesn't find . -delete delete current directory?
I would expect
find . -delete
to delete the current directory, but it doesn't. Why not?