1,105,578 Community Members

Need Shell script questions

Member Avatar
braintwister17
Newbie Poster
3 posts since Apr 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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. :)

Member Avatar
IIM
Master Poster
742 posts since Jun 2011
Reputation Points: 163 [?]
Q&As Helped to Solve: 169 [?]
Skill Endorsements: 24 [?]
 
1
 

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....

Member Avatar
braintwister17
Newbie Poster
3 posts since Apr 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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 ?? ...

Member Avatar
nezachem
Practically a Posting Shark
896 posts since Dec 2009
Reputation Points: 616 [?]
Q&As Helped to Solve: 197 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
IIM
Master Poster
742 posts since Jun 2011
Reputation Points: 163 [?]
Q&As Helped to Solve: 169 [?]
Skill Endorsements: 24 [?]
 
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.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: