Shell Script Command Substitution Approach 1 Syntax variable-name=$(command expression) Example k=$(date) NOTE Approach 2 Syntax variable-name=`command expression` Example k=`date` I. EXAMPLE OF LISTING FILES AND SUB FOLDERS OF CURRENT DIRECTORY VIA COMMAND…
How to use Strings in C++
In this tutorial you will learn what is string, how to use strings in c++, c++ strings, strings in c++ with program examples. C++ Strings 1. C STYLE STRING Example 1 –…
2 Linux Tips for Decompressing File in Unix / Linux
Decompressing File in Unix / Linux using gzip and gunzip Commands Here you can find two tips to decompress the already compressed file in unix / linux terminal with examples. They are…
How to Use For Loop in Shell Script (Linux Bash)
Shell Scripting Tutorial For Loop 1. Simple for loop (Data based for loop) Syntax for variable in data do # code done Where, variable is an user defined variable. Example 1 –…
Object Oriented Programming with C++
In this tutorial, you will learn oops concepts in c++, oops definition in c++, types of oops languages, etc,. OOPS TYPES OF OOPS LANGUAGES FEATURES OF OOPS (A) Class Object NOTE Example…
C++ Tutorial – How to use access specifiers in C++
In this tutorial, you will learn about c++ access modifiers, how to use access specifiers in c++ with clear program examples. ACCESS MODIFIERS Usage Access Levels GENERAL SYNTAX OF ACCESS MODIFIER class…