Ubuntu :: Send Notification To Every Terminal Opened?
Nov 30, 2010
I am using pine as email client for a while, and I noticed that if I got a new email, all terminal opened will show a notification if you type any command.
I just wondering is there any tool/command I can customize my own notification like this and work combine with crontab?
I search google for a little bit, no useful clue so far?
Here I've sort a problem, dealing with swatch.I wonder why my swatch configuration can't sending an email notification to my mail, which I mean to sent the output file into email.Swatch running like a charm on my system and success to give the log files for the file that swatch monitoring..here's my output
Code: root@ubuntusecurity:/home/andrewraharjo# swatch -c /root/.swatchrc -t /var/log/auth.log *** swatch version 3.2.3 (pid:6773) started at Mon Nov 29 19:33:39 WIT 2010
How to set crontab not send mail notification to the owner script if the script success running? because I'm monitoring mail server, and notification from cron is not necessary for me. I'm using ubuntu 10.04 server
I have installed guake recently. The problem I am facing is its presence in all workspace.Is there any way to modify this behavior and show the guake terminal only in the workspace it opened first?
trying to setup smtp with gmail to send notification form my forum (phpbb3) actualy nothing work even mailx, does anyone have a tutorial to make this works
i am trying to send message through terminal with smbclient, i have searched the net and found this command
Code: smbclient -M <hostname> now i am confused on hostname, which i open the network folder i see to icons 1. is my laptop 2. Windows Network
when i enter Windows Network folder i see 2 more icons 1.MSHOME 2.WORKGROUP
and when i enter MSHOME folder i see one icon 1. MIRZA-SAAD this is the computer which has xp in it i want to send message to it with smbclient now how when i write this command i see this error
I typically use rm to delete files, but they don't end up in my trash folder in case I want to recover them. How do I make that happen and how do I access my trash folder via terminal? Doing me best to work from terminal rather than GUI and this one has me stumped. I am using Mint Julia.
I open up 2 xterms on my desktop, A(/dev/pts/0) and B(/dev/pts/1).I can write from A to B using redirection e.g. echo "test" > /dev/pts/1How do I run a command from A on B? e.g. "clear"Basically I'm putting the 2 terminals side by side, and using terminal B to display the contents of the current working directory, by running the following in A:export PROMPT_COMMAND="ls -a > /dev/pts/1"but this fills up the screen pretty fast. I was actually looking for a way to clear up the second terminal.
Have someone used Linux heartbeat to send email when the Slave server becomes the Master? I've read I can configure the MailTo under.
But I really don't know how to do it. I basically need my primary server to send an email when it becomes inactive and all the activities are manage by the secondary node.
In my continuing quest to live without X most of the time, I am trying to set up fetchmail and Mutt to get and send mail. I only want to be able to send and receive text based mail, and so far I am running into trouble with what I think should be pretty simple. For receiving my mail, I believe I only need to create a .fetchmailrc file in my home directory with the entry:
Code: poll [URL] protocol pop3 username "myusername" password "mypassword" But I get: 2 messages for myusername at mail.myISP.com (7965 octets). fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused. fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from wetumpka@mail.btopenworld.com and delivering to SMTP host localhost reading message myusername@pop-smtp.ISP.mail.fy5.b.yahoo.com:1 of 2 (2734 octets)fetchmail: Query status=10 (SMTP)
It appears to me that it is finding mail but does not know where to deliver it and is refused a connection to my machine. Also, I cannot figure out how to set up my SMTP for my ISP in Mutt to send mail. Can someone point me to a simple tutuorial on how to do these things. I really only want to do what you would with Thunderbird, but from the command line.
Is there a script I can use to send a command VIA terminal to wipe an entire machine of data? If for example there is an intrusion valuable data can be at risk, it would need to be erased.
Is there some way to send commands to another "pseudo terminal" or otherwise access one when the desktop environment has frozen to get a program there to save its data? (i.e. after logging in remotely) I tried "echoing" to "/dev/pts/X" (X = number) but that doesn't seem to work. It just displays whatever is echoed there -- it is not accepted as input.
I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.
I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.
" > logfile.txt : gives an error extra character after the "
2- logsave logfile.txt 'send "show command;
" ': error invalid command
3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only
4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?
This error message comes out saying, " No application suitable for automatic installation is available for handling this kind of file." I am trying to install a wireless antenna for my other computer. Does anyone know what I should do?
im currently using ubuntu 9.10 in 30gb partition, when i open google chrome, netbeans, pidgin messenger and mysql it causes pc o freeze, which i has to shut down pc by cutting off electricity.
i have Starcraft 2 with wine, now when i first tried to play it, i upped the graphics, then it crashed. Now when i try to open it, it just crashes instantly - any words of advice on how i can get my starcraft 2 running?
I got a phenom II x4 3.2ghz gigabyte gtx 460 1gb and 2 gigs of ddr3 ram
I have this wma file that I want to play and I looked around and found alot of ways to make this happen. However, none has work for me. But first let me explain my problem. I have these wma files that just wont work but they worked once before. Now when I try to open the files all I get is some message that the file can not be opened. I have done many efforts to make it work including things like medibuntu. BTW, there was this once moment that when I tried to open the file it PLAYED! but then after it did not open.
I'm not 100% sure if this is the right spot for it, but I'm having trouble unzipping files. I've downloaded a good few fonts from dafont.com, from different authors and with different browsers and I still get errors. First I opened the .zip with Archive Manager
Code: 7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04 (locale=en_ZA.utf8,Utf16=on,HugeFiles=on,2 CPUs) Error: /media/42E6F8E2366C0906/Fonts/panhead.zip: Can not open file as archive Errors: 1
I then tried Code: ross@Ross-PC:~$ unzip /media/42E6F8E2366C0906/Fonts/panhead.zip and got this output Code: Archive: /media/42E6F8E2366C0906/Fonts/panhead.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: Cannot find zipfile directory in one of /media/42E6F8E2366C0906/Fonts/panhead.zip or /media/42E6F8E2366C0906/Fonts/panhead.zip.zip, and cannot find /media/42E6F8E2366C0906/Fonts/panhead.zip.ZIP, period.
I do have p7zip-full installed, but it isn't a .7zip file?
I'm running Ubuntu 9.10 and I installed Compiz Fusion but now the only thing I can open that has a title bar that I can move around is Google Chrome, everything else I open, even firefox, has no title bar and I cant move the boxes around the screen.