0
votes
0answers
4 views

strange results from investigating a reboot in auth.log

My Ubuntu 14.04 server is hosted on a well-known cloud provider. I noticed today something that usually makes my heart stop: user@myserver123:/var/log$ screen -ls No Sockets found in ...
1
vote
0answers
7 views

Help me repair my python - I think dpkg has to be reset (very tricky issue)

first question in Unix & Linux - I really hope, someone can help... Summary (TL;DR) On my Kubuntu 14.4 (which has python 2.7.6 as standard) my python is broken after I tried to install python ...
0
votes
0answers
4 views

compute nodes' time and date

I want to set a job an compute nodes but I chacked and see time and date of compute nodes are not sync with the head nodes. Head node shows: Wed Jul 22 16:57:32 PDT 2015 node 2 shows: Wed Jul 22 ...
1
vote
2answers
14 views

Find and move directory to a new directory based on name

I would like to move all the folders contained in the folder "/example" named e.g. "*_jony" to a new directory call "/jony". I have try several way without success! It would be great to have some ...
0
votes
0answers
14 views

How do i insert a character at the beginning of each line of a paragraph that contains string

Sort of different request here, but i have a text file in which i need to place a @ character at the beginning of each paragraph (paragraphs=separated by blank lines) that contains a certain search ...
0
votes
0answers
3 views

Adobe Experience Manager Author Server running maximum CPU

Adobe Experience Manager Author Server running maximum CPU I have an adobe experience manager author server which is using 100% CPU. When I check the online sources and documentation, I was asked to ...
0
votes
0answers
13 views

What is the folder “.10117”?

I just installed Linux Mint 17.1 on a 32 GB SSD, and 9.9 GB are occupied by the folder ".10117". I'm wondering what it is, because unless it's crucial, I really need that space. Inside of it are two ...
0
votes
0answers
18 views

Installation Bash Files

When Linux is installed, (I assume) a bash script is used to mount the drive, install packages, etc. etc. If I wanted to install more packages upon installation, what directory would the script to ...
1
vote
2answers
10 views

How to replace value for a given condition in specific column of file

I have file separetd by pipe | and I want that when column 6 contain letter I print 0758000 in column 7 and when the column 6 contain letter A print 0800000 in column 7, I can not find how to do it!!! ...
0
votes
0answers
7 views

WGET Continue without --no-check-certificate

I'm using wget to check if several boxes have access to other servers. The problem is sometimes the servers attempt to self-sign and the script hangs when this happens. It simply stops on the line ...
0
votes
0answers
7 views

Korn Shell script to check if a folder and file exists and print that to a csv file

i am new to unix. I want a Korn Shell script to check if a folder and file exists and print that to a csv file Regards gani
0
votes
2answers
9 views

KeepAliveD Documentation

I am looking for a consolidated documentation for KeepAlieD. My apologies if this is not the right place to ask this question. However, even after extensive googling for 2 days, i could not find a ...
2
votes
1answer
35 views

Grep on single line

I have a script that streams a pattern in a single line (no linebreaks). I want to grep stock_ticker in that line and output it as soon as I have found one. Now the script is never ending and is ...
0
votes
1answer
19 views

Is it possible to delay booting the system after the user has pressed the power button?

I want to delay the time after the user has pressed the power button by 10 seconds. Reasons for this is a specific machine we have built which requires other components to start sending data to the ...
-3
votes
0answers
7 views

Error run ruby on metasploit [on hold]

Ihave error in metasploit on iphone ruby : no such file or directory -- /pentest/exploits/framework3/msfpayload (loaderror).
1
vote
1answer
8 views

Warnings when opening programs via Python subprocess calls

