0
votes
0answers
7 views

CoreOS cluster for development / testing

I'm setting up a CoreOS cluster and want to write a bootstrap script which all developers can run to get a local virtual cluster running. Mostly I'm wondering about etcd, how I can pre-set a few ...
0
votes
0answers
48 views

Cut specific characters into columns [on hold]

I have a file as below: 2043630001007316220473533459926000000000003960CANDOVER INVEST S LONGHURST EXP 143292043630001007304400000000000000000000000000000 ...
1
vote
2answers
46 views

outgoing SMTP 25 port blocked by ISP?

I just setup postfix but I just realized my ISP outgoing blocks port 25 (SMTP). How do I send email outside? I can see my mail queue is filling up. Any suggestion?
1
vote
0answers
13 views

From a sparse file to a block device

I have a system image sparse file which actual size is only a few MBs but the "apparent size" is about 1GB. I'm trying to write it to a block device efficiently (without the holes). Here are some ...
0
votes
1answer
51 views

bash script programming question

Why the stomach of cat has ": No such file or directory" ? Help me please! #! /bin/bash if [ $# != 1 ] ; then echo wrong arg,please input one arg exit 1; fi if grep '^[[:digit:]]*$' ...
2
votes
1answer
17 views

Tool to add hierarchical structure to output, similar to tree

Is there a tool that is similar to tree which could be used in conjunction with echo? I want to easily prepend hierarchical structure to output. I know I could write it, but if a solution ("do one ...
1
vote
1answer
26 views

Can I use my original GPG key even though I've re-installed Linux?

I'm a Debian user. I just created my own GPG public key. I'm just wondering if I re-install Linux on my system, is it possible to use the original GPG key or do I have to create a new one? NOTE: If ...
0
votes
0answers
11 views

security level xrdp is 0 - error

I have a problem with xrdp. is very strange, because I have two accounts on the server, and one I can always access it, while another almost never. Every time I try to get in, I get these data: ...
1
vote
1answer
18 views

How use mutt to manage /var/spool/mail/user

I've just installed apticron to get mails as available update notifications. Now I was wondering if there was a way to set up mutt to manage my mails from /var/spool/mail/daedalus? I'm on Debian ...
0
votes
0answers
30 views

Linux Fedora 20: how can I find out what is happening behind the scenes

I have Fedora 20 installed, using MATE desktop and zshell and something weird is going on. I get lots of odd unexplained beeps from my speakers, even though the volume is turned down to zero, so ...
2
votes
1answer
17 views

Decode / summarise strace logs

OK, so it's no secret that strace produces vast amounts of output. (I'm aware there are various options to filter the output a bit.) Are there any tools to process a raw strace log into something ...
1
vote
1answer
5 views

Virtualbox list vrde port for vm on commandline

I have a Virtualbox VM that is configured with VRDE for remote access using RDP. I'm familiar with how to set the vrde port, but for a given VM I have not found a way to query the current vrde port ...
1
vote
2answers
24 views

Does CentOS 7 incorrectly sort kernel menu entries in grub.cfg?

I've noticed an unexpected ordering of grub menu entries on a CentOS 7 system: It has following kernels installed: $ ls /boot/vmlinuz* -ltr Jun 30 14:17 /boot/vmlinuz-3.10.0-123.el7.x86_64 Nov 6 ...
0
votes
1answer
21 views

Cycling through the *Buffer List* with C-n, C-p

Is there a way to use the C-n or C-p shortcuts (or some other shortcut) in the Buffer List to cycle through the list of buffers? Currently when I get to the top (or bottom) of that list it doesn't ...
0
votes
0answers
9 views

Internet not working in Fedora and Windows 7 PCs, IP conflict problem?

I have 25 new computers with Fedora 20 and 15 old computers with Windows 7 as the OS. For connecting all PCs, I've used star topology in which there's one 24 port D-link switch and one 16 port D-link ...
1
vote
1answer
17 views

Update single package from Ubuntu Utopic Unicorn when running Trusty Tahr

I'm tasked to update a package on a Ubuntu Server Trusty Tahr installation. Specifically rfc5766-turn-server which is really old on Trusty. https://launchpad.net/ubuntu/+source/rfc5766-turn-server ...
1
vote
3answers
50 views

