Quarra Posted May 2, 2011 Share Posted May 2, 2011 Hi all, I got this task, to make unix script, but i'm new at working with unix, and i just can't find any usefull articles or soggestions how to write my script.So i just wonder maybe someone could help me... What i need is info like how to write it, how to start, everything thats usefull. Also if someone are good at this and could write this script i would more that gratefull. Script: Write a script in which the argument is the month number and month name is displayed. Link to comment Share on other sites More sharing options...
Ember Posted May 2, 2011 Share Posted May 2, 2011 . Link to comment Share on other sites More sharing options...
Quarra Posted May 2, 2011 Author Share Posted May 2, 2011 I'm not going to do your homework, but a good starting point is knowing what shell you'll be scripting for. Ya, didnt really expect that someone would write a script for me. But what u mean by "what shell"? (I might not understand that cuz, english is my 2nd language..) Link to comment Share on other sites More sharing options...
Cacmypants Posted May 2, 2011 Share Posted May 2, 2011 I would totally help, but I've only used C++, some JavaScript and a bit of python; don't know much (anything) about Unix. Link to comment Share on other sites More sharing options...
Ember Posted May 2, 2011 Share Posted May 2, 2011 . Link to comment Share on other sites More sharing options...
Quarra Posted May 2, 2011 Author Share Posted May 2, 2011 I will be doing this on OS (windowns) so then Bash. I have few questions: (but it might not sound clear) Should i do somekind of variables? like 1 - jan 2 - feb and so on, and then when u write 2 (or other number) u get answer feb? Is this even close to what i need to do? Link to comment Share on other sites More sharing options...
Ember Posted May 2, 2011 Share Posted May 2, 2011 . Link to comment Share on other sites More sharing options...
Quarra Posted May 2, 2011 Author Share Posted May 2, 2011 I might be wrong about OS, what we are using is program PuTTy, connect to your learning ip addres and write scripts there. Thank you for links, ill study them Link to comment Share on other sites More sharing options...
Ember Posted May 2, 2011 Share Posted May 2, 2011 . Link to comment Share on other sites More sharing options...
Quarra Posted May 2, 2011 Author Share Posted May 2, 2011 responses: first - server name where i connected, with little info and second one prints some numbers with (bash) at end. Link to comment Share on other sites More sharing options...
Ember Posted May 2, 2011 Share Posted May 2, 2011 . Link to comment Share on other sites More sharing options...
obfuscator Posted May 2, 2011 Share Posted May 2, 2011 Yeah putty is just a client, you use it to connect to a server (which is running a certain OS). What is it exactly you want to accomplish with this script? "It's not a rest for me, it's a rest for the weights." - Dom Mazzetti Link to comment Share on other sites More sharing options...
Quarra Posted May 2, 2011 Author Share Posted May 2, 2011 Yeah putty is just a client, you use it to connect to a server (which is running a certain OS). What is it exactly you want to accomplish with this script? accomplish? well i need this script to get a grade :D all that matters, i came up with idea, but i wont show u. (script isn't in english) :D btw, ty for help :) Link to comment Share on other sites More sharing options...
obfuscator Posted May 2, 2011 Share Posted May 2, 2011 I'm asking you what your script is going to do. It's difficult for us to give you help if we don't know what you're doing.... You're welcome at any rate. "It's not a rest for me, it's a rest for the weights." - Dom Mazzetti Link to comment Share on other sites More sharing options...
Markup Posted May 2, 2011 Share Posted May 2, 2011 What does it matter if the script is in english or not, the syntax is the same. Bet he's trying to crack his school's grade system. Link to comment Share on other sites More sharing options...
Ember Posted May 2, 2011 Share Posted May 2, 2011 . Link to comment Share on other sites More sharing options...
Markup Posted May 2, 2011 Share Posted May 2, 2011 Bet he's trying to crack his school's grade system.I've no idea where you're getting that from...Script: Write a script in which the argument is the month number and month name is displayed. You so serious! But okay...accomplish? well i need this script to get a grade :D all that matters, i came up with idea, but i wont show u. I'm not going to do your homework, but a good starting point is knowing what shell you'll be scripting for. I've no idea where you're getting that from... it's shell... Link to comment Share on other sites More sharing options...
Quarra Posted May 3, 2011 Author Share Posted May 3, 2011 Guys, thank you for your help, i wrote that script. :) Link to comment Share on other sites More sharing options...
Ember Posted May 3, 2011 Share Posted May 3, 2011 . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now