General :: How To Stop Bash From Printing Alerts

Feb 17, 2010

When killing a process with kill -9 $PID &>/dev/null in a script, a message is still printed to the terminal after the next command terminates.

View 3 Replies


ADVERTISEMENT

Hardware :: Continuos Printing - Stop Ejecting The Paper After Printing Over?

Jul 28, 2010

We developed qt based application in linux. I wish to stop ejecting the paper after printing over.How to do it.

View 2 Replies View Related

General :: How To Stop Form Feeding After Printing

Aug 17, 2010

I have developed an application in Qt.I want to print my text(for e.g "hello") using Qprinter and stop the printer.The text printer but i dont want form feeding after printing.

View 1 Replies View Related

Programming :: Bash: Printing The Line Number In Bash Script?

Feb 4, 2011

I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any errors happen I just exit. And I would like to add the line # of the script where the error happened.

View 3 Replies View Related

General :: Bash Scripting / A Command That Can Stop Others?

Mar 31, 2010

i would like to ask something very simple i hope for most off you but i couldn't find anything in other questions so specific...

So...i need a command to stop another command.

more specific i have to run airodump-ng and i want this command to stop after some seconds (or minutes) automatically....

View 6 Replies View Related

General :: Bash - Catch Or Stop A Shut Down From The Terminal?

Sep 12, 2011

Is there a way to catch or stop a Linux shut down after a reboot, halt or shutdown command has been entered?sudo shutdown -r +10 I should now have 10 minutes before the computer shuts down. If I change my mind and decide that I still want to continue running, how could I stop the shut down?

View 1 Replies View Related

Ubuntu :: Stop A Printer From Printing?

Jul 2, 2010

How do I stop a printer from printing? Here's what happened- I started to print some PDF stuff and then changed my mind. The printing job hadn't finished so I just clicked on the printer icon and selected QUIT. Well, of course that didn't work so I just turned the printer off......same result- when I turn the printer back on it keeps on printing the same stuff. How do I stop the printer from continuing and delete all print jobs?

View 2 Replies View Related

Ubuntu :: How To Stop Printing Cover Page

Sep 27, 2010

I have a HP printer connected to Ubuntu 10.04. Just recently I noticed that when I print something it also prints a cover page with some info about print job. Does anyone know how to stop printing the cover page? This is a serious waste of paper.

View 1 Replies View Related

Debian Multimedia :: Stop Evolution Printing Attachments

Mar 11, 2015

Is there anyway to get evolution to not automatically print email attachments?

View 2 Replies View Related

Software :: How To Stop Services Printing Messages To Terminal

Jan 6, 2011

Every now and then on my non-graphical console-orientated Debian Squeeze system, some services see it fit to spill their juices all over what I am doing.

A message about a service stopping/starting/restarting prints at the location of my cursor ontop of whatever I was doing at that moment, forcing me to either redraw ( if the currently running application supports it ), background and then foreground what I'm doing or clear the screen if at the shell.

Code:
* Restarting OpenBSD Secure Shell server sshd
* Restarting advanced system logger rsyslogd
How can I stop these messages appearing? Even better would be to send them to /dev/tty8 where I've configured rsyslogd to write.

View 2 Replies View Related

General :: Printing From Bash Shell / Concatenate Files Into One File With File Names Included?

May 11, 2011

I am supposed to take some small files, and print them to a specific printer, such that the small files are concatenated into one file. The file name has to be included in the file that gets printed.

Should I be looking to concatenate the files into one file with the file names included, and then print them?

something like: -printfunction -printername < file*

View 7 Replies View Related

Hardware :: How To Stop Annoying Pop-up Messages About Installing Task-Printing-Server

Aug 15, 2010

Mandriva-2009.1 tries to install a package called Task-Printing-Server every time I power up my PSC-1401 All-In-One (multifunction) printer. This is very annoying & I want to stop these pop-up messages.This printer uses the hplip package (PSC_1400.ppd for printing & hpaio for scanning) & everything works fine except for those annoying pop-up messages.

View 2 Replies View Related

Ubuntu :: Printing In Colour From Bash Script?

Jan 5, 2010

I have an EPSON RX620, it works just fine in Ubuntu and I can redirect text to "lp" and it also prints just fine, but in black only.Are there any utilities I can use to print text in different colours from a bash script?Do I need to insert escape characters or pipe through another program?

View 9 Replies View Related

Programming :: Bash:Printing The Line Number In Script?

Feb 4, 2011

I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any errors happen I just exit. And I would like to add the line # of the script where the error happened.

View 2 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related

General :: Firefox: How To Disable Exit Alerts

Feb 3, 2010

Sometimes the website will show an alert box akin to "Are you sure you want to leave?" when you try to leave the site. Is it possible to disable this from happening, without using something like the NoScript extension?

View 3 Replies View Related

General :: Configure Email Alerts For Nagios

Mar 2, 2011

I have installed nagios in centos and its working fine.

I need to configure email alerts for nagios.

I have already configured nagios to send email alerts for warning,critical and recovery for 24/7.

1) i need to configure nagios to send email alerts twice a day

a) morning at 8am
b) evening at 6pm

2)i need nagios to send email alerts only "current status" of the host and services twice a day (morning and evening).

View 4 Replies View Related

General :: Raid - Setup MegaRAID Email Alerts?

Apr 26, 2011

I have Ubuntu 10.04 and MegaRAID controller. The only tool I have is the notorious MegaCli. I need to be emailed when some disk has failed in the RAID array. How to set that up?

View 3 Replies View Related

General :: Using Custom SMTP With Authentication For Email Alerts By Standard Tools?

Sep 20, 2010

