Shell Script Interview Questions
Questions Answers Views Company eMail

I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?

1 3456

write a shell program to check wheather a given string is pallindrome or not?

4 9603

Explain how you Automate your application using Shell scripting.

MAHINDRA,

2079

write a shell script to check whether all the directories in the path exist has read and write permission

1 4668

c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3434

c program to display the information of given file similar to givan by the unix or linux command ls -l

IBM,

1952

c program which accept one argument as a directory name and prints all the file name along with its inode number and total count of the file in directory

1 4093

c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

2 5959

c program to check whether all the directories in the path exists has read and write permission

1 3033

c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

4980

write a program to display all the files from the current directory which are created in particular month

6 10628

write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null

1 6253

write a shell script to find the largest number from 3 given numbers.

6 27491

HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?

Patni,

3 8123

I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp

1 4094


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

Can shell script run on windows?

779


on “sed” command EmpData(Sample Database) 1122|j.b. saxena |g.m. |account |12/12/52|6000 2233|n.k. gupta |d.g.m |sales |31/12/40|9000 4545|anil agarwal |director |account |06/07/47|7500 5656|lalit choudhury |executive|marketing|07/09/50|5000 1265|chanchal singhvi|g.m. |admin |12/09/63|6000 0110|shyam saksena |chairman |marketing|12/12/43|8000 5566|jai sharma |director |account |23/12/89|7000 7733|jayant |d.g.m |sales |29/02/70|6000 1. From the above database substitute the delimiter of first 3 lines with “ : “ 2. From the above database substitute the delimiter with “ : ” 3. Insert the string “ XYZ Employees” in the first line. 4. Store the lines pertaining to the directors, d.g.m and g.m into three separate files. 5. Using address store first 4 lines into a file Empupdate. 6. Find the pattern “account” in the database and replaces that with “accounts”. 7. Select those lines which do not have a pattern “g.m”. 8. Insert a blank line after every line in the database.

2867


What are different types of shell?

693


What are the different communication commands available in the shell?

736


Is bash a shell script?

830


What is bash shell command?

752


Is shell a scripting language?

788


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

4980


What does egrep mean?

762


What are the different variables present in linux shell?

814


What is awk in shell scripting?

812


How to set an array in linux?

823


shell script for reverse the string

1116


What is the difference between bash and shell?

859


What are the advantages of shell script?

740