11-02-2011
We will surely not do all of your work for you but if there is particular questions, just try it. People will surely give some answers.
Also it will be helpful for yourself to get some reading and trying out on shell scripts if this is your task. There are plenty of resources for beginners on the web.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey Guys,
I am creating a bash script on my freeBSD box, the script should basically ask the user to enter a username and domain. The script will take this information and basically append alot of information to config files so the user can receive email from that domain and create a web site at... (1 Reply)
Discussion started by: traxy
1 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The object is to enter a number, then have another classmate guess the entered number.
2. Relevant commands,... (6 Replies)
Discussion started by: Jjohn1987
6 Replies
3. Shell Programming and Scripting
hy guys,
I have perl script provided to me but i need to convert it into shell .Can you help me in this using sed shell command.
cat /etc/passwd |perl -ne '/^(\w+):\w+: (\w+)/ and print "$1, $2\n";' (1 Reply)
Discussion started by: singh_king
1 Replies
4. Shell Programming and Scripting
Hi, I'm a beginner at shell scripting, just started scripting in bash a few days ago.
I want to test if the command ls *.jpg returns exit code 2, and if yes I want to execute a new command ls *.jpeg, doing a test on it... and pretty much repeat the procedure.
Is this correct?
#!/bin/bash... (1 Reply)
Discussion started by: Utherr
1 Replies
5. Shell Programming and Scripting
If there's anywhere to look this up, it would be just as helpful. I googled and really couldn't find anything relative to this.
ok... General Variables
1) When creating a script I made a file "prog1.sh" does it matter if the end is .sh or is this what has to be done like prog.bash or... (4 Replies)
Discussion started by: austing5
4 Replies
6. Shell Programming and Scripting
Hello people, I am new to the forum and to scripting and I'm honored to be a part of the Forum :)
At the moment I'm learning to do basic scripting for school.
Now I got 2 assignments that I do not understand. The case scripting I have mastered a bit. But now I have an assingment to make with... (1 Reply)
Discussion started by: hulsi88
1 Replies
7. Shell Programming and Scripting
hi all, i am very new to linux and am trying to create a basic script.
I would like the script to copy files from one directory into another, (e.g Script ~/my-documents/fileone ~/my-documents/filetwo)
Once all files have been copied, i'd like another script to run automatically and rename... (12 Replies)
Discussion started by: highland
12 Replies
8. Shell Programming and Scripting
Hello,
I am new to Linux and studying to become a Unix System Admin. I am taking a course in which I was practicing creating a bash script to ping a particular IP address. The script can be found below:
#/bin/bash
echo "Enter the IP address"
read ip
if
then
ping -c 1 $ip
if ;... (3 Replies)
Discussion started by: shah9250
3 Replies
9. UNIX for Beginners Questions & Answers
I at the moment, making a simple bash script, capable of setting up an workspace for me, so i don't have to do it manually.. Problem is though i can't seem to provide the bash script any argument, without running into my error checks, checking for input...
Here is the code:
#!/bin/bash... (7 Replies)
Discussion started by: kidi
7 Replies
LEARN ABOUT OSX
fsf-funding
FSF-FUNDING(7) GNU FSF-FUNDING(7)
NAME
fsf-funding - Funding Free Software
DESCRIPTION
Funding Free Software
If you want to have more free software a few years from now, it makes sense for you to help encourage people to contribute funds for its
development. The most effective approach known is to encourage commercial redistributors to donate.
Users of free software systems can boost the pace of development by encouraging for-a-fee distributors to donate part of their selling
price to free software developers---the Free Software Foundation, and others.
The way to convince distributors to do this is to demand it and expect it from them. So when you compare distributors, judge them partly
by how much they give to free software development. Show distributors they must compete to be the one who gives the most.
To make this approach work, you must insist on numbers that you can compare, such as, ``We will donate ten dollars to the Frobnitz project
for each disk sold.'' Don't be satisfied with a vague promise, such as ``A portion of the profits are donated,'' since it doesn't give a
basis for comparison.
Even a precise fraction ``of the profits from this disk'' is not very meaningful, since creative accounting and unrelated business
decisions can greatly alter what fraction of the sales price counts as profit. If the price you pay is $50, ten percent of the profit is
probably less than a dollar; it might be a few cents, or nothing at all.
Some redistributors do development work themselves. This is useful too; but to keep everyone honest, you need to inquire how much they do,
and what kind. Some kinds of development make much more long-term difference than others. For example, maintaining a separate version of
a program contributes very little; maintaining the standard version of a program for the whole community contributes much. Easy new ports
contribute little, since someone else would surely do them; difficult ports such as adding a new CPU to the GNU Compiler Collection
contribute more; major new features or packages contribute the most.
By establishing the idea that supporting further development is ``the proper thing to do'' when distributing free software for a fee, we
can assure a steady flow of resources into making more free software.
SEE ALSO
gpl(7), gfdl(7).
COPYRIGHT
Copyright (c) 1994 Free Software Foundation, Inc. Verbatim copying and redistribution of this section is permitted without royalty;
alteration is not permitted.
gcc-4.0.1 2009-05-18 FSF-FUNDING(7)