I am ssh-ing on to over a thousand boxes to run an "at" job and from my testing, whatever i do it seems to send a mail to root. i want to figure out a way that this mail will not be sent to roots mailbox
generally with a cron job i can define this in the crontab
and no mail will get sent
but im not sure how it works with at
the script i am running (from a central box) is as follows
which runs the at job just fine, but i still get a root mail on all of the boxes listed in /data/list-of-servers
does anybody know an easy way to stop the root mail ?
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hello unix forum !
how do i get rid of this while thing ? if started some where by crontab for example.
while ; do ./script > /dev/null ; done &
or for example if in terminal
while ; do ./script ; done &
and the script is outputing and I can't write commands. other... (2 Replies)
Imagine a user-defined function.
func() { /usr/pkg/bin/program long-string-of-switches-and-configs "$@" ;}
I execute it once. Then background it.
I execute another instance. Then bg it.
func unique-user-input
^Z
func unique-user-input
^Z
First I view with ps
ps wwaux
... (0 Replies)
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
HI,
I am learning the basics of UNIX on my Mac OS X system but whenever I type the "jobs" command I just get the prompt again, with no output. Regardless of how many programmes or activities are processing.
Any ideas? (4 Replies)