Linux Shell Developer

 60 Minutes
 4 Questions


This test is designed to assess a candidate's knowledge of coding, Linux shell, and fundamentals. It will include multiple-choice questions on topics such as coding syntax, Linux shell commands, and basic computer science concepts. The test will also include coding challenges that require the candidate to write code to solve a given problem. The test is designed to evaluate the candidate's ability to think critically and apply their knowledge of coding, Linux shell, and fundamentals to solve problems.


Example Question:

Coding
Please implement the function replaceCharacter to replace the n character of a given string with the smbol '*'. The new string should be assigned to the global variable $res (assume it is already defined).
Function parameters:
- String
- The character position
Example
When calling the function with the following parameters:
replaceCharacter welcome 4
It will assign:
res="welc*me"
Note:
- The characters count start from 0
- The function should be written in Bash