We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,737 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Need Shell script questions

Hi Everyone ,

I am currently learning shell scripting.So I just need little help from you. If you know sites which have good shell programs / questions for practice (solving ) .. please post them here. If you can provide any alternative regarding my study on shell scripting that would be welcome too. :)

3
Contributors
4
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
5
Views
braintwister17
Newbie Poster
3 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Instead of searching for questions it's better you install linux in yur system and then try t implement various things....learn how to configure ntfs and other services in that...That will be useful....

IIM
Practically a Master Poster
636 posts since Jun 2011
Reputation Points: 127
Solved Threads: 136
Skill Endorsements: 7

I am doing it ... but unless and until I get a challenging task .. I dont think I will get complete knowledge but still Thanks for the reply ... I will work on what you have said ...

Any other suggestions ?? ...

braintwister17
Newbie Poster
3 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

As a good exercise implement basic coreutils commands (cat, head, tail, cut, paste, etc) using bash builtins.

nezachem
Posting Shark
913 posts since Dec 2009
Reputation Points: 719
Solved Threads: 197
Skill Endorsements: 0

1. Try finding greatest of 3 numbers using shell scripting.
2. tell the working of command:- grep <TEST> abc
3. Consider the file named f1,f2,f3.After this command what will be the content of each files and why.
*cat f1>f2>f3
*cat >f1>f2>f3
*cat f1>f2<f3
4. Write a shellscript to execute a set of codes automatically on a particular day.(Use cronjob)
5. Print all lines in a file except the first five lines of a file.
6. Print all lines in a file except the last five lines of a file.

Check if you are able to d this...this is just a basic questons to test your apti.

IIM
Practically a Master Poster
636 posts since Jun 2011
Reputation Points: 127
Solved Threads: 136
Skill Endorsements: 7

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0667 seconds using 2.64MB