I am attempting to open an image and a text file that my Python (3.3.2) program is creating (the files are created without issue). The last two lines of the program are: subprocess.call(['leafpad', ...
2
votes
1answer
23 views

Dynamic Variable in KornShell Script

This KornShell Script (ksh): envir=Dev eval "${envir}foo=bar" echo "$Devfoo" Output: bar But I will not know what value is assigned to envir variable. So I want to do something like this where ...
0
votes
1answer
32 views

Bash : rewriting a file which is read in same line

I'm working on a bash script for partially automating router connection in command line. I'm a newbie in Bash. This is part where I have a problem: #!/bin/bash STRING2="ESSID" MYPWD=$(pwd) sudo ...
-1
votes
0answers
8 views

Connecting to company's Internet and VPN from OpenSuSe commandline(Zabbix appliance)

I have a Zabbix opensuse appliance running inside a virtualbox in a windows host.now for testing the appliance I need to connect to company's internet(which uses a authentication server with username ...
0
votes
0answers
22 views

apt-get error installing software on Parrot OS

I am trying to install Evolution Email client but when I run "sudo apt-get install evolution" I get the following errors: "Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
16 views

Extract source commands of an existing gnome terminal session?

I have a bit of a situation. One of my co-workers just overwrote everyone's bashrc and bash_profile files. My custom settings have been lost. However, I still have a terminal open which sourced my own ...
2
votes
3answers
68 views

copy from file and paste in the terminal without x server

I have got an ubuntu linux without x server installed on it (cos it's only a gateway). I am requested by an application (ossec,-my question is not ossec related-) to paste information into the ...
0
votes
1answer
9 views

Permanently mount - Reboot currently stops

I am currently mounting my server using the following command. mount ip.ip.ip.ip:/home/backups /mnt/backups/ Every time the server reboots I have to add it again manually. How can I Permanently ...
0
votes
0answers
6 views

Openssl support for ruby not found in passenger installation on redhat 6

I have openssl 1.0.1e-42.el6 already installed. Also tried to compile openssl from ext/openssl directory which failed with below error ossl_pkey_ec.c:815: error: ‘EC_GROUP_new_curve_GF2m’ undeclared ...
0
votes
0answers
5 views

How to set user creation limit on vtiger CRM?

I have installed vtiger latest version. In the admin panel how to set the user creation limit? I need to set maximum users = 10.
0
votes
0answers
9 views

MInt 17.2, Enable Icon display for root desktop? Eg Home, Computer,etc

I'm new to Mint, but not to Linux. Is it possible to enable icon display for the root desktop? I tried the System Settings > Desktop config utility, but that doesn't display the icons. Is there a ...
0
votes
0answers
10 views

connman giving me errors I have no real idea how to fix

Connman is no longer working as it should, it does not allow me to set the check box in its gui-icon in systray to turn on the wifi so it shows all of my options in what's available in wifi ...
0
votes
0answers
10 views

Building RPM results in nothing generated in RPMS directory

I am building a RPM on RHEL. After following https://fedoraproject.org/wiki/How_to_create_an_RPM_package, I put my front.tar.gz in /rpmbuild/SOURCES, and make the spec file like this: Name: front ...
0
votes
2answers
17 views

Uboot pass arguments to kernel!

How uboot can pass command line argument to kernel? I did some googling and got to know that it uses bootargs environment variable.There it was mentioned that setenv bootargs key=value.Since I am ...
0
votes
0answers
3 views

Double width 2D content when using the (proprietary) nvidia driver with Intel graphics in dual monitor setup

I've been going around this for ages and can't seem to get it working under Ubuntu. I have a Dell Latitude E6420 with integrated Intel/Nvidia graphics. I can use each monitor independently or connect ...
0
votes
1answer
24 views

Linux 'make' command fails after installing ruby and gems for biopieces

We wanted to try the biopieces tools, which require certain dependencies, such as ruby and perl, a.o. After running the installers, and consequently some ruby gems, we were not able to run our regular ...
0
votes
0answers
7 views

Configure debian ddclient with dyndns noip.com

I'm having trouble to configure debian jessie as noip.com updater. My config looks like this: # Configuration file for ddclient generated by debconf # # /etc/ddclient.conf use=web ...
0
votes
0answers
11 views

Error 550 No Such User Here when sending mail to postfix server from certain servers

So, I've been doing a lot of Googling and researching, and I can't wrap my head around this. I set up a mail server using iRedMail. I'm not an incompetent Linux user, but I'm not experienced in the ...
1
vote
1answer
17 views

service stop doesn't run the exit/cleanup part

This is a sleeping service, import time bufsize = 0 f = open("/home/user/sleep-log", "w", bufsize) try: f.write("going for a deep sleep......") time.sleep( 1000000000) except: import traceback; ...
0
votes
1answer
37 views

Does dd copy everything, including all metadata and all “empty” blocks

Suddenly something was messed up with my partitions, or just one partition. I have a default Ubuntu installation, on a Kingston SSD, with the root file system encrypted with LUKS, (using AES I think). ...
0
votes
1answer
15 views

Recompile kernel without modules that are not currently in use

Is there a neat way of stripping the Linux kernel to only support the devices that are currently in use. After NVIDIA complaining about GCC version mismatch, I decided to recompile the kernel with the ...
-4
votes
0answers
21 views

arch considerations - desktop environment questions

I am considering making a switch from Ubuntu to arch, as my main distro of choice! But I am struggling to decide on a desktop environment. There are some things I like about all of them, but so far I ...
0
votes
0answers
8 views

Software to play videos in a different screen without showing desktop environment and cursor interactions

I'm editing videos for a live music event. There's a video for each song. I'll have a projector and each song will have a video playing in a big screen behind the artists. I have the length for each ...
1
vote
1answer
23 views

gnuplot precision

I want to make a scatterplot with Gnuplot of these data (1st column as x-coordinates): 2015.493379 5 2015.505479 5 2015.513699 25 2015.530137 25 2015.532877 20 2015.543836 5 2015.552055 5 ...
0
votes
1answer
10 views

ispconfig PHP not parsing on apache2 virtual host

I have trouble installing ispconfig 3 on my (L)Ubuntu 15.04. I can fully install ispconfig but I can't reach the website when viewing the virtual host of apache2. I can open ispconfig from ...
3
votes
1answer
27 views

How to find out what caused lag/freeze and self-reboot?

Xubuntu 14.04 FF 39.0, packaged by Canonical I just experienced my machine practically freeze up and not reacting not any input. The mouse pointer moved like 2 mm every 20 seconds and my CPU load ...
3
votes
1answer
282 views

Add 30 days in date

Using bash or mysql , how can I add 30 days in user expiry table? Example I have DB name USERS and table expiry like this: USERNAME EXPIRATION JOHN 2015-09-26 I want the command to take ...
2
votes
2answers
212 views

How to copy and add prefix to file names in one step?

I want to copy and rename multiple c source files in a directory. I can copy like this: $ cp *.c $OTHERDIR But I want to give a prefix to all the file names: file.c --> old#file.c How can I ...
0
votes
1answer
8 views

tmux force resize window

I usually connect to remote linux servers from a specific windows server (W1). On the windows side, I use putty and on the linux side, I start tmux. Occasionally, I have to use a Different windows ...
-3
votes
0answers
13 views

how to connect to internet in kali-linux?

hi I've installed kali linux in my hard disk the Ethernet is connected to port the wired connection is showing in my kali network manager but i'm unable to connect to internet. it is automatically ...
0
votes
0answers
19 views

Sending data from rs232

I'm trying to write a loopback test with pins 2 and 3 connected. I am using Ubuntu OS and java for the code. The library that I'm working with is JSSC. I am able to read and write from the serial ...
0
votes
2answers
35 views

How to find all .zip and .rar files recursively and sort them by size [duplicate]

I am looking for all .zip and .rar files in comp_tuts folder and I am intersted in showing their file sizes and sorting them from biggest to smallest. I have tried ls -R *.zip ls: cannot access ...
3
votes
6answers
233 views

Grep the text which matches with a pattern

I was looking for a command which will print the selected portion of a line which matches the conditions. Eg, my text line is like this: p1=X||p2=Y||p3=X||p4=X||p5=X||p6=Y||p7=X I want to print ...
1
vote
1answer
61 views

Execute sh with parameters in bash

Hello I am newbie in bash and I am coding a daemon to execute a service. The syntax is ./ctlscript.sh start. When I execute service openproject start it should run this command, but it runs ...
0
votes
1answer
10 views

Watchdog daemon doesn't start at boot

I'm using a Raspberry Pi B, with Raspbian. After upgrading to Jessie, watchdog daemon doesn't start at boot anymore. Starting it manually using "sudo service watchdog start" does work. I tried: ...

15 30 50 per page