Latest Environment Interview Preparation Guide Download PDF
Environment frequently Asked Questions in various Linux Environment job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting
42 Linux Environment Questions and Answers:
Table of Contents:
![Latest Linux Environment Job Interview Questions and Answers](https://globalguideline.com/public/images/interview/12.png)
5 :: If a file with execute permissions set, but with unknown file format is executed:
a) The file is passed to /bin/sh
b) The system returns an error
c) The current shell will try to execute it
d) None of the mentioned
c) The current shell will try to execute it
6 :: Which of the following is true?
a) Shell is a process and can be started by superuser only
b) Shell is a built-in Kernel functionality
c) Shell is a wrapper for all the commands and utilities
d) None of the mentioned
c) Shell is a wrapper for all the commands and utilities
7 :: Which is true with regards to the shell prompt:
a) It can be accidentally erased with backspace
b) The prompt cannot be modified
c) The prompt can be customized (modified)
d) None of the mentioned
c) The prompt can be customized (modified)
8 :: What is a shell in UNIX?
a) a program through which users can issue commands to UNIX
b) a window management system
c) the login screen
d) the thing that rides on the back of a turtle in UNIX
a) a program through which users can issue commands to UNIX
9 :: Which of the following represents an absolute path?
a) ../home/file.txt
b) bin/cat
c) cs2204/
d) /usr/bin/cat
d) /usr/bin/cat
10 :: The user bhojas logged in and performed the following sequence of command. What will be the output of the last command?
$ cd project/module1
$ pwd
a) /home/bhojas/project/module1
b) /home/project/module1
c) /usr/bhojas/project/module1
d) project/module1
a) /home/bhojas/project/module1
11 :: BASH shell stands for?
a) Bourne-again Shell
b) Basic Access Shell
c) Basic to Advanced Shell
d) Big & Advanced Shell
a) Bourne-again Shell
13 :: Shell is?
a) Command Interpreter
b) Interface between Kernel and Hardware
c) Interface between user and applications
d) Command Compiler
a) Command Interpreter
14 :: Hidden files are:
a) Those whose 'read' bit is set to 'h'
b) Permitted for (can be accessed) only superusers
c) Files that begin with a '.'
d) Files that cannot be opened by ordinary user for writing
c) Files that begin with a '.'
15 :: For every successful login, which script will be executed?
a) /etc/inittab
b) /etc/profile
c) /etc/login
d) /etc/init
b) /etc/profile
16 :: Which command is used to debug a shell script program:
a) set
b) set -x
c) debug
d) db
b) set -x
18 :: While executing a command, the shell:
a) Executes it in the same process (as shell)
b) Creates a child shell to execute it
c) Loads a special program to take care of the execution
d) None of the above
b) Creates a child shell to execute it
20 :: To feed standard output of one command to standard input of another in a single shell session:
a) IO redirection can be used
b) Named pipes can be used
c) The pipe operator provided by the shell can be used
d) It can not be done
c) The pipe operator provided by the shell can be used
23 :: Which of the following statement is FALSE?
a) Unix supports multiple users
b) Linux is an open source operating system and the source code is shared
c) Shell takes care of inter process communication
d) Shell provides the feature of I/O Redirection
c) Shell takes care of inter process communication
24 :: SVR4 was developed by:
a) Sun Microsystems
b) AT&T
c) University of Berkeley
d) Sun and AT&T jointly
d) Sun and AT&T jointly
25 :: Syntax of any Unix command is:
a) command [options] [arguments]
b) command options [arguments]
c) command [options] [arguments]
d) command options arguments
a) command [options] [arguments]
![Linux Environment Interview Questions and Answers](https://globalguideline.com/public/images/interview/25.png)