Linux or virtual Machine project
Linux or virtual Machine project
Write a program to read in at least 2 lines of input (with a specific format), do something meaningful using the network, and print out results in plain text.
Programming Language: You may use which ever language you choose provided your program executes on a Linux platform
Description: What your project does is up to you. However, this program needs to be related to, or help with, something meaningful to you. It should provide a useful purpose to your life somehow. The program will take lines of plain text input, do some work, and then print plain text output. The input has specifications described below, the work must be over the network/Internet, and the output is just plain text…no GUI, no ANSI, just text (basic formatting is alright).
Command Line Switches and Parameters: There are no command line switches or parameters. You’ll see below the first line of input accepted by your program is in the form of command line switches and parameters, but they are not provided to your program on the command line itself, but rather the first line of input your program is to expect.
Input: Your program must accept at least 2 lines of input:
Line 1: command line switches and parameters
Lines 2-N: Whatever else you want/need
Last Line: .eot followed by an end of line marker (n)
“Command Line Switches and Parameters” :
Your program must be able to accept at least 3 “command line switches/parameters”:
–help
–synopsis
–bat={STRING} (the ‘=’ can be optional)
Any other command line switches/parameters you’d like are fine, but your program needs to support these 3.
Remember, these are actually the first line of input to your program, not on the command line itself
Output:
The output of your program is just plain text printed to the screen. Do not use any GUI functions/tools such as ANSI escape characters, cursor placement, etc. However, formatting such as columns and numeric precision is fine.
Network Connectivity:
Your program is required to communicate with the network/internet…this is a computer networks class afterall.
Examples: A program to list the files in your Dropbox account.
A program which sends a tweet.
A program to obtain the state bird for a given state
A program to send an email.
A program to check for the existence of a file on your school account and then tweet “It Exists!” to your Twitter timeline.
Your program does not have to communicate with only 1 remote location…it all depends on what your trying to accomplish.
Output:
$ ./myprogram
first line of input
optional other lines of input
.eot
Program Output
=========================
However it may look.
$
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


