Java Programming Tutorials

Java programming tutorials with many code examples!

Linux head tail – display lines of file by example

Linux head and tail are basic commands for displaying file contents. In this post we’re going to show how to do that on many examples!

Read More

Share with the World!

Bash select

Problem:

How to use Bash select function to write interactive scripts? In this post we’ll show how to use select to interact with user and guide her through filesystem. Read on.

Read More

Share with the World!

Bash script parameters

Problem:

How to process Bash script parameters? There are two ways – using while-case combo or with Bash getopts as we show in the following example.

Read More

Share with the World!

Bash case statement

Problem:

How to use Bash case statement to process complex conditionals? It’s most often used to process script parameters.

Read More

Share with the World!

Bash array

Problem:

How to use Bash arrays? Bash is very flexible and allows to do funny things with arrays. Check out these cool Bash array examples.

Read More

Share with the World!

Bash if else

Problem:

Bash if else is the most fundamental control flow statement used almost in every script. In the following Bash tutorial we show how to use if-else on examples!

Read More

Share with the World!

Bash until loop

Problem:

Bash until loop is another basic construct occurring in many programming languages. It is similar to the while loop, but… different. Learn how!

Read More

Share with the World!

Bash while loop

Problem:

while loop is a basic construct in many programming languages. Bash also allows us to use it to iterate over many things. Learn here how!

Read More

Share with the World!

Bash Here Documents

Problem:

How to create Here/inline Documents in Bash?

Bash Here documents can be really helpful templating mechanism when used in Bash scripts. They can generate almost anything, even scripts to compile and run sample Java code!

Read More

Share with the World!
Pages:12