Skip to main content

How to Write Your First ksh Script in UNIX

Stockphotos.io
Stockphotos.io
When you login into UNIX, you are first be in the home directory:

$/home:

Then you can issue 

$/home: cd jthomas

Then you come to your own directory:

$/home/jthomas:

How to write your first script:

$/home/jthomas: vi test.sh

Here, you can write your script.

The first line in the script is:

#!/bin/ksh  - It denotes which shell you are going to use.

Example:

$vi test.sh #!/bin/ksh ################################################### # Written By: Jason Thomas # Purpose: This script was written to show users how to develop their first script ################################################### # Denotes a comment
root
daemon bin sys adm uucp nobody lpd

How to run script
sh test.sh

Also read: The complete list of UNIX basic commands

Comments

Popular posts

Blue Prism complete tutorials download now

RPA blue prsim tutorial popular resources I have given in this post. You can download quickly.Learning Blue Prism is really good option if you are learner of Robotic process automation. The RPA is also called "Robotic Process Automation"- Real advantages are you can automate any business process and you can complete the customer requests in less time.

The Books Available on Blue Prism 
Blue Prism resourcesDavid chappal PDF bookBlue Prism BlogsVideo Training
RPA training The other Skills you need
Basic business skills and Domain skills are more than enough to be successful in this automation careerScripting languages like Perl/JSON/JavaScript/VBScript.  The interesting point is learning any RPA tool is not a problem. You can learn tool quickly. The real point is how quickly you apply your knowledge to implement automated tasks is important.


Also read
Robotic RPA Software developer skills you needBlue Prism tutorials download to learn quicklyPopular RPA tools functionality differen…

Three popular RPA tools functional differences

Robotic process automation is growing area and many IT developers across the board started up-skill in this popular area. I have written this post for the benefit of Software developers who are interested in RPA also called Robotic Process Automation.

In my previous post, I have described that total 12 tools are available in the market. Out of those 3 tools are most popular. Those are Automation anywhere, BluePrism and Uipath. Many programmers asked what are the differences between these tools. I have given differences of all these three RPA tools.

BluePrismBlue Prism has taken a simple concept, replicating user activity on the desktop, and made it enterprise strength. The technology is scalable, secure, resilient, and flexible and is supported by a comprehensive methodology, operational framework and provided as packaged software.The technology is developed and deployed within a “corridor of IT governance” and has sophisticated error handling and process modelling capabilities to ensu…

HBASE hadoop database really new features to handle growing data volumes

Hbase is Java implementation of Google's Big table. The data stored in HABSE is as shown below. Which is actually two parts.
Row Key : 00001 Column  : (Column Qualifier:Version:Value)Features or key points of HBASE...
HBase data stores consist of one or more tables, which are indexed by row keys.Data is stored in rows with columns, and rows can have multiple versions.By default, data versioning for rows is implemented with time stamps.Columns are grouped into column families, which must be defined up front during table creation. Column families are stored together on disk, which is why HBase is referred to as a column-oriented data storeIn addition...
HBASE is distributed data store,which leverages a network attached cluster of low-cost commodity servers to store and persist data.HBASE architecture is littel trick to know.

Region Servers...
RegionServers are the software processes (often called daemons) you activate to store and retrieve data in HBase.

The big difference...
Main poin…