1
vote
0answers
12 views

What package has GNU sed for Solaris?

I need to use the features of GNU sed, instead of the built-in version under Solaris 10. Which GNU package contains it? I don't see it listed in the coreutils, and my Google searches haven't helped ...
1
vote
1answer
14 views

rpm macros on CentOS 6.5

Trying to create a spec file for a CentOS 6.5 system. The rpm should check release to add specific Requires: lines based on the OS version....and it doesn't work at all: Spec file snippet: %if ...
0
votes
2answers
9 views

Trying to SSH to local VM Ubuntu with putty

I have found similar questions in my searches here, but most of the answers are way above me at the moment, so here goes. I have set up a VM of Ubuntu server, have installed OpenSSH, and am now ...
0
votes
0answers
2 views

Plasmoid - connect KDE signal with QML UI

I'm working on this small KDE plasmoid and I really like the QtQuick/QML, but now I have this requirement. I need to do an action when a window is shown or closed in KDE. KDE API have signals for ...
1
vote
0answers
10 views

Stop init.d from running, and go to terminal prompt

I'm running Rasbian (Debian?) on my Raspberry Pi, and have allot of auto-starting things in init.d. But what if I want to stop them all from running, and simply break into a terminal prompt? I've ...
1
vote
1answer
13 views

How do I use sudo to run multiple commands as another user within a portion of a script?

I'm trying to run the following: if [! -f .owner ]; then creator=$(whoami) sudo -u appuser ksh echo "$creator" >> .owner mkdir test1 test2 test3 exit fi However, the ...
0
votes
1answer
9 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...
0
votes
0answers
9 views

Run root script or command as root in startup application in linux mint

I have a wireless adapter that used to work in Linux mint 16 (dwa 171) after installing drivers for it. Now it won't work the same way anymore since I upgraded to linux mint 17. I've found the only ...
1
vote
2answers
18 views

Cronjob to run script every 3 weeks on Wednesday

is it possible to schedule a cron job that would run every 3 weeks and on Wednesday(8a.m.) only? OR run a job every 27 day or less but on Wednesday at 8 am only.
0
votes
0answers
6 views

Qt OpenGL shader errors [on hold]

