You are not logged in.

#1 2012-03-27 06:48:37

AgentVinod12
User RankUser RankUser RankUser RankUser RankUser Rank
Agent Vinod
From: India
Registered: 2012-03-23
Posts: 1,149
Website

Shell Scripting Interview Questions And Answers

Operating Systems Windows Linux Unix and Mac :: Shell Scripting Job Interview Questions and Answers

Shell Scripting Interview Questions and Answers will guide us now that a shell script is a script written for the shell, or command line interpreter, of an operating system. It is often considered a simple domain-specific programming language. Typical operations performed by shell scripts include file manipulation, program execution, and printing text. Learn Shell Scripting with this Shell Scripting Interview Questions with Answers guide

1 What are PIDs?
2 How do you send a mail message to somebody?
3 How do you remove a file?
4 How do you remove recursively?
5 How do you find out your own username?
6 How do you count words, lines and characters in a file?
7 How do you search for a string inside a given file?
8 How do you search for a string inside a directory?
9 How do you search for a string in a directory with the subdirectories recursed?
10 How do you list currently running process?
11 How do you find out whats your shell?
12 How do you fire a process in the background?
13 How do you refer to the arguments passed to a shell script?
14 Whats the conditional statement in shell scripting?
15 How do you do number comparison in shell scripts?
16 How do you test for file properties in shell scripts?
17 How do you do Boolean logic operators in shell scripting?
18 How do you find out the number of arguments passed to the shell script?
19 Whats a way to do multilevel if-elses in shell scripting?
20 How do you write a for loop in shell?
21 How do you find out the current directory youre in?
22 Whats the command to find out users on the system?
23 Whats the command to find out todays date?
24 How do you stop a process?
25 How do you find out about all running processes?
26 How do you stop all the processes, except the shell window?
27 How do you define a function in a shell script?
28 How do you read keyboard input in shell scripts?
29 How does a case statement look in shell scripts?
30 How do you write a while loop in shell?

2012-03-27 06:48:37

Advertisement
Ads By Google

Re: Shell Scripting Interview Questions And Answers



\n
The following user say "Thank You" for this post:Guest

Board footer