Basic Shell Scripting: Chapter-II

In this Chapter we will wirte and execute some basic shell scripts.

Example 1 :

In this example I have used four commands clear, echo, date and pwd. The script will show you the system date and time. Your logged in user name and your current directory.

Example 2:

In this example I have showed how to create a directory and then create a file inside the directory.

Previous Chapter

Next Chapter

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

Leave a Reply