Scripts - Study24x7
study24x7
Scripts
  • followers
  • Latest Feeds
  • Question
  • Course
  • About
  • Review
Interests
Scripts

Use of square brackets is necessary in bash for if statements.
The basic syntax of if..then statement is:

#!/bin/bash
if [ condition ]
then
<commands>
fi

If you have many if statements(nested if) inside your script,then with proper indenting syntax is:

#...

See more
study24x7
Write a comment

A shell script contains a sequence of commands for a UNIX-based operating system. It's called a shell script because it combines into a "script" in a single file a sequence of commands that would otherwise have to be presented to the system from a keyboard one at a time.Thus , a very useful tool in ...

See more
study24x7
Write a comment
About
Ratings
5.0
out of 5
1 Ratings
5 study24x7
 
1.0
4 study24x7
 
0.0
3 study24x7
 
0.0
2 study24x7
 
0.0
1 study24x7
 
0.0
Related Pages

ENGINEERING DESIGN

26 followers

CRACK IITJEE COACHIN..

12 followers

Arvind School of Com..

1 follower

Dr Jayant K Singh

35 followers

MathsMania

10 followers

Learn Tech

92 followers

Learn Advance REASON..

172 followers

Prof S D Agashe

26 followers

aman pandey

124 followers

Learn N Share - Get ..

335 followers

Prof K L Sebastian

18 followers

Prof T V Prabhakar

15 followers

V5 Institute

195 followers

Prof Samik Nanda

13 followers

Prof V Balakrishnan ..

63 followers

Reasoning with Rizwa..

188 followers

Prof Parasuraman S

13 followers

Prof Debasish Ghose

14 followers

Prof. C. Balaj

13 followers

QA Effort

15 followers

Prof. T.V. Ramachand..

24 followers

PROF. C. BALAJI

15 followers