• Home
  • Interview Questions
  • Online Quiz Tests
  • Blog
  • Contact Us

Global Guideline - Interviewer and Interviewee Guide.

Links
  • Home
  • Interview Questions
  • Online Quiz Tests
  • Blog
  • Contact Us
  1. Interviews
  2. Operating System Linux
  3. Linux Shell

Linux OS Shell Question:

Which command reads user input from the terminal and assign this value to a variable name?
a) read
b) get
c) declare
d) set

Linux Shell Interview Question
Linux Shell Interview Question

Answer:

a) read


Previous QuestionNext Question
What is the output of this program?

#!/bin/sh
san_function1() {
a=5
echo "This is the first function"
san_function2
}
san_function2() {
echo "This is the second function"
san_function3
}
san_function3() {
echo "This is the third function"
}
san_function1
exit 0
a) This is the first function
This is the second function
This is the third function

b) This is the first function
This is the third function
This is the second function

c) This is the second function
This is the first function
This is the third function

d) This is the third function
This is the first function
This is the second function
Which one of the following statement is true about variables in shell?
a) variables do not require declaration before assigning value to them
b) variables are case sensitive
c) to extract the contents of a variable, we have to provide the variable a preceding $
d) all of the mentioned

Interview Categories:

    • Awk Programming
    • Linux Administrator
    • Linux Bash Arithmetic Expressions
    • Linux Commands
    • Linux Debugging
    • Linux Device Drivers
    • Linux Editors
    • Linux Environment
    • Linux GCC Compiler
    • Linux General
    • Linux IPC
    • Linux Operating System Management
    • Linux OS
    • Linux OS Systems
    • Linux Shell
    • Linux Shutdown and Startup
    • Linux Signal Handling
    • Linux Socket Programming
    • Linux Sysfs
    • Linux System Calls
    • Linux Threads
    • Makefile
    • Proc Filesystem
    • Search Pattern
    • Static and Shared Libraries

Most Popular Quiz Categories:

Java AWT And SwingHTMLSQLOOAD (Object Oriented Analysis and Design)SAT (Scholastic Aptitude Test) Sentence CorrectionBiology Aptitude TestStatistics Aptitude TestNetworkingChemistry Aptitude TestManagement

Most Popular Interviews

  • Business and Economy
  • Networking
  • Computer Programming
  • Operating System
  • Computer Hardware

Most Popular Quizzes

  • Information Technology
  • Networking
  • Engineering
  • Accounting
  • Java

Keep in touch with us

 

Copyright © 2007 - 2025 globalguideline.com

all rights reserved.
  • About Us
  • Contact Us
  • Blog
  • Terms of use
  • Privacy Policy