Many times it becomes necessary to pass arguments in functions. These arguments can be taken from the user during runtime or can be passed on via…
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
T
Asked by: Tanu Bakshi · 6 years ago
A function in shell scripting is written to divide entire code into small blocks or to dedicate a set of code for specific purpose just in the same…
Devops · Linux
1 Answer
·
1.7K Views
·
Answered ✓
R
Asked by: Radhika Patel · 6 years ago
In do while loop, first the command is executed and then the condition is checked. Syntax -
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
K
Asked by: Kalyani Malhotra · 6 years ago
These statements are used to check conditions as cases, break statements are used to come out of the loop whenever the condition is satisfied/met.…
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
S
Asked by: Siya Kohli · 6 years ago
If statement is one of the conditional statements used within any programming language and same is used within bash scripting. Syntax - if ; then fi…
Devops · Linux
1 Answer
·
1.7K Views
·
Answered ✓
D
Asked by: Diya tomar · 6 years ago
Variables are defined them as below - variable_name=variable_value so for example, is variable is to be defined a string value such as variable…
Devops · Linux
1 Answer
·
1.9K Views
·
Answered ✓
N
Asked by: Nishita Choudhary · 6 years ago
Any script executed in any shell has only 1 way of execution i.e sequential which means the execution flow is top to bottom hence the commands…
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
S
Asked by: Sadaf Sharma · 6 years ago
Scripting in shell or shell script is nothing but execution of set of commands to achieve a desired objective. Depending upon the nature of work the…
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
A
Asked by: Akansha Chawla · 6 years ago
Depending upon the network configuration dhcp/static ip’s are assigned to available network adapters within linux OS. These settings can be defined…
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
A
Asked by: Anisha Dalal · 6 years ago
Iftop command can be used to monitor network related traffic, bandwidth usage, transmitting and receiving speed to and from available ip’s to all…
Devops · Linux
1 Answer
·
1.7K Views
·
Answered ✓
K
Asked by: Krithika Bhatt · 6 years ago
It's very essential to know where system logs are stored. In case any system/application failure system logs play an important role in knowing…
Devops · Linux
1 Answer
·
1.8K Views
·
Answered ✓
R
Asked by: Radhika Patel · 6 years ago
Different ip’s mapped with available adapters can be seen via ifconfig command. The command output also shows the amount of data transfer i.e…
Devops · Linux
1 Answer
·
1.6K Views
·
Answered ✓
A
Asked by: Ayushi Khatri · 6 years ago