1
vote
0answers
11 views

How to check if currently running Linux kernel has been loaded with kexec?

By checking I mean something quite rock-solid, i. e., trying to analyse loader's configuration or available kernel files and matching to uname's output clearly isn't an option.
0
votes
1answer
4 views

How to Limit ContentMatches of Grep in List? [duplicate]

I know the thread here which proposals (... | cut -c 80) however give single letter outputs like n r s t p. I do # http://unix.stackexchange.com/a/293147/16920 find -L $(find . -type l -name 'Math*')...
0
votes
1answer
31 views

bash for loop variable not changing

I am iterating over indexes which are used to create data file id's. When I create the file name (data_file) and echo it, it prints properly, but when I try to sed that variable into the desired files ...
0
votes
2answers
30 views

run a command in subfolders

I have a command rdseed -d -R -p -f filename which gives an output of response time and etc for each file in a subfolder. The problem is I want to run this command in all subfolders and the output (...
1
vote
1answer
21 views

How to use bash command completion so that only files within a particular directory are completed?

Suppose I have a bash function specialcat that cats a file in the ~/Special directory specialcat () { cat ~/Special/$1 } Suppose the ~/Special directory was set up like so: mkdir ~/Special ...
0
votes
0answers
8 views

LIve/bootable Kali linux from partitioned USB Hard Drive (Mac)?

I'm trying to boot Kali on a Mac from an external drive's partition (GUID Partition Map). The drive has 3 partitions, and I have data on the other 2 (that won't fit on my internal drive). I followed ...
0
votes
1answer
11 views

How do I install ffmpeg on centos 6.8 with all dependancies? I am getting Error package

I am trying to install ffmpeg on Centos 6.8 server and I am getting some errors of required libs. I am not big on Linux I need your help. How do I install those missing libs? Where do I find them? ...
0
votes
1answer
28 views

How to pass string with special characters to shell command in a script?

I'm writing a small script that will help me debug some permission problems. I am passing the parent folder I wish to examine and am able to specify any sub-folders which I want to ignore. I'm ...
0
votes
2answers
28 views

Grep from a doubly-gzipped file

I have a file that is gzipped twice: test.gz.gz How do I grep something from the file above? I don't want to unzip it.
0
votes
0answers
13 views

FFTW Installation Error

I'm a newbie to Linux and I am trying to install FFTW-3.3.4 on my Mac OSX as a single precision. I am doing ./configure --enable-float but it gives me error as follows: checking how to get verbose ...
0
votes
0answers
7 views

Genymotion suddenly stops with Segmentation fault (Core Dumped)

I am running Arch Linux (4.6.3-1-ARCH) with GNOME 3.20 . I installed genymotion from the AUR : https://aur.archlinux.org/packages/genymotion/ , Whenever I launch the application , After 2-3 minutes, ...
0
votes
0answers
2 views

How to open a Truecrypt partition and back-up tc files, when archlinux is freezing up on start-up?

My older Acer is running a 1.5 yr old version of Archlinux (Which I can't uodate). The computer is hanging up on start up and cant access anything. I can sign into terminal as root. I can boot a ...
0
votes
0answers
12 views

Sub process keyboard input layer

I have a bash script where I set up a stream playlist by user interaction. The user then press p to play the selection. This simply do something like: media-player --playlist media-player defaults ...
1
vote
0answers
18 views

HDDs, outer track vs inner track performance benchmarks?

I am interested in relating the position of a file on disk and the I/O R/W performance characteristics associated with this position. I have been able to find two benchmarks, but they are both for ...
0
votes
1answer
12 views

How do you install a one-off package in NixOS?

I've got a NixOS box that I keep on the nixos-16.03 channel. I want the machine to stay in a mostly-stable state, and so I am wanting to avoid switching to the nixos-unstable channel. However, I ...
1
vote
0answers
10 views

PCI passthrough device memory access incorrect

I have a wrlinux yocto system running on Intel Haswell processor. Here we pass through a PCIe device(broadcom switch) to VM launched using qemu/kvm. The Guest is able to detect the device via config ...
0
votes
1answer
22 views

How to set multiple versions of Java on linux

I have Java 1.6 installed on my Linux box and all users and programs used it. Now, I need to install a program which uses version 1.7. I want to install this version such that everyone else continues ...
1
vote
1answer
24 views

What's the Debian equivalent of Ubuntu Core/Base images?

For Ubuntu I use the Core/Base images as available here: http://cdimage.ubuntu.com/ubuntu-base/releases/ These 'images' are just base rootfs tarballs which can be used with for example rkt. More ...
1
vote
1answer
28 views

Initilization script runs twice on SSH

Running Ubuntu 12.04. I have a script that sets up the environment, its run by /etc/bash.bashrc. (It may be set to run by other shell profiles inits, I didn't actually set it up myself) When I Ctr+...
0
votes
1answer
17 views

Trying to install a Linux Distro (dual boot) from USB (Windows 10)

I bought a 3.0 USB especially for the job but I'm about to give up for the day. I wanted to try basic Arch, then I tried makeiso, then antergos. I have 3 iso images all behaving the same way. Like ...
1
vote
0answers
14 views

Cannot read mounted NFS share on client

I'm having some troubles with reading a NFS mount. I have server1 and client1. They are both SLES 12 SP1. server1: server1:/ # cat /etc/exports /usr/zap/trans *(rw,root_squash,sync,...
0
votes
0answers
15 views

How do I install Bazel on Ubuntu 16?

I'm unable to download the certificate to add bazel repo to my ubuntu 16 machine: url https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg | sudo apt-key add - % Total % Received % Xferd ...
0
votes
0answers
13 views

how to validate the xml file in sqlldr

can someone please guide me on how to validate the data before loading into the xml table using sqlldr. I have created one table as: CREATE TABLE TEST_XML OF XMLTYPE XMLTYPE STORE AS SECUREFILE ...
1
vote
1answer
6 views

How to change audio levels of sound card with same control names

I'm trying to write a script that automatically changes the playback/capture audio levels based on the device that is connected. I'm using a MAYA44 USB+ sound with 4 ch in/out. Thanks to a similar ...
5
votes
1answer
34 views

Go forward in bash argument history

I know about Alt + . to show the previous argument in bash. But what if I went past the desired argument (pressing Alt + . one too many times) and I want to go forward in history? Is there a key ...
1
vote
0answers
16 views

convert attachments of type winmail.dat (TNEF) to “real” attachments in stored email messages, recursively in MailDir

Some email messages contain the attachments in a format called TNEF (Transport_Neutral_Encapsulation_Format). This attachment is usually called winmail.dat. Extraction tools exist for linux, but ...
0
votes
1answer
5 views

Installing xorg-x11-server-Xvfb broke X and uninstalling it doesn't fix it

I have a user who requested that I install xorg-x11-server-Xvfb to see if he could run Python/selenium headless. Unfortunately, this experiment did not work and normal x2go connections also stopped ...
0
votes
0answers
9 views

Centos not switching to run level5 [on hold]

I was running a Centos 6.2 hosted on VMWare 7.x. When I copied this virtual machine to a new machine which is running VMWare version 9.0 , it is not working properly. It will not connect to network ...
27
votes
1answer
1k views

What did the sticky bit originally do when applied to files?

In various places one can see the "sticky bit" accused of nowadays being a complete misnomer, as its functionality nowadays is to affect the write permissions on directories and act as a restricted ...
1
vote
2answers
18 views

How to reduce LVM for root partition?

I am trying to reduce the space dedicated to root LVM since I don't really need it and I am having a few doubts. Below is the output for lvdisplay: # lvdisplay --- Logical volume --- LV Path ...
0
votes
0answers
10 views

Tool for querying udeb packages

I'm looking for a tool which is equivalent for apt-cache, but for udebpackages. I'm working on debian-installer and need to look at various properties (dependencies, etc.) for udeb packages, but I ...
0
votes
1answer
21 views

ubuntu not starting after update-grub

I changed the default kernel in /etc/default/grub and did update-grub. Now every time the system is switched on, it opens BIOS settings. It's not showing any boot menu.
0
votes
2answers
15 views

Iptables accepts any ip or range in any format

Update Jun 30 I have a list of ips.txt and I want iptables accepts any ip or range in any format. Example: # IPs List 199.59.243.120 157.60.1.0/24 91.190.0.0/16 192.168.2.1-192.168.2.25 My rule: ...
0
votes
1answer
20 views

How to filter files/directories according to permission and owner(tree command)

I use tree command to get files and directories under the /usr path, tree -pgufi /usr Does it have a way to filter files/directories under this path according to several conditions(1 and 2 and 3)...
0
votes
0answers
20 views

new folder not inheriting permission from parent folder (linux Ubuntu 16.04)

So I have this folder here: => ll total 512 drwsrwsr-x 2 root users 4 Jul 1 01:27 storage/ If I create a new folder inside storage, the new folder has the permissions "drwxrwsr-x". Please note ...
1
vote
2answers
65 views

Can not ping other nodes in private network

I am setting up a small cluster (four nodes running ubuntu14) and I have this configuration: # Internet and lab - 192.168.10.0/24 iface eth0 inet dhcp dns-nameservers 192.168.100.1 # privte network ...
0
votes
0answers
11 views

Make a bootable ubuntu-core for Raspberry pi2

I've been trying to build a minimal Ubuntu system for my raspberry pi2, based on an Ubuntu 14.0.4 core (base) image. here: wiki.ubuntu.com/Core I deployed the image to the SD card, Cross compiled a ...
0
votes
2answers
30 views

System Testing tool for Arch Linux

I want to test my hardware function and find errors. Is there any System Testing tool available for Arch Linux with GNOME 3.20 ? On Ubuntu , I was using Checkbox-qt to test all the Input/Output ...
1
vote
1answer
13 views

Conditional prompt for mercurial

I'm trying to have a prompt that looks like this: $ some-folder (patch-name): I was able to get that to work when I did the following: hg_ps1() { hg prompt " ({patch})" 2> /dev/null } ...
0
votes
0answers
11 views

Automounting internal partition and usb

I'm running arch Linux with i3 window manager and I'm wondering if there's a way to replicate Ubuntu behavior about auto mounting internal partitions and USB. More precisely: Mount all partitions ...
2
votes
2answers
73 views

How to Find All .tex Files in Directories in Recurse Grep?

I want to expand the recursive search of symlinks to include only .tex files find . -type l -name "Math*" -exec grep -d "recurse" word {} +. Failed pseudocode 1 find . -type l -name "Math*" \ -exec ...
2
votes
0answers
27 views

Trap ctrl c not working as expected

I have a code that looks like this: { trap cleanup SIGHUP SIGINT SIGTERM function executed() { if [ ${1} -ne 0 ] then echo "Failed!" cleanup ...
0
votes
0answers
16 views

rsyslog forward all facilities but one

I have a rsyslog client, version 5.8 on centos 6 successfully forwarding log messages to a remote host. Now I have added some local files to the local3 facility, and I want to exclude this facility ...
5
votes
4answers
313 views

bash + using printf in order to print in special format

I just wrote the following bash script to check the ping access on list of Linux machines for M in $list do ping -q -c 1 "$M" >/dev/null if [[ $? -eq 0 ]] then echo "($C) $...
0
votes
0answers
9 views

iperf3 inconsistent results between Windows and Linux configuration

I have recently started to use Iperf3 and am struggling to comprehend its behavior. My problem stems from the fact that I am getting different results between Linux and Windows OSs. More particularly,...
1
vote
0answers
25 views

Why does systemctl isolate multi-user.target succeed only once?

I was just taught here that systemctl isolate multi-user.target is the modern way to unload the graphic shell, which was done by init 3 previously. I see that init 3 still works in my system but it ...
3
votes
1answer
9 views

Where to find a complete list of bindable readline-functions of Vi mode?

On searching for a way of jumping between whitespaces with GNU Readline library, I discovered the vi-fWord and vi-bWord readline-functions in this question. But strangely, I cannot find any trace of ...
1
vote
0answers
33 views

Is there any history to the shell prompt? [duplicate]

Traditionally, users get the $ prompt and root gets the # prompt but is there any history why this is so?
0
votes
0answers
24 views

Linux Server Management Tool [migrated]

I recently deployed 13 servers Red Hat 7.2 and I would like to know what will be an ideal server management tool that will allow me to patch, and automate servers within a small environment such as ...
0
votes
0answers
12 views

IRC returns WHO list on screen reattach

I'm pretty new to using IRC on a daily basis, so forgive any incorrect terminology. I currently have a screen setup on a server running IRSSI that I will reconnect and reattach to every morning. ...

15 30 50 per page