Search test library by skills or roles
⌘ K

Adaface Sample Shell Scripting Questions

Here are some sample Shell Scripting questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Easy

Commands
Solve
                                    Which of the following unix commands change the case of first three lines of file “classified” from lowercase to uppercase
                                    
 image

Options:

  • A
  • B
  • C
  • D

Easy

Expressions
Solve
                                    What does this shell script output?
                                    
 image

Options:

  • 21 21
  • Error 21
  • 3 21
  • 7 21
  • 21 Error
  • 0 21

Easy

Loops
Solve
                                    What are fourth and sixth lines output by this script:
                                    
 image

Options:

  • 3 even
  • 3 4
  • 4 5
  • 4 6
  • 4 even
🧐 Question🔧 Skill

Easy

Commands
2 mins
Shell Scripting
Solve

Easy

Expressions
2 mins
Shell Scripting
Solve

Easy

Loops
2 mins
Shell Scripting
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Commands
Shell Scripting
Easy2 minsSolve
Expressions
Shell Scripting
Easy2 minsSolve
Loops
Shell Scripting
Easy2 minsSolve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
Chat with us
40 min tests.
No trick questions.
Accurate shortlisting.