01-10-2007
Thank you very much for your reply. It makes a little more sense now. I do understand the way client/server architectures work, I am just not sure how UNIX works...I tried reading wikipedia, but it wasn't very helpful, for me anyway!
OK, if I an on machine1, and want to access the harddrive on machine3, does that mean I have to mount the filesystem of machine3 onto machine1? Or something along those lines.
You mentioned hostnames. Is a hostname simply the name of a unix box? Does it mean that each hostname has its own CPU, harddrive, RAM etc?
Thanks.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to upload a file to a SQL database table. The column type is IMAGE. I am looking for a solution to upload a word doc file. I tried 3 approaches.
1) my $fileToStore = "mytest.doc";
open IPFILE, "<", $name;
binmode IPFILE;
while (<IPFILE>)
{
$fileToStore .= $_;
}
close... (1 Reply)
Discussion started by: b.paramanatti
1 Replies
2. UNIX for Dummies Questions & Answers
I am an entry level programmer with no formal training in computer science. I am trying to enhance my conceptual knowledge about operating systems in general.
I have been using the C programming language on Linux systems for some time and have used the traditional unix stream I/O APIs. The... (1 Reply)
Discussion started by: kaychau
1 Replies
3. Shell Programming and Scripting
Hi,
I am new to this mail concept in unix. i have requirement to read the mail from mailbox.
Now to get the mail where i have to configure the mail id and also the mail server.
Kindly suggest me.
Thanks in advance. (3 Replies)
Discussion started by: krishna_gnv
3 Replies
4. Shell Programming and Scripting
hi all
I am new to unix and want to create a loop to repeat the loop and before that it ask me to do so.I know "while" may help but I put it in my work and getting stuk with it.any help appreciated. (13 Replies)
Discussion started by: samsami1971
13 Replies
5. Shell Programming and Scripting
a file containing following data (part of it)....
1907594 201012 31 11
5837737 201012 41 18
257402.88 201101 31 11
7500 201101 33 1
115618.5 201101 41 11
556330 201102 31 12
481783.5 201102 41 20
2827732.13 201103 31 71
85253 201103 33 2
4479588.07 201103 41 90
7120 201104 21 1
... (4 Replies)
Discussion started by: guptam
4 Replies
6. Shell Programming and Scripting
hello folks,
i am stuck with this awk command. i need to calculate the sum of a column of values on a flatfile and i am using the following command :
awk -F"|" '{x += $10} END {print "Sum: "x}' standard_csv_file1.out
that flatfile contains 180 fields and i am getting the... (5 Replies)
Discussion started by: jdsony
5 Replies
7. What is on Your Mind?
Is there a detailed page on the explanation of concept behind BITS and score used in this forum.
Just saw the index on my Banking page.
(Clicked the Banking hyperlink below my profile name on the topmost right corner of this screen)
Thanks in advance. (2 Replies)
Discussion started by: Manjunath B
2 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
i have a shell script with the first two lines as
#! /bin/ksh
set -x
when i try opening the file from unix using the command 'sh filename.sh' , i am getting the below error :
invalid optionline 2: set: -
Pls help
Use code tags for you code and data... (1 Reply)
Discussion started by: Rajankum
1 Replies
WBOX(1) General Commands Manual WBOX(1)
NAME
wbox - HTTP testing tool and configuration-less HTTP server
SYNOPSIS
wbox <url> [ options ]
wbox servermode webroot <path> [serverport <portnumber> (def 8081)]
DESCRIPTION
wbox aims to help you having fun while testing HTTP related stuff. You can use it to perform many tasks, including the following:
- Benchmarking how much time it takes to generate content for your web application.
- Web server and web application stressing.
- Testing virtual domains configuration without the need to alter your local resolver.
- Use it as a configuration-less HTTP server to share files!
OPTIONS
<number>
Stop after <number> requests
compr Send Accept-Encoding: gzip,deflate in request
showhdr
Show the HTTP reply header
dump Show the HTTP reply header + body
silent Don't show status lines
head Use the HEAD method instead of GET
http10 Use HTTP/1.0 instead of HTTP/1.1
close Close the connection after reading few bytes
host <hostname>
Use <hostname> as Host: field in HTTP request
timesplit
Show transfer times for different data chunks
wait <number>
Wait <number> seconds between requests. Default 1.
clients <number>
Spawn <number> concurrent clients (via fork()).
referer <url>
Send the specified referer header.
cookie <name> <val>
Set cookie name=val, can be used multiple times.
maxclients <number>
Max concurrent clients in server mode (default 20).
-h or --help
Show this help.
-v Show version.
USAGE EXAMPLES
wbox wikipedia.org (simplest, basic usage)
wbox wikipedia.org 3 compr wait 0 (three requests, compression, no delay)
wbox wikipedia.org 1 showhdr silent (just show the HTTP reply header)
wbox wikipedia.org timesplit (show splitted time information)
wbox 1.2.3.4 host example.domain (test a virtual domain at 1.2.3.4)
wbox servermode webroot /tmp/mydocuments (Try it with http://127.0.0.1:8081)
TUTORIAL
Wbox is trivial to use but, in order to understand better what wbox is and how to use it, you may want to read the TUTORIAL inside the
/usr/share/doc/wbox/ directory.
AUTHOR
wbox was written by Salvatore 'antirez' Sanfilippo <antirez@gmail.com>.
This manual page was written by Alberto Furia <straluna@email.it>, for the Debian project (and may be used by others).
December 10, 2009 WBOX(1)