How to test for unknown commands in shell script?

I would like to know, if there is a way to go through a shell script and getting a warning for every command, that is unknown. I know bash -n for syntax checking, but it doesn't tell me, if there are ...
0
votes
1answer
20 views

Confusion about basic bashscript loop - until/done [duplicate]

I have a bash script I'm working on to help with an installer. why doesn't this work? function fn_myFunc(){ local MYVAR=0 until ["$MYVAR" -ne 0]; do whiptail --yesno ...
0
votes
2answers
14 views

Debian install failing due to CDROM not being detected

A similar question got asked but got closed. If you install Debian 7.7 to a USB in Windows with unetbootin and then try to install Debian from that USB, it will complain that it 'cannot mount CDROM' ...
1
vote
2answers
19 views

service vs. systemctl scripts — which to use

In Fedora we have 'systemctl' and 'service' scripts. It seems that service internally calls systemctl. So what is the correct/right way on Fedora to start or stop services -- via systemctl or service ...
2
votes
1answer
29 views

enable echo service and linux security loophole issues

in order to enable the echo service we need to add the echo lines as the following example : more /etc/inetd.conf echo stream tcp nowait root internal echo dgram udp wait root ...
1
vote
0answers
29 views

How do I find out how long a socket is in CLOSE_WAIT?

I have a server relatively with a high number of sockets in CLOSE_WAIT I want to know the age of each socket, to know if it's a real problem (sockets not getting closed) or that the sockets are ...
11
votes
3answers
277 views

Start a process on a different tty

After about an hour of Googling this, I can't believe nobody has actually asked this question before... So I've got a script running on TTY1. How do I make that script launch some arbitrary program ...
1
vote
0answers
5 views

Can Nautilus-Actions Configuration Tool be used with Nemo file browser in Cinnamon?

In the past I used Nautilus-Actions Configuration Tool with Nautilus. Can that be used with Nemo File manager (a fork of Nautilus originally)?
1
vote
1answer
40 views

Add 10 to a value in large xml file

I have in a large xml file some hundred svg graphs where I want to change the <svg:g transform="matrix(1 0 0 1 59.06 88.74)"> 88.74 to 98.74 i.e to add 10 to every line that starts with ...
0
votes
1answer
21 views

Syncthing daemon starts manually using script, but not at startup

I have installed syncthing on a Linux Mint Debian Edition machine and am trying to get it started at boot time using an init script in /etc/init.d. I followed this tutorial. Symlinks in /etc/rc.* ...
-1
votes
0answers
22 views

Windows 8.1 boot option is missing after installing CentOS 7, how can I get it back? [duplicate]

I recently installed CentOS 7 on a machine that has been running Windows 8.1. I did a dual boot installation and installed CentOS in a partition. But when I boot up my machine, it only gives me two ...
0
votes
2answers
21 views

How to install Couchbase on ArchLinux

Is it possible to install CouchBase in ArchLinux? This database looks so promising, but they only provide .deb, .rpm, windows, and mac version. http://www.couchbase.com/nosql-databases/downloads
0
votes
0answers
35 views

CPU load and power management (frequency)

question background In my understanding the load value (shown e.g. by top) allows (together with the knowledge how many CPU cores the system has) a very quick assessment which share of the ...
1
vote
0answers
5 views

Capturing data from a Fluke 1620a via Bash /dev/tcp file descriptor

I am currently trying to develop a script that will connect to a Fluke DewK 1620a Themo-Hygrometer and pull the current temperature and humidity readings from the device. While these devices have a ...
1
vote
1answer
38 views

Sort and count number of occurrence of lines

I have Apache logfile, access.log, how to count number of line occurrence in that file? for example the result of cut -f 7 -d ' ' | cut -d '?' -f 1 | tr '[:upper:]' '[:lower:]' is a.php b.php a.php ...
1
vote
1answer
32 views

Cinnamon: How to get path in text on GUI window, and how to open terminal at current GUI-window location?

I want to know how to set it so that I see the graphical directory path in text instead of buttons in Cinnamon. I also want to know a way to open a terminal at the GUI-window's current path. Like ...
1
vote
0answers
9 views

Loopback (bind) mount automatically mounting additional ext4 USB drive

I have a USB (ext4) drive connected and it's registered in /etc/fstab. It mounts at /media/Backup fine. I want to mount a specific directory on that drive using a bind / loopback mount (this is ...
7
votes
3answers
411 views

in Bash, how to not include extra arguments in an alias?

I am trying to do something like alias ftp='echo do not use ftp. Use sftp instead.' just so that ftp will not be accidentally used. But I noticed that ftp abcd.com will cause the command to ...
0
votes
0answers
6 views

VLC Segfault with WMV files

I tried to play a regular WMV video with VLC and it exits with a segmentation fault for some reason. I checked if this happens with any other video file formats, but it doesn't it's specifically to do ...
1
vote
1answer
12 views

command to log out of LXDE directly

To log out of LXDE, I can click on the "Start" menu, click "Logout" and when the menu pops up click on "logout" again. Or I can type lxde-logout in my terminal and when the menu opens, click on ...
0
votes
1answer
8 views

conntrack in iptables not working [on hold]

I have tried to use conntrack in my iptables rules, however I keep getting an error. I've tried aminimal example with just one line and the error appears as well. admin@server:/home/admin/skrypty# ...
1
vote
0answers
48 views

User Acces restrict to only one folder

I am trying to establsih SFTP User rights at a server to only one folder, following the guidelines here: ...
0
votes
0answers
9 views

loading ath9k_htc kernel driver fails

could someone please point me in the right direction to get my external wireless stick (TL-WN722N) working on my Xperia Neo (haida) smartphone? So far I've done the following: I downloaded ...
0
votes
0answers
7 views

netboot archlinux

I have created a backup. And setup an NFS-boot, but kept it as pure nfs4 than ndb. I'm able to boot an old system, but unable to get the usb keyboard and mouse active after boot, which is really ...
3
votes
3answers
219 views

Press any key to pause shell script, press again to resume

I've written a shell script for testing an API that copies files and echoes its progress after each one. There is a two second sleep between each copy, so I would like to add the ability to press ...
-2
votes
0answers
34 views

making a delete script and a restore script

I'm looking to create two scripts; one to "delete" a script, and one to "restore" I need "del " where this will move the file located at to the dustbin directory in a way that will allow it to be ...
7
votes
1answer
34 views

Does QEMU/KVM use Intel AES instructions for encrypted qcow2 images if the host CPU has them?

The qcow2 image file format for KVM can use AES encryption. The encryption is applied at the cluster level: Each sector within each cluster is independently encrypted using AES Cipher Block ...
1
vote
1answer
18 views

text based tool for ldap queries

I need a way to do LDAP queries through a text based interface. I use jXplorer on my own machine but that is a graphical client. Btw, I'm running Ubuntu server 14.04. The background: A server in my ...
11
votes
2answers
143 views

Security implications of running perl -ne '…' *

Apparently, running: perl -n -e 'some perl code' * Or find . ... -exec perl -n -e '...' {} + (same with -p instead of -n) Or perl -e 'some code using <>' * often found in one-liners ...
0
votes
1answer
38 views

rtl8723be Realtek Wifi-Card driver not working on Ubuntu 14.04

I installed Ubuntu 14.04 on my new Lenovo G50-70. The wifi works perfectly in windows, however it behaves strangely on Ubuntu. It is slow, doesn't load heavier sites at all, and after a while, ...
0
votes
0answers
9 views

how to import .dsc on nmu master branch on git? [migrated]

I want to import a package description file (.dsc) on new nmu branch that has master rule. So, firstly I create new mnu branch: git branch nmu master Then I did git checkout master and after that I ...
2
votes
0answers
16 views

generating redhat 6.5 UEFI iso using mkisofs

i am able to generate uefi iso using mkisofs -quiet -R -J -T -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -c isolinux/boot.cat -b ...
-1
votes
1answer
19 views

how to replace a specific pattern from all files [duplicate]

suppose I want to replace abc with xyz in all files in a directory. How do I write a script for this ?
3
votes
7answers
169 views

Rows to column conversion of file

Suppose I have a file: File1: PAPER TEAM MANISH NISHA GARIMA JYOUTI ........etc File2 I want: PAPER TEAM MANISH NISHA GARIMA JYOUTI Rows to column conversion of File1.

15 30 50 per page