2
votes
1answer
42 views

Relative path to anything not working (while running from initramfs)

I'm working in an embedded Linux system trying to get it booting its root file system in ram using initramfs. The system comes up for the most part but then has trouble in the init scripts. I've ...
17
votes
1answer
395 views

What does it mean to have a minus sign as the first character of a command in htop output?

In htop, or other commands that show process status, all bash processes have in the command column /bin/bash but one process has in the command column -bash What does it mean?
1
vote
1answer
12 views

how to set brightness in Chromebook with external screen

I have connected my Acer Chromebook to external screen and keyboard. How can I control the display brightness? (the screen does not have its own controls.) Usually I can click the brightness buttons ...
3
votes
5answers
83 views

parsing a huge file with awk and extracting a subset

I have a huge file which looks like this chr10 98072 1 chr10 98073 1 chr10 98074 1 chr10 98075 2 chr10 98076 2 chr10 98077 3 chr10 98078 5 chr10 98079 5 chr11 98080 ...
3
votes
0answers
32 views

Restarting systemd service on dependency failure

What's the right approach to handle restarting a service in case one of its dependencies fails on startup (but succeeds after retry). Here's a contrived example to make the problem clearer. ...
1
vote
1answer
14 views

Run LFTP on a list of files

I have a newline-delimited list of paths to files I would like to download via LFTP, from a remote machine to a local machine with the same directory structure. Is there any way that I can pass LFTP ...
0
votes
0answers
9 views

How does rpmbuild see files that need to be installed

I am trying to use an rpm package to build a package that does little more than install custom configs. I made a blank rpmbuild package, added another package as a dependency, this package installs ...
1
vote
0answers
17 views

Absolute domain names in /etc/hosts?

I have a RHEL7.0 host which has this standard entry in /etc/hosts/: 127.0.0.1 localhost.localdomain localhost So resolving localhost.localdomain works: $ ping localhost.localdomain PING ...
0
votes
0answers
14 views

Debian 8 sytemd “found device” multiple times

I currently run a Debian 8 system (upgraded from Debian 7) with a software raid 1. Once in a while systemd reloads 3 times in a relatively short period and logs it into syslog. If it reloaded only ...
0
votes
2answers
38 views

How do I directly talk through a serial port via the keyboard? [duplicate]

I have a hardware controller that I need to communicate to via serial port. How exactly can I communicate with that port using my keyboard as input. The serial runs on 19200 baudrate, 7 bytesize, and ...
0
votes
1answer
20 views

Problem booting Ubuntu (or any OS), even after doing clean installs

Summary: OS (Ubuntu / Windows) installs fine, but when the time comes to restart and boot, it doesn't boot. (Gets stuck; screen blinks and I am still at boot selector). Can boot to a live ...
1
vote
1answer
31 views

To which device file is particular storage device mapped?

I noticed that I never figured this out completely. Linux maps SATA and USB (and many more kind of) storage devices to /dev/sd[a-z] device files in the order in which they were "found". Now given that ...
2
votes
0answers
14 views

How to check flash memory for ECC errors from the Linux command line

Is there a way to check flash memory for ECC errors from the Linux command line? Note that I do not want to correct ECC errors. I just want to detect errors and list page addresses where they occur.
2
votes
1answer
24 views

Restoring from NTBackup Tape

Does anyone have any insights into how to read files from a tape created using NTBackup? The situation is as follows. Several months ago, my office migrated a key piece of software from a local ...
0
votes
1answer
40 views

kill processes in one line with kill, awk, ps, and grep

I have a few processes that spring up and I am able to print a line of the pgid's that I would like to enter into a kill command. here is what I have: sudo ps o pgid,args | grep mininet: | sudo awk ...
1
vote
1answer
17 views

Conditional file and directory installation in Debian Packages

Is it possible to create a binary Debian package with conditional files and directories installation (e.g. installation of an init script in /etc/init.d/ after being confirmed by user)?
0
votes
1answer
5 views

Delete and recreate of NTFS file format in Extended partition will maintain driver letter?

