# Sample scripts

**URL:** <https://community.unix.com/t/sample-scripts/239734>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [May 10, 2009, 3:29pm UTC](https://community.unix.com/t/sample-scripts/239734 "2009-05-10T15:29:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ioniCoder](https://community.unix.com/letter_avatar/ionicoder/32/6_449c533f586939b6e5f246632a46421f.png) [@ioniCoder](https://community.unix.com/u/ioniCoder)\
**Post date:** [May 10, 2009, 3:29pm UTC](https://community.unix.com/t/sample-scripts/239734/1 "2009-05-10T15:29:22Z")

</div>

Hi All'  
I'm a newbe, and just is started to learn unix.

Where can I find a complete sample scripts? I looking for a sample scripts which log in at another unix host and and execute another script server side.

Any input welcome

---

<div class="post-metadata">

**Author:** ![otheus](https://community.unix.com/user_avatar/community.unix.com/otheus/32/505_2.png) [@otheus](https://community.unix.com/u/otheus)\
**Post date:** [May 11, 2009, 4:33pm UTC](https://community.unix.com/t/sample-scripts/239734/2 "2009-05-11T16:33:56Z")

</div>

Well, this forum is a good source. There's also [[shell-fu:home]$](http://www.shell-fu.org/) which has a nice RSS feed.

---

<div class="post-metadata">

**Author:** ![bdragon](https://community.unix.com/letter_avatar/bdragon/32/6_449c533f586939b6e5f246632a46421f.png) [@bdragon](https://community.unix.com/u/bdragon)\
**Post date:** [June 26, 2009, 7:49am UTC](https://community.unix.com/t/sample-scripts/239734/3 "2009-06-26T07:49:46Z")

</div>

My site has a set of scripts that are useful and the code is commented pretty well.

[.\\itch's Extras](http://www.bdragon.net)

Scroll down and look at the scripts section.

---

<div class="post-metadata">

**Author:** ![otheus](https://community.unix.com/user_avatar/community.unix.com/otheus/32/505_2.png) [@otheus](https://community.unix.com/u/otheus)\
**Post date:** [July 1, 2009, 11:01am UTC](https://community.unix.com/t/sample-scripts/239734/4 "2009-07-01T11:01:24Z")

</div>

I like the page, definitely, but some scripts.... why?

- fortune -- why not use the fortune program?
- mtop -- colorful version of "watch"??

I like your .vimrc 🙂

---

<div class="post-metadata">

**Author:** ![bdragon](https://community.unix.com/letter_avatar/bdragon/32/6_449c533f586939b6e5f246632a46421f.png) [@bdragon](https://community.unix.com/u/bdragon)\
**Post date:** [July 1, 2009, 1:30pm UTC](https://community.unix.com/t/sample-scripts/239734/5 "2009-07-01T13:30:44Z")

</div>

Watch is not on Solaris and mtop can use config files as an argument. So one can have sets for watching during different tasks.

Fortune - because I can update it myself without any issues and it is cross platform.

---

<div class="post-metadata">

**Author:** ![amro1](https://community.unix.com/letter_avatar/amro1/32/6_449c533f586939b6e5f246632a46421f.png) [@amro1](https://community.unix.com/u/amro1)\
**Post date:** [June 29, 2010, 11:32am UTC](https://community.unix.com/t/sample-scripts/239734/6 "2010-06-29T11:32:49Z")

</div>

I didn't check it recently, but there were many simple training scripts on [unixacademy.com](http://unixacademy.com). There also many on every installed Linux system, so you can learn from them. Also there are plenty around the i-net. Google "sample bash script" and you get zillion... "bash by example" is good and easy to follow... Hope it helps