I get the following error after compiling a Qt-OpenGL project: bool QGLShaderPrivate::create(): Could not create shader of type 1. Vertex shader for simpleShaderProg (MainVertexShader & ...
-1
votes
0answers
17 views

How do I deploy a jar package on Tomcat? [on hold]

I have a JavaFX project I built as a Jar package, I have the jar, jnlp, and html file, but I would like to deploy it on a tomcat server to make it a web app.
0
votes
0answers
7 views

Can't execute server messages outputed when printing to laser 3 on openSUSE

This is my 1st post and I have a sporadic printing issue I'm needing some help with. I have 3 laser printers setup on my secure network; all ping on different IP addresses; 2 of which are printing ...
3
votes
2answers
52 views

replace multiple spaces with one using tr only

I have a file f1.txt ID Name 1 a 2 b 3 g 6 f The number of spaces is not fixed. What is the best way to replace all the white spaces with one space using only tr This ...
1
vote
1answer
25 views

USB set to /dev/sda instead of /dev/sdb

I've been trying to use a kickstart file to guide the Red Hat installer (RHEL6.5) without user intervention. It correctly looks for the kickstart file in /dev/sdb/fs.cfg, but because the USB is ...
3
votes
1answer
25 views

how to verify if root password changed correctly

I have an OpsWare task, that changes root passwords on a massive number of servers, by replacing the root's password hash in /etc/shadow file. I need a script of some sort, which preferably runs ...
2
votes
1answer
11 views

How to set an expired authentication in Apache?

Using a simple virtual host, I've to set a timeout after X minutes (same of set an expired authentication) to force the user to re-insert its credentials. [...] <Directory /home/user1/> ...
0
votes
0answers
13 views

Ubuntu Trusty Preseed Error

I have a preseed file that installs Trusty but the install is giving me this error: Jul 22 17:52:42 in-target: Setting up sysv-rc (2.88dsf-41+deb7u1) ... Jul 22 17:52:42 in-target: info: Reordering ...
4
votes
2answers
24 views

Vocabulary trainer for Unix

I am looking for a Linux (Ubuntu) software that allows me to take note of new words that I learn online. I manually add new words, their meaning and usage. The software then displays each item in a ...
5
votes
1answer
36 views

How can I pipe stdout to another program?

I'm trying to setup a linter for my code and I only want to lint the coffeescript files that have changed in the current branch. So, I generate the list of files using git: git diff --name-only ...
5
votes
2answers
26 views

How can I see i/o stats for a briefly running process?

For long running processes like init, I can do things like $ cat /proc/[pid]/io What can I do if I want to see stats for a briefly running process such as a command line utility like ls? I don't ...
0
votes
0answers
17 views

Can't wget from github, sslv3 handshake error

We have a script that downloads mod security from github that has recently started failing. The servers run CentOS 6 but RHEL 6 probably has the same issue. The output is: # wget ...
1
vote
0answers
15 views

How do I disable hardware detection during PXE boot?

I'm atttempting to install centOS 6.5 on a new dell machine through PXE boot. The PXE boot works fine for other PCs, just the new workstations are problematic. The PXE boot hangs on "Detecting ...
5
votes
2answers
149 views

downloading files using wget

I am trying to download an http link from here. The URL is http://www.ncbi.nlm.nih.gov/geo/download/?acc=GSE48191&format=file When I use wget ...
2
votes
1answer
30 views

set up centos7, configuration of ip

when I'm searching for ip setting of centos 7. Responed is centos 6.X 's or ealier, and I tried. But how is the default DHCP configuration of centos 7. Some configurations have been done like I want ...
0
votes
0answers
17 views

Cannot “resume” music

I've had the following issue across multiple music players and multiple distro's. Currently I am experiencing it in Rhythmbox on Arch Linux. Whenever I play music and then pause a track I am unable ...
3
votes
2answers
29 views

Tilling Manager Python

Good evening. Is there any tiling manager like XMonad but writen with Python? I think Haskell was too hard for me. But I know python a little.
4
votes
2answers
415 views

How to ensure SSH port for example is only open to a specific IP address?

This is my /etc/sysconfig/iptables: it has two ports open 80 apache and 22 for ssh. # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. ...
-1
votes
0answers
40 views

Choosing a hostname - what's an efficient system? [on hold]

I have multiple servers but no good hostname system. All my web servers are in the format id.local, where id is a random assigned combination of letters and numbers, for example HFPK001. The rest of ...
1
vote
1answer
14 views

Fetching Remote Windows System Information From Linux Server

I need a script/command that would fetch Windows System Information (Host Name,User Name, Domain, OS Info, Hardware Info, Memory Info, processor Info, etc) by running it on a Linux Server (RHEL 6.5 ...
0
votes
0answers
17 views

Weird authentication with Exchange server

I'm using Evolution with evolution-mapi to access an Exchange e-mail server. It has worked flawlessly in the past, but recently it will fail to authenticate, asking my password endlessly. If I enter ...
2
votes
1answer
16 views

Changing file permissions on gpt system device

I ran the command fdisk -l to find out what my external drive is formatted to, I found out its a GPT system. How can I change permissions on a GPT system in Linux? When I try and create a new folder ...
-2
votes
0answers
14 views

How to create virtual AP using Hostapd

How to create a Wifi network with a DHCP server (but without Internet sharing) in Linux using hostapd?
3
votes
1answer
14 views

Nginx loadbalancing between PHP-FPM and Apache

Do the upstream PHP servers have to run the same server software? If I have the following Nginx configuration upstream myapp1 { server srv1.example.com; server srv2.example.com; ...
1
vote
1answer
28 views

Why doesn't my supervisor daemon start on reboot?

I have added a crontab entry via crontab -e for the current user: @reboot supervisord -c /etc/supervisord.conf Yet after the reboot, supervisord demon is not running. I need to run the command ...
2
votes
2answers
49 views

How to change my script to replace and add new variable in a configuration?

Well this is my script. It is to configure my systems sysctl.conf. infile = open('sysctl.conf') outfile = open('sysctl.conf.new', 'w') replacements = {'Net.ipv4.icmp_echo_ignore_all' :'1', ...
1
vote
2answers
102 views

How would I change file permissions if the file name has a space in it in linux [duplicate]

I would like to know how would I rename and change file permissions of a file that contains a space in the name on Linux. Example The name of my file is: my file I have tried mv my%20file my_file ...
2
votes
2answers
42 views

How much RAM needed for preventing use swap?

At my system always available some "Free" and "Inactive" memory, but sometimes system move couple megabytes to swap. Per night it maybe around 100MB, but for a few days in swap could be more than ...
0
votes
0answers
18 views

Creating multiple proxies on a single VPS

I am trying to create SOCKS Proxies on my Debian Linux VPS. I was just wondering what is the best way to go about doing this? I have tried things like Dante and it doesn't support multiple Proxies.
0
votes
1answer
26 views

Faillog - unsuccessful login count in Motd

I wish to include a count of failed login attempts whenever a user logs in. I've created: /usr/local/bin/dynmotd which contains #!/bin/bash FAILLOG=`faillog -u` echo -e " $FAILLOG " and ...
0
votes
0answers
7 views

Linking synergyc: libcurl - undefined reference

I'm trying to compile synergy 1.5.0 on openSUSE 13.1 (Kernel 3.11.10-17). While linking, I get the following error: ... [ 83%] Built target ipc [ 84%] Built target client Linking CXX executable ...
1
vote
3answers
68 views

Aggregate and group text file in bash

I have a big text file(with 5m lines) in this format(4 columns, separated by ;): string1; string2; string3; userId The first 3 strings (SHA1s) form a single ID, called appId (so it can be ...
0
votes
0answers
18 views

How does SMART work for scsi device?

After going through the man pages of smartctl, smartd and smartd.conf, I am no clearer on how S.M.A.R.T. is supposed to work on a scsi device. I have a default configuration file that says: ...
3
votes
0answers
30 views

Why is my swap not being activated automatically via fstab?

I've got a Linux embedded system that I'm experimenting with (the Elektor Embedded Linux Made Easy board, based on the GNUBLIN http://en.gnublin.org/index.php/GNUBLIN-Elektor). I'm using the 3.3 ...
0
votes
1answer
64 views

read only root filesystem

Somehow my Debian went to read only in root file system. I have no idea how this could have happened. For example when I am in /root folder and type command nano and after that press Tab to list ...
1
vote
3answers
34 views

How to rename file using substring of the same file name [duplicate]

I want to rename my file with its substring.Because unfortunately renamed all the files in my server. Now I want to remove suffix( .gz) of all the files including files in subdirectories also. Below ...
0
votes
1answer
48 views

Create ssh root password

For some reason, after a plesk update, I can no longer login to ssh as root using my old password. I have tried to create a user with: /bin/bash & /bin/bash (chrooted) in plesk Which lets me ...
1
vote
2answers
16 views

How to build space separated, escaped full paths of files recursively matching glob?

I have a program which requires paths to files as arguments, which cannot be quoted and must not depend on working dir. Can this be done without chaining multiple xargs, tr, find, readlinks? Example ...
0
votes
1answer
14 views

Slow down mp3 audio

I love VLC's option of slowing down audio playback. Now I want to take my mp3-files to a portable player and play them there. Unfortunately the player does not have a slow down option. How can I ...
0
votes
0answers
5 views

Konsole: disable right-click menu

My trackpad does not have a middle button, so I have to click both buttons to simulate middle button. Often that fails and I get the context menu (which I have never ever had any use for in Konsole). ...
2
votes
1answer
24 views

Difference between sudo -s and sudo su -

It might be a duplicate and I'm pretty sure I already show an answer to that somewhere, but I wondered what are the difference in term of right and variable and other stuff between sudo -s and sudo su ...

15 30 50 per page