10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com
I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core).
I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I was curious if its possible to send an email (in reverse) to a linux server from an email client (like Lotus Notes, Outlook, etc...)?
I know it's possible to send an email FROM a Linux Server TO a email address, but I tried to just 'reply' to the Linux Servers
address that sent... (8 Replies)
Discussion started by: mrm5102
8 Replies
3. Red Hat
While sending mail from linux server we observed below logs,
stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure
Kindly suggest what we need to change?
Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies
4. Shell Programming and Scripting
Let's say I have a script which creates a report. I use getopts to have different options available to the user. One of these options is -f which basically exports the output of script to a text file which user may give the name of that text file. How can I output the result to the requested file.... (3 Replies)
Discussion started by: bashily
3 Replies
5. Shell Programming and Scripting
HI All,
I am facing the problem with rmail ...
Actually my server is linux environment Redhot server.
To send a mail which command I have to use it . I want subject and I want to Include CC also
And body of the mail also there . But If I use rmail command it is not taking any options to... (1 Reply)
Discussion started by: ksrivani
1 Replies
6. UNIX for Dummies Questions & Answers
I'm new to Unix and web development but I'm in need to send an xml request to a web server Ican't find an easy way to do it from the command line, if somebody can help me with a sample would be amazing! my Unix says that curl is not installed so i was wondering if there is another way to test... (1 Reply)
Discussion started by: mpoblete
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command:
Code:
/usr/local/bin/curl -v... (1 Reply)
Discussion started by: manishmaha
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
The script:
#!/bin/sh
#set -x
# set admin email so that you can get email
ADMIN="myemailaddress"
# set alert level
ALERT=4
df -HP | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output;
do
#echo $output
usep=$(echo $output | awk '{ print... (5 Replies)
Discussion started by: wbdevilliers
5 Replies
9. Shell Programming and Scripting
How to hit HTTP Post Request along with sending XML data to a Remote server through command line utility like wget (or anything else). (0 Replies)
Discussion started by: sandeep reddy
0 Replies
10. UNIX for Dummies Questions & Answers
Ok. I'm testing a new program component that is supposed to speed up our pipeline on the server. What it does is take in HEAD requests and shuffle them off to a different pipeline that is specially designed to handle HEAD requests quickly. The functionality works but now comes the question: how... (3 Replies)
Discussion started by: darkling235
3 Replies
HTTPD(8) System Manager's Manual HTTPD(8)
NAME
httpd, echo - HTTP server
SYNOPSIS
http/httpd [ -n namespace ] srvname netname netdir
http/echo [ -n namespace ] [ -d domain ] [ -r remoteip ] method version uri [ search ]
DESCRIPTION
Httpd serves the file system described by namespace (default /lib/namespace.http), using version 1.0 of the HTTP protocol. It is usually
executed by listen(8) in response to an incoming call on TCP port 80, the HTTP port. Srvname is the name of the service invoked, typically
tcp80, netname is the name of the network, typically TCP, and netdir is the network directory for the connection.
Httpd supports only the GET and HEAD methods of the HTTP protocol. The Content-type (default application/octet-stream) and Content-encod-
ing (default binary) of a file are determined by looking for suffixes of the file name in /sys/lib/http.
If the requested URI begins with /magic/server/, httpd executes the file /bin/http/server to finish servicing the request. Method, ver-
sion, and uri are those received on the first line of the request, which is the only line read by httpd before executing the magical
server.
Echo is a trivial server that just returns the method, URI, any search, and the headers sent by the client.
FILES
/sys/lib/http
content type description file
/lib/namespace.http
default namespace file for httpd
SOURCE
/sys/src/cmd/httpd
SEE ALSO
newns in auth(2), listen(8)
HTTPD(8)