Important Unix Shell Questions
Quick Revision Summary
Some Important Unix Shell Questions for Recent Graduates to help them in their Interview Preparations. There can be multiple Ke els and shells running on your system. True or Fa...
Interactive Practice Mode
Formulate your thoughts or take notes before revealing the model solution.
Saved automatically
Model Answer & Deep-Dive Explanation
Some Important Unix Shell Questions for Recent Graduates to help them in their Interview Preparations.
- There can be multiple Ke els and shells running on your system. True or False?
- Why shell is called Command Interpreter?
- Two UNIX systems may or may not use the same system calls. True or False?
- To obtain help on any feature of the system, what are the possible help sources available?
- Why are the directories /bin and /usr/bin usually found first in the output of echo $PATH?
- If two commands with the same filename exist in two directories in PATH, how can they be executed.
- How is the Current directory is indicated in the value of the PATH?
- Use the type command with the following arguments---cd, date, pwd and ls. Which are the inte al commands in the list?
- What is the difference between an argument and an option?
- if the command ls --all works on your system, which flavor of UNIX could you be using?
- What does the secondary prompt look like and when does it appear?
- You located the string crontab in a man page by searching with /crontab [Enter]. How do you find out the other occurrences of this string in the page?
- What is a pager? Name the two standard pagers used by man.
- If a command doesn't seem to complete, which key will you press to interrupt it?
- Do you need to wait for a command to finish before entering the next one?
- What do the | and the three dots in the SYNOPSIS section of these man pages indicate as shown below?
/usr/xpg4/bin/tail [ -f | -r ]/usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [file .. ] - How do you direct man to use a specific pager, say less?
- What is a whitespace? Explain the treatment the shell metes out to a command that contains a lot of whitespace.
- A Program file named foo exists in the current directory, but when we try to execute it by entering foo, we see the message foo: command not found. Explain how that can happen?
- What do multiprogramming, multiuser and multitasking mean?
- Why are many UNIX commands designed to perform simple rather than complex tasks?
Interviewer Evaluation Points & Scoring Rubric
- 1 Structure answer clearly: Core concept, Practical example, and Pitfalls to avoid.
- 2 Demonstrate clear communication without unnecessary buzzwords.
- 3 Relate concept to real-world software development scenarios.
Related Questions in Unix / Linux
Unix/Linux administration interview questions
Advanced level • 833 views
Linux admin interview questions
Intermediate level • 749 views
Nix Application Programming
Intermediate level • 706 views
Unix/Linux programming interview questions
Intermediate level • 575 views
Php and MySQL Important Questions
Advanced level • 512 views