One of my computer system is having the disk partition like below 1-Primary (NTFS) (boot) 2-Primary (NTFS) (Windows C: Drive) (windows XP OS) + (software installed) 3-Primary (NTFS) (Windows D: ...
2
votes
2answers
35 views

Is there a default ftp server in Debian Wheezy default installation?

I just finished installing a test web server with Debian Wheezy, apache and phpPgAdmin. I don't know if the default installation includes the ftp server. How can I check if one is installed? What ...
-3
votes
0answers
21 views

I am getting 2 errors when trying to run this script I know I must be missing something [on hold]

line 6: syntax error near unexpected token 'Train Agent in Environment:'' line 6:cmd:text('Train Agent in Environment:') if not dqn then require "initenv" end local cmd = torch.CmdLine ...
0
votes
0answers
12 views

Configuring an Email Server

I currently have an email server configured, and I was wondering how to set it up so that my session is protected with an SSL certificate when my email client logs in, and how to get it to sign ...
0
votes
3answers
54 views

Removing white space using sed but skipping Date-Time stamp

I wanted to remove white space from a CSV file, which I am able to do using s/\ //g, but at the same time I want to avoid removing the space between fields which has timestamps e.g. "06-JAN-15 ...
2
votes
0answers
20 views

Xorg not properly detecting EDID

I just acquired an LG 25UM57, a 25" 21:9 Ultrawide monitor (2560x1080 max resolution) Many hours later I still can't get or figure out a functional Modeline for the max resolution on this monitor ...
0
votes
1answer
9 views

OracleSolaris 11.2 - setting MANPATH variable

What is the right way to extend MANPATH in Solaris? Currently it is empty for a user session, so I get to do it manually in $HOME/.bash_profile: ...
0
votes
0answers
15 views

Bad DRBD Performance

I am going currently going nuts because of slow DRBD performance and after many hours trying different parameters I cannot find the problem here. I hope someone is able to help. Regardless of how I ...
0
votes
0answers
17 views

What is the proper way of mounting external devices on NixOS

I have a usb stick and NTFS hard drive partition that I'd want to use in nixos. On some other distribution I'd mount it using ntfs-3g in /mnt. But on nixos the directory doesn't exist, I suppose nixos ...
0
votes
1answer
20 views

How to make sure the same string doesn't appear next to itself in an array?

I'm making a Rubik's Cube scramble generator, and the turns can't be side by side or else it's useless. I'm trying to stop it from doing the following: Displaying the same string twice, i.e R2 R2 ...
0
votes
1answer
60 views

apt-get without sudo?

I am trying to install YouCompleteMe (YCM) on my user account on a Debian machine. The installation guide says we need python-dev for YCM to work: sudo apt-get install python-dev My question is: ...
4
votes
1answer
34 views

218TB XFS LVM filesystem. 144TB Free. Error message “No Free Space Left on Device”

I have a giant 218TB RAID6, across LVM. It is actually 2 separate RAID6's joined together through LVM to form one giant RAID6. 'df -h' shows all space was available, and I mounted to "/share". I ...
-1
votes
0answers
14 views

mintUpdater - not updating anymore

Using Rebecca KDE. Some time ago have to run an apt-update && apt-upgrade command and after that mintUpdate is not working properly - shows update list but on every attempt to perform an ...
2
votes
2answers
23 views

How can you print arguments of command in ps?

sudo ps o gpid,comm reports something like 3029 bash but the command has parameters --arbitrary -other -searchword is there a way to display these arguments?
1
vote
1answer
37 views

Where can I find information about PCI devices in Linux?

I'm trying to verify a program's output with my machine. This is the program's output pci_type_0=BlockDevice, pci_type_1=NetworkDevice, pci_type_2=NetworkDevice, pci_type_3=BlockDevice My job ...
0
votes
0answers
16 views

OpenVPN connection impossible from some network

I sucessfully installed an OpenVPN serveur on my Raspberry Pi and everything works like a charm when I want to connect to the VPN server from a random 4G or wifi network. I configured OpenVPN to use ...
0
votes
0answers
31 views

ssh publickey authentication to a Ubuntu running inside VirtualBox

I have a Ubuntu running inside a VirtualBox inside my Windows 8 desktop. I am trying to communicate between the Ubuntu and another Debian server in the network. I have enabled Port Forwarding in ...
1
vote
0answers
5 views

Gnome-boxes not able to see virtual machines after sleep

I am having a bit of trouble to solve this issue. I am using gnome-boxes to run my windows boxes for my school project purpose. When I boot the system, everything works just fine When I type : ...
1
vote
3answers
91 views

Merge duplicated lines which have the same fist three filed

I have the below input (thousand lines). I want a sed command to merge duplicated lines with the same fist three filed but adds only different fields and delete N/A: D04005;4;279;0;0;SSM-4-1 ...
3
votes
2answers
123 views

To count number of matches in a mega string quickly

I have big text-data without spaces and without other rows in one line. In reality, the streams are 0.2 Gb/s, similar situation here, but in this task, counting occurrences which is more challenging ...
1
vote
0answers
24 views

CentOs7 Python 3.4 Install Method

This post relates to this question where I was asked to explain how I installed python3 on my system. I was attempting to install python3 on my system for development purposes. Something went wrong ...
4
votes
0answers
85 views

Peculiar Solaris integer comparison behaviour

This one caught me unawares! We have a Solaris machine (version: SunOS 5.8) hosting a pivotal script/process which has been running for many years without complaint. We recently had cause to have a ...
1
vote
0answers
9 views

Testing for an active window session

I'd like to run a cron job to test whether there is an active window session (GNOME or KDE) running on my host. By "active" I mean that in addition to just running, the user is "doing stuff". In ...
0
votes
1answer
9 views

Where does Knoppix store the location of hard drives/

I've been looking on the web and through the few Knoppix books I have. I cannot see where to locate the hard drives for a CentOS server I've booted with Knoppix. I am booting the CentOS server with ...
4
votes
3answers
271 views

Exiting a shell script with nested loops

I have a shell script with nested loops and just found out that "exit" doesn't really exit the script, but only the current loop. Is there another way to completely exit the script on a certain error ...
2
votes
1answer
27 views

View Japanese text in emacs without X11

Is it possible to view Japanese (or more generally, international) fonts in emacs without running X11? If yes, what is the process? Nearly all the references I have found on the internet related to ...
-1
votes
0answers
22 views

Is it possible to use cron with a bash sh script that creates scripts via echo, which the main script then executes?

Is it possible to use cron with a bash sh script that creates scripts via echo, which the main script then executes? Cron appears to take over control of the outputs to be either the given email ...
0
votes
1answer
19 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
0answers
15 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
0
votes
2answers
33 views

Create a Linux image

Good Afternoon Everyone! First off I am a Linux nooby, been doing windows administration for several years but recently our company has decided to start deploying RHEL servers. Anyways I have spent ...
0
votes
1answer
10 views

What should I write in commitinfo file for hooking my script if I want to commit an appropriate file?

Could you tell me can I add the line in commitinfo file if I want that the hook will be run if I commit an appropriate file? Example: I have *.txt file I added next line: *.txt ...
0
votes
1answer
25 views

RHEL internet connection behind company proxy?

Just set up a RHEL v6.4 VDE for development but I can't seem to connect to the internet no matter what I try. I'm sitting behind a company proxy that requires authentication. Here's what I've done so ...
0
votes
0answers
7 views

Rstudio : openxlsx read loop crashes when no delay added … why?

I have a loop where I load 10 huge excel 2007 files into a list of data.frame thanks to openxlsx library. This loop crashes at the 4th file when no delay is added. Adding a 500ms delay after each read ...
0
votes
1answer
18 views

Which config-file stores file associations in KDE/Plasma?

With the 15.04 release of Kubuntu, I switched from Gnome (Ubuntu) to KDE/Plasma. I did a clean install, while keeping my home directory. Now, libreoffice (mostly Calc) seems to be associated with ...

15 30 50 per page