The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
3answers
2k views

stat command filesize reporting on busybox

I'm trying to write a shell script in busybox to check the filesize of a file. Having read that stat is more reliable then ls, I decided to use that, but somehow when using the following command: ...
1
vote
2answers
442 views

script to count the occurence of the particular string in the given time interval

We are trying to write a script "sendemail.sh" to count the number of occurrence of a particular string in a log file "SendEmail.log" within the given interval. We have a log file. In that we are ...
0
votes
1answer
78 views

rkhunter warning message /bin/sh

I'm running Ubuntu 10.04.4 LTS with fully update OS. The below messages is from rkhunter, What does it mean? Can anyone please explain. Warning: The file properties have changed: File: ...
0
votes
1answer
39 views

update all the servers through one virtual servers using Storage are network virtual machine

Using UBUNTU and Virtal Box by Oracle, and Using this script to start nginx in Virtual Box, and placing it in Virtual box inside~/init.d #!/bin/bash ### BEGIN INIT INFO # Provides: ...
5
votes
0answers
2k views

How do I enable XRandR in Xvfb or disable it in firefox when running firefox headless?

I am trying to start firefox headless. The following is the beginning of the shell script that starts it: #!/bin/sh Xvfb :99 >/dev/null 2>&1 & XVFB=$! sleep 3 firefox --display=:99 ...
1
vote
0answers
71 views

Hundreds of zombie sh processes spawn then die

I have a few Ubuntu Server 14.04.03 LTS boxes that will occasionally spawn hundreds of zombie sh processes. This process spike will be picked up by the monitoring system, and send an alert. I found ...
0
votes
0answers
36 views

Solaris 10 - after user shell change X won't start

I've created user with default shell bash, after some time I need to change default shell to /bin/sh (default Solaris 10 user shell) for practical reasons. After execution of command: usermod -s ...
0
votes
0answers
28 views

Why upstart starts my processes in an inconsistent way

I'm debugging a strange issue with upstart managed jobs. I have a ruby web application which is started using passenger and I generate upstart configuration files using foreman The problematic ...