Porgramming & Scripting for n00bs?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Porgramming & Scripting for n00bs?
# 1  
Old 08-16-2003
Porgramming & Scripting for n00bs?

Hiya,

I have literally no programming or scripting experience. The best I've done is basic batch files in DOS.

However I would like to learn in order to help me with unix. I was thinking of learning shell scripting and pearl. Would this be the right way to go? I see that C seems to be popular, but I think this may be too much to learn for starters?

Also would it be best to buy a book to learn from. Or would freebie stuff off the net suffice? Most everything I know about IT has been self taught. So I have no problem teaching myself stuff.

Any advice would be cool. I did check out some other posts, but people are reccomending a boat load of books to start with. I figure I need to start small and build up from there. Buying 5 books at once I feel may be a bit much for me. Or is this the best way to do it? Thanks.

Last edited by Perderabo; 04-23-2004 at 01:50 PM..
# 2  
Old 08-16-2003
It's perl, not pearl.

Perl can also be a tedious one, as a shell scripting language tends to have a lot of flexibilities in the language syntax that makes it appear to be highly confusing (in fact I personally think aside TCL, Perl's syntax is quite confusing for starters). However, if you are dedicated to it, IMO Perl is a good choice.

Syntax of programming languages like C(++) or Java tends to be more structured and may be more straightforward to some.

After all, if you have spent some time to really learn any language it won't appear confusing anymore. But I won't recommend you to learn many languages at one time. You may arbitrarily choose one, get on with it and once you have some experience with it, then learn another one.
# 3  
Old 08-16-2003
[Beginners Only Book] You can learn shell scripting very very easily! The best book I think I have ever come across for unix scripting (beginning level) is from Sams publishing: Shell Programming in 24 hours! (the 24 hours part is just a popular title for "step by step" so dont let them fool you!). Anyway, the first four or five chapters are all about unix in general. The book moves on to programming constructs, quoting, flow control etc..its a great beginner book. You will be programming within a week or so with so practice.

The book is cheap too, so you wont have to invest much in terms of dollars, just time.


Sams Publishing: Shell Programming in 24 Hours

Last edited by google; 08-16-2003 at 08:32 PM..
# 4  
Old 08-17-2003
Thanks guys! BTW I meant Perl, don't know how I ended up typing pearl LOL!.

That book also seems like some thing that would be perfect for starters!

I appreciate your time in answering what may be some real stupid questions. Thanks Again!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies

2. UNIX for Dummies Questions & Answers

Shell Scripting for Router, Switch & FW deviation

Hi, I have written a script for finding deviation for router,switch &fw. It is working fine on linux server. But when I try on sunos 5.10 OS it showing "grep: illegal option -- A". I have used grep -C and grep -A. How it will work on sunos? Help me out please !! (12 Replies)
Discussion started by: GautamSK
12 Replies

3. Shell Programming and Scripting

Help me to perform count & group by operation in shell scripting?

Hi All, I want to display the distinct values in the file and for each distinct value how may occurance or there. Test data: test1.dat 20121105 20121105 20121105 20121105 20121106 20121106 20121106 20121105 I need to display the output like Output (2 Replies)
Discussion started by: bbc17484
2 Replies

4. Shell Programming and Scripting

guidance required: feed load search & display in shell scripting

Hi All, I am fairly new to Shell Scripting, however learning fast ;-) I have been asked to do the below basic shell script :confused: There are few feed files we are recieving in the server from multiple locations spread out during the day, rite now we are checking manually each file... (2 Replies)
Discussion started by: sachaan
2 Replies

5. Post Here to Contact Site Administrators and Moderators

kindly reconsider my post in shell & scripting forum

Hi, this is regarding my post "ksh: how to extract strings from each line based on a condition" . Its not a home work or an assigment. I actually work in retail domain. The data I handle is very complex and confidential.So I can't divulge the actual patterns. In order to explain my problem, I have... (1 Reply)
Discussion started by: angie1234
1 Replies

6. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

7. Homework & Coursework Questions

[Scripting]Find & replace using user input then replacing text after

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: (o) Checkout an auto part: should prompt the user for the name of the auto part and borrower's name: Name:... (2 Replies)
Discussion started by: SlapnutsGT
2 Replies

8. Shell Programming and Scripting

Sql & Shell scripting book

Hi, I am looking for some books that have examples of both Oracle SQL and Shell script being used together. For example, to insert 500 rows into a table using a script. I already have books that cover Shell scripting or SQL, but as separate subjects. I am looking for books that have both of... (3 Replies)
Discussion started by: handle123
3 Replies

9. Shell Programming and Scripting

scripting headache... loops & variables

Surely there's an easier way to do this, lets see if anyone knows! I am new to scripting so go easy on me! I have the following script and at the moment it doesn't work and I believe the problem is that I am using a while loop within a while loop. When I run the script using sh -x I can see... (6 Replies)
Discussion started by: StevePace
6 Replies

10. UNIX Desktop Questions & Answers

Shell scripting & programming languages

If I want to do high-end 3d animation, what skell scripting languages, and programming languages shoul I learn? If you know any good resources for learning these languages they would be appreciated. (1 Reply)
Discussion started by: aloysius1001
1 Replies
Login or Register to Ask a Question