Language Selection

English French German Italian Portuguese Spanish

Shell Scripting, oooh...its easy

Filed under
HowTos

"Shell scripting is nothing but a group of commands put together and executed one after another in a sequential way. Let's start by mentioning the steps to write and execute a shell script."

Step 1: touch a file
e.g.: touch Firstshellscript.sh

Step 2: Open the file using the command vi or pico
e.g.: vi Firstshellscript.sh

Step 3: All shell script should begin with "#!/bin/bash ". This line is called the Shebang and this line looks like a comment but its not. It's a message which talks about the interpreter to be used for this script.

Full Story.

More in Tux Machines

Games: Deep Sixed, Lazy Galaxy, Gladiabots, Railway Empire, Hypergate, Total War Saga: Thrones of Britannia

Sailfish OS 2.1.4 is now available to early access

After a few productive months of development, we are ready to release the next Sailfish OS update named Lapuanjoki to the early access group! Lapuanjoki is named after the town of Lapua, located in Southern Ostrobothnia region, flowing from lake Sampalampi to the Gulf of Bothnia. Read more Also: Jolla Pushes Out Sailfish OS 2.1.4 Into Early Access

Today in Techrights

Qt 5.11 Alpha Released

Qt 5.11 Alpha is released today. As usual the official Alpha is a source code delivery only, but later we will offer development snapshots of Qt 5.11 regularly via the online installer. Please check Qt 5.11 New Features wiki to see what new is coming with Qt 5.11 release. Please note that the feature list is still in progress and not to be considered final before the first Beta release. Read more Also: Qt 5.11 Alpha Released With Many Toolkit Additions