02-03-2018
Quote:
Originally Posted by
RudiC
Sorry?
sorry to say
if we can reduce the URL length in same code we can achieve the result
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dears,
i have user called dellsh
i hope to make this script
when this user recieve email
check the budy of the email about (StatusRequest)
when i find this email contain this subject
run crontab do this job (create file in my home directory called index)
thanks for your attention (1 Reply)
Discussion started by: dellsh
1 Replies
2. Shell Programming and Scripting
hi all,
how do i email a file in the body of an email rather than as an attachment ??
have a ksh script which i need to read a file and email as part of the body rather than an attachment.
my code is :
uuencode file.log | mailx -s "test"
but this sends file as an attachment.
... (2 Replies)
Discussion started by: cesarNZ
2 Replies
3. Shell Programming and Scripting
Dear all-
I have a requirement to send an email via email with body content which looks something below-
Email body contents
--------------------
RequestType: Update
DateAcctOpened: 1/5/2010
Note that header information and data content should be normal text..
Please advice on... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies
4. Shell Programming and Scripting
Hi,
I am using mailx command to send an email and i took the body of the email from a file,
mailx -r gtt.org -s "Status Report " ss@org.com < $ProcessStatisticsFile
but now i want to declare the body of the email in the command itself.
I have tried with the following command but... (4 Replies)
Discussion started by: chinnu01
4 Replies
5. UNIX for Dummies Questions & Answers
Hi
I want to able to attach a file to a email and send it with a body
the body of the email is within the "body" file, and the attachment in "atch"
if i send like below it will send the email correctly
/usr/sbin/sendmail me@you.com< body
And when i send the attachment alone... (3 Replies)
Discussion started by: sridanu
3 Replies
6. Shell Programming and Scripting
I have a oracle sh script test.sh
#!/bin/bash
R=`sqlplus -S *****/*********@dfsdf <<ENDOFSQL
set serveroutput on size unlimited;
execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS"','F');
execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS_PART"','F');... (1 Reply)
Discussion started by: ramkia6
1 Replies
7. Shell Programming and Scripting
Hi,
I have written shell program to send email as below -
#!/bin/ksh
filename=`ls -ltrh *.Z`
echo $filename |mailx -s "FOR TESTING" rahul.b@infotech.net
I am getting the email but email body is -
-rw-rw-r-- 1 bahulra dba 173M Mar 22 04:37 corphist.txt.Z -rw-rw-r-- 1 bahulra dba 107M... (3 Replies)
Discussion started by: rahulbahulekar
3 Replies
8. Shell Programming and Scripting
I have fetched a couple of emails and stored then in /fetch/mail/oracle.txt, the displayed content is
Date:
From:
Subject:
To:
Content-Type:
---body -----
---------
Date:
From:
Subject:
To:
Content-Type:
----body -----
------
Date:
From:
I want to retrieve the body only from... (3 Replies)
Discussion started by: maddog21
3 Replies
9. Shell Programming and Scripting
Hello,
I need help with my script that will send email via sendmail command that will shows both the header and footer logo once the recepient receive the email (e.g. MS Outlook). When I tested to ran the script it will successfully send the email BUT UNFORTUNATELY it doesn't displayed the... (8 Replies)
Discussion started by: lawrence88
8 Replies
10. Shell Programming and Scripting
Hi Team,
While sending the email using the mutt command, mail body not appearing properly and attachment it is showing without line breaks and i used the CSS Style (nowrapper )it is working fine.
in this case how to handle the email body, please help me. (1 Reply)
Discussion started by: bmk123
1 Replies
LEARN ABOUT DEBIAN
squidclient
squidclient(1) General Commands Manual squidclient(1)
NAME
squidclient -- a simple HTTP web client
SYNOPSIS
squidclient [-arsv][-A string ][-g count] [-h remote-host] [-H 'string'] [-i IMS] [-I ping-interval] [-j 'Host-header'] [-l local-host] [-m
method] [-p port] [-P file] [-t count] [-T timeout] [-u proxy-user] [-U www-user] [-V version] [-w proxy-password] [-W www-password] url
DESCRIPTION
squidclient is a tool providing a command line interface for retrieving URLs. Designed for testing any HTTP 0.9, 1.0, or 1.1 web server or
proxy. This tool can be combined with scripts to perform any basic HTTP operation. Some additional features for access to the Squid proxy
object cache and management information are provided.
OPTIONS
-a Do NOT include Accept: header.
-A 'string'
Send string as User-Agent: header. To omit the header completely set string to empty ('').
-g count
Ping mode, perform count iterations (0 to loop until interrupted).
-h host
Retrieve URL from cache on hostname. Default is localhost.
-H 'string'
Extra headers to send. Use '
' for new lines.
-i time
If-Modified-Since time (in Epoch seconds).
-I interval
Ping interval in seconds (default 1 second).
-j hosthdr
Host header content
-l host
Specify a local IP address to bind to. Default is none.
-m method
Request method, default is GET. Squid also supports a non-standard method called PURGE. You can use that to purge a specific URL
from the cache. You need to have purge access setup in squid.conf similar to manager access. Here is an example:
acl purge method PURGE
http_access deny purge !localhost
-p port
Port number of cache. Default is 3128.
-P file
PUT request. Using the named file.
-r Force cache to reload URL.
-s Silent. Do not print data to stdout.
-t count
Trace count cache-hops
-T timeout
Timeout value (seconds) for read/write operations.
-u user
Proxy authentication username
-U user
WWW authentication username
-v Verbose. Print outgoing message to stderr.
-w password
Proxy authentication password
-W password
WWW authentication password
-V version
HTTP Version. Use '-' for HTTP/0.9 omitted case
SEE ALSO
cachemgr.cgi(8), squid(8)
AUTHOR
Derived from Harvest. Further developed by by numerous individuals from the internet community. Development is led by Duane Wessels of the
National Laboratory for Applied Network Research and funded by the National Science Foundation.
Squid Web Client Tool squidclient(1)