Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Linux

Linux Questions & Answers

Browse 26 Linux questions and answers from learners and industry experts. Find practical fixes, interview prep and step-by-step solutions - or ask your own.

26Discussions
26Answers
0Waiting for an answer
Ask a Linux Question →

How to create & use functions in shell scripts.

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 ✓

Asked by: Radhika Patel · 6 years ago

Looping in shell (Do .. while loop)

In do while loop, first the command is executed and then the condition is checked. Syntax -

Devops · Linux

1 Answer · 1.8K Views · Answered ✓

Asked by: Kalyani Malhotra · 6 years ago

Case statement

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 ✓

Asked by: Siya Kohli · 6 years ago

Conditional statements (If & If else).

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 ✓

Asked by: Diya tomar · 6 years ago

Defining variables and how to access values.

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 ✓

Asked by: Nishita Choudhary · 6 years ago

How execution flows during runtime within shell script.

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 ✓

Asked by: Sadaf Sharma · 6 years ago

Types of scripts.

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 ✓

Asked by: Akansha Chawla · 6 years ago

DHCP and DNS overview.

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 ✓

Asked by: Anisha Dalal · 6 years ago

How to monitor network and related aspects in Linux.

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 ✓

Asked by: Krithika Bhatt · 6 years ago

How to check system/application logs in linux.

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 ✓

Asked by: Radhika Patel · 6 years ago

IP monitoring, bandwidth utilization & available adapters.

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 ✓

Asked by: Ayushi Khatri · 6 years ago

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.

Explore other technologies

Pick another topic to find answers, interview questions, and real-world tips.