I'm trying to set up a tool that emails me periodically (in my case, psad). It allows by default to define just a destination email for reports. Is there a general way to get this or similar tools to use a non-default SMTP server, with TLS? (e.g. gmail's SMTP)

View 1 Replies View Related

Programming :: Bash Step Incremental Loop To Stop On Each Increment?

Jul 17, 2011

How do I get this loop to stop on each increment? This script does work but I would like it to stop at each increment, remember what the value of $n is, then continue until it gets to 7. I have worked so hard on this. My brain is hurting now.

[Code]...

View 2 Replies View Related

Ubuntu :: BASH Script - How To Stop Loading Files At Arbitrary Number

Aug 9, 2010

I have the following code in bash script:
Code:
#!/bin/bash
COUNT=1
# bash until loop
until [$COUNT -gt 2]; do
pq A$COUNT [Pemptus].pq &
let COUNT=COUNT+1
done

I did this because I'm that much of a Progress Quest geek that I wanted to have a huge group on the online server, so I decided to make a script that would open all the files for me rather than having me do it manually. I created some characters with the boring name of A1, A2, etc. When I ran the above script, it went into a continuous loop and I had to halt it, then run sudo killall pq.exe to eliminate the 500 or so Progress Quest windows that popped open. Anyway, what is wrong with my script that I can't seem to get it to stop loading files at an arbitrary number? I want to get this part finished before I make any more boring named characters.

View 1 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

Ubuntu :: Printing With Exact Size Photos And With Poor Auto Colour Printing But The Situation Remains Unchanged

May 31, 2010

I expected more from ubuntu 10.4 with regards to printing with exact size photos and with poor auto colour printing but the situation remains unchanged! for instance .. the photo size configurations for ubuntu/fspot/gimp and others are not compatible with my printers (HP and Brother) .. here in Europe a typical standard size photo (10x15inches or 150x100mm are not even on the Ubuntu listing? I have tried all listed possibilities including "custom" (which does not seem to ever work correctly?)and the result at best is photos with uneven boarders or at worse my printer goes a bit crazy with much wasted photo paper and expensive ink ...even photos selected for "no boarders" still produces photos with the self same uneven boarders.

I have tried pretty much everything over time following advice in this forum and including using HPlip and updating drivers required for my Brother printer but the root problem seemingly lies with the Ubunto photo size setup listing. Working with Ubuntu over the years I have found that it can do pretty much everything that Windows can do except for this dam ongoing photo quality and configuration problem.

View 9 Replies View Related

General :: Write A Literal Bash Command In A Bash File?

Nov 29, 2010

I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:

Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END

[code]...

View 6 Replies View Related

General :: Running Bash But Common Bash Commands Not Working?

Jul 17, 2010

below are the details of my system. I have bash as my current shell, some really common commands aren't working.

Do I need to do a re-installation of bash? Or how do I install a selection of bash commands which I need? (for example a subset of [URL])

Code:
root@sdptfw:~ # uname -a
Linux sdptfw.sdpt.co.za 2.4.36 #1 Tue Jul 22 13:13:24 GMT 2008 i686 i686 i386 GNU/Linux
root@sdptfw:~ # echo $SHELL$
/bin/bash$

[Code]....

View 13 Replies View Related

Server :: Nagios Alerts Via SMS ?

Mar 30, 2011

How can recive nagios alerts via SMS,via SMS gateway XML API.

I have a sms gateway xml api & had writte a script in perl

NAGIOS SETUP

Can I have to install gateway module

View 10 Replies View Related

Ubuntu :: Low Volume On Empathy Alerts

Jun 22, 2010

I'm relatively new to ubuntu and linux and for convenience I choose to surrender to the "ME" set-up by ubuntu, when it comes to using Empathy over my preferred Pidgin (I still use Thunderbird though without integration). The thing that annoys me is that the alert sounds, when I get chat massages and so on, are really low! Lot's of times I missed chats from friends because I didn't hear them. I've looked on the internet and I've tried different sound settings in the main preferences, but nothing. How to turn up the alert volume for Empathy?

View 1 Replies View Related

Ubuntu :: Conky - Get Weather Alerts Using Rss?

Jan 17, 2011

How to get weather alerts with conky.

I'm using the following bit of code:

This (correctly) display a message to the effect "There are no weather alerts for ...." when there are no weather alerts. However, when there is an alert, it simply displays a message like "Short-term forecast for ..." with no further information.

How are other people getting weather alert info in their conkys?

View 8 Replies View Related

Software :: Nagios Alerts Are Not Working?

Mar 12, 2010

I have configured Nagios on SLES 10 SP2. I could configure nagios but 2 things are not working correctly.

1.It doesnt show correct disk utilization for /local partition.
2.It doesnt send Alerts.

I have installed NAGIOS (nagios-3.2.0-11.1, nagios-plugins-1.4.14-11.1 and few other which are required to remove dependency) on server and I have installed nagios (nagios-plugins-1.4.14-11.1, nagios-nrpe-client-2.12-11.1 and few other packages to remove dependency) on client.

Configuration files from NAGIOS server: nagios.cfg (Since this file is big, I have copied the relevant portion only. Let me know if any specific info is required from this file)=>

log_file=/var/log/nagios/nagios.log
cfg_file=/etc/nagios/objects/commands.cfg
cfg_file=/etc/nagios/objects/contacts.cfg
cfg_file=/etc/nagios/objects/contactgroups.cfg
cfg_file=/etc/nagios/objects/timeperiods.cfg

[Code].....

View 2 Replies View Related

Red Hat :: No New Mail Alerts For Non-root Users?

Mar 3, 2011

I'm seeing a problem on RHEL5, whereby all users can receive mail (/var/spool/mail/<user>), but only root gets a new mail alert when logging in.

The relevant bash variables ($MAIL, $MAILCHECK) seem to be set for all users.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved