1
vote
1answer
28 views

What is the most Unix-y way to handle stdout for a backup command that might fail?

I am writing a utility/script (in Python, as it happens) to run on Linux, which backs up data from a remote server, and outputs to stdout. At the moment, I run this script on the hour from cron, and ...
0
votes
0answers
3 views

showing chagelist of downstream jobs into top level master job

I have a multi job in which top level multi job starts downstream job which do checkout from cvs.How to show changelist(changelog.xml) of this downstream jobs into top level project,so i can view all ...
1
vote
1answer
36 views

split line based on space and delete the second part

I have a big file >fid|29290408|locus|VBIEntCas2262_0001| Phosphoglycolate phosphatase (EC 3.1.3.18) [Enterococcus casseliflavus EC20] ...
0
votes
0answers
10 views

put second instance of mysql in autostart

System: Debian GNU/Linux 6.0.10 I have two instances of MySQL running on my Server. The default one is (probably) already set in autostart, since there are some files in the /etc/rc.X named S03mysql ...
1
vote
2answers
50 views

Copy the first 2 lines from a file and then remove the lines

I need to process a file using a shell script. The file arrives with the data as well as some embedded information releavant to how it is processed. The file is in the following format; ...
1
vote
1answer
19 views

Move multiple folders from one subversion repository to another subversion repository

Moving multiple folders from one subversion repository to another subversion repository I've a centOS 6.4 server and with subversion 1.4.2 installed. I've two subversion repositories in my server. ...
6
votes
1answer
374 views

Restarting init without restarting the system

In this question on security SE, the accepted answers states that For example, /sbin/init uses glibc [the vulnerable lib], and restarting that without a reboot is non-trivial. Now, non-trivial ...
0
votes
1answer
12 views

Using lftp with ssh-agent

I have a script that logs into sftp server eval `ssh-agent -s` ssh-add /home/<username>/.ssh/id_rsa sftp <username>@<target> This works, but I would like to get only files that ...
0
votes
1answer
11 views

mysql high availablity for LAMP application (ubuntu 14.04)

im trying to achieve HIGH Availability (HA) for a LAMP application(News Portal website) which might be of interest to many unfamiliar users.For files im using Glusterfs (replica) for redundancy ...
0
votes
1answer
28 views

Trying to install rpm package in Fedora 21, but dependency on OpenJDK 7 results in errors

I am running Fedora 21 32bit workstation version. Trying to install iris-4.22.0-1.noarch.rpm: [itse@localhost Downloads]$ sudo yum install iris-4.22.0-1.noarch.rpm [sudo] password for itse: Loaded ...
3
votes
5answers
163 views

How to replace only the third occurrence of the file in unix using only sed command?

How to replace the third occurrence of the string in the file using sed command. Example: Change only the third occurrence of is to us in the file. My input file contains: hai this is linux. hai ...
2
votes
1answer
18 views

Strange characters in GIT completion

I'm running bash GNU bash, version 4.3.25(1)-release (x86_64-apple-darwin13.4.0) on OS X 10.10.1. A week or so ago I've noticed that autocompletion has stopped working, but only for git. I'm ...
1
vote
1answer
25 views

Broken git autocompletion after I have overridden the git command

Recently git branch <tab> started showing me the following error: $ git branch bash: -c: line 0: syntax error near unexpected token `(' bash: -c: line 0: `/usr/bin/git --git-dir=.git ...
0
votes
1answer
24 views

How install Google Chrome on Scientific Linux?

Is there a way to install and use Google Chrome on a Scientific Linux machine?
0
votes
0answers
8 views

How to find out the when Jboss instance was down and when it was UP?

How to find out the when Jboss instance was down and when it was UP?
1
vote
0answers
10 views

Finding out the script causing MySQL failed connections

I see lot of lines in mysql.log Connect Access denied for user 'M'@'localhost' (using password: NO) I am sure I don't have such a user on my system. I need to figure out what script is ...
0
votes
0answers
25 views

Debian boot freeze (hard lockup)

I'm using debian sid and during two years i watch the same problem. When I boot from grub my system on the screen appears follow text: Linux kernel in decompress level...Parsing elf and then freeze ...
0
votes
0answers
6 views

How to restore window manager / activities taskbar in Debian running under parallels?

I'm running Debian (Wheezy) under parallels (OSX Mavericks). Every now and then, the task bar (GNOME) in Debian crashes and disappears! (The bar on the top of the screen that shows the time, and ...
0
votes
1answer
25 views

Error while running script with nohup

I got this error while running my script with nohup sh: syntax error near unexpected token `(' My script is as follow: #!/bin/bash report_log="report.log"; grep -A 3 'successful\|ERROR COUNT ...
1
vote
0answers
3 views

Notion wm independent workspaces

Does anyone know how to configure the Notion WM (fork of ion3) to have workspace switching spearate for each monitor while still be able to move windows between monitors. That is I want to be able to ...
-5
votes
1answer
35 views

Bash history for specific user? [on hold]

Please provide bash history particular user linux command? (or) How to verify the bash history particular users in linux?
0
votes
0answers
58 views

Unable to install anything using apt

I was trying to install an earlier gcc and g++ (4.6.3) for compatibility reasons and now apt seems to be broken. It appears that apt-get install behaves like this for everything, not just dpkg: ...
1
vote
1answer
19 views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and ...
-2
votes
0answers
22 views

a windows manager does not interface with X Window System [on hold]

i want to get the most out of my hand me down Lenovo Thinkpad. in particular i want a fast and light desktop environment. so i was thinking of ditching X Window System altogether. i've chosen Wayland ...
2
votes
2answers
40 views

Can you make a process pool with shell scripts?

Say I have a great number of jobs (dozens or hundreds) that need doing, but they're CPU intensive and only a few can be run at once. Is there an easy way to run X jobs at once and start a new one ...
0
votes
0answers
18 views

What are the packages in pkgsrc that's equivalent to rmtrash and autojump in homebrew, respectively?

On Mac OS X, what's the package in pkgsrc that's equivalent to rmtrash and autojump in Homebrew? http://brewformulas.org/Rmtrash http://brewformulas.org/Autojump I just switched to pkgsrc from ...
-1
votes
1answer
24 views

multiple input in a awk file

Please guide me to get out of it. Thanks in advance. I am having a situation that I have to write a awk script which takes the input of two .out files and generate a single .txt file. $ cat ...
0
votes
0answers
15 views

How to install BPG (Better Portable Graphics) on Linux Mint 17?

How do I install BPG (Better Portable Graphics) on Linux Mint 17? I downloaded the tar.gz file from Fabrice Bellard's website. The ReadMe file says, Edit the Makefile to change the compile ...
0
votes
2answers
26 views

Root to the Minimal

I am building a script to automate and minimize access to root. I am going to try do it via SSH. I am currently having an issue using sed to replace UID and GID 0 shell to /sbin/nologin. Why am I ...
0
votes
1answer
14 views

Compiling Apache 2.4.10 32bit on Solaris sun sparc 10 64bit

I want to compile Apache 2.4 as 32 bit on Solaris 10 64 bit OS. I have gcc installed and I have packages of apr, Apr-util, pcre and open SSL with me. How do I compile it as 32 bit so as to get ...
0
votes
0answers
14 views

How to assign variable value to constant in perl? [migrated]

I have following code #!/usr/bin/perl -w use warnings; use constant ARRAY => "XCC320G"; print ARRAY; print "Enter ur choice\n"; chomp($choice = <STDIN>); ARRAY=>$choice; print ARRAY; ...
0
votes
0answers
10 views

Apr-util showing error 139 segmentation error for testxml

I am installing Apache 2.4.10 on Solaris sun sparc 10 64bit and when I compile Apr-util along with apr, during make test, it is showing some segmentation error, error code 139 for testxml. I have ...
2
votes
0answers
10 views

How can the RES memory reported for a Java process be higher than the VIRT memory?

I've been monitoring a Java process (Oracle Weblogic) using TOP and have observed that sometimes the following will happen: RES will increase from it's usual stable level of 2,097,152 KB up to ...
-1
votes
1answer
43 views

Linux command error : not working in cmd prompt

I'm a newbie to Linux. I have encountered an error when working with Cygwin and cmd prompt in Windows. I posted the snapshots. I'm trying to use carat ^ to find the info that begin with K. But getting ...
0
votes
0answers
20 views

Linux RPC - security options

I am reading about Linux RPC at this link. I want to ask, in comparison to Linux IPC (like system V IPC), where the recipient of the interaction can configure allowed access using Linux DAC, what ...
1
vote
3answers
46 views

Display distinct values of a list and number of occurences

I have a program that writes on the standard output a list of string values, one per line, and I would like to display in real time the list of distinct values along with the number of occurences for ...
0
votes
0answers
3 views

Mouse pause with dual video cards [on hold]

Every minute or two (random but regular interval) the mouse will pause for 0.25-2 seconds. This only happens when the head on the second video card is enabled. When the mouse unfreezes, top will ...
2
votes
1answer
8 views

CInt Configure Script: Syntax error at left parenthesis

I am trying to install CInt. When running ./configure, I get the following error: ./configure: 23: ./configure: Syntax error: "(" unexpected Here is the relevant section of configure: # configure ...
0
votes
0answers
11 views

How to use tshark or tcpdump to calculate bytes transmitted

I am using this command with tshark: tshark -r pcapfile "tcp and ip.src==192.168.1.1" -T text -V -x | grep 'Total Length' This essentially parses the pcap for only connections from the source ip and ...
0
votes
0answers
22 views

Cant change screen resolution in Kali Linux [on hold]

So I bought a brand new laptop, I bought a Lenovo Y50. It runs a Nvidia GEFORCE GTX. I installed Kali linux on the HDD and the screen is to large and does not fit on the actual computer screen. ...
-1
votes
0answers
2 views

gvpe connection lost

I created simple configuration for gvpe vpn software using man page . But constantly get a log. to syslog. Why do I get a log?
2
votes
1answer
42 views

How do I securely download files in shell scripting?

I am writing some shell scripts to automatically download software packages off my server and set them up on customer servers. At some point within the script, the download command is wget ...
1
vote
0answers
6 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
1
vote
2answers
40 views

script that lists all files in a directory and subdirectories sorted by size, listing only file names not complete paths

I'm looking for a script that lists all files in a directory and subdirectories sorted by size, listing only file names not complete paths. find . -type f -exec ls -lhS {} \+ works but gives the ...
1
vote
0answers
12 views

LVM issues and questions

I've got a NAS configured with LVM where one of the volumes is giving errors like this: vgscan reading all physical volumes. This may take a while... /dev/ElkhornC7VG1/idisk5: read failed ...
1
vote
1answer
16 views

I try to install something, telling me to add -r flag, I do and still tells me to

when I try to install Pocketmine, It tells me to add the -r flag, i do, still tells me the same thing, picture.
0
votes
3answers
69 views

How do I detect running processes using a library package?

This command is doing the rounds for detecting currently running processes using glibc: lsof | grep libc | awk '{print $2}' | sort | uniq I find it intensely annoying, since /libc/ matches not only ...
1
vote
1answer
25 views

How to zip only files under multiple subdirectories?

I have a folder working and its structure is something like this - working/ 100/ 1/ 2/ 3/ 200/ 1/ 2/ 3/ 300/ 1/ 2/ 3/ And each of these 1 ...
0
votes
1answer
24 views

is there a way to see a listing of packages ONLY from Debian-experimental?

I am on Debian testing/Jessie and I have debian-experimental as well as in my /etc/apt/sources.list. So I am looking to list packages in two ways :- a. List all the packages which are in ...
0
votes
0answers
27 views

Does Linux use Byte Order Mark? [on hold]

I just can't find any information about that, does Linux use Byte Order Mark (BOM)?

15 30 50 per page