What are the Different types of shells?
Answers were Sorted based on User's Feedback
Answer / dhrma
● The Bourne shell (includes sh, ksh, and bash)
● The C shell (includes csh and tcsh)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / seshadri sethi
sh : the oldest shell
csh
ksh
bash
tcsh
zsh
| Is This Answer Correct ? | 2 Yes | 1 No |
There are mainly two types of shell
1)The Bourne shell
2)The C shell
The Bourne shell includes
1)Bourne shell ( sh)
2)Korn shell ( ksh)
3)Bourne Again shell ( bash)
4)POSIX shell ( sh)
And the The C shell includes
1)csh(C shell)
2)tcsh(Tenex/Tops C shell)
| Is This Answer Correct ? | 1 Yes | 0 No |
How do I start a shell script?
How do I run a script on mac?
whta is the use of "exec" command?
shell script for reverse the string
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.
How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.
Create a bash shell script to sort and then uniq the file from the command line & store it to a new file and output the results to the screen. Name this script "sortAndUniq.sh"
How to sort a result of Ls -l command based on columns. Ex. i want to sort 5th column from output of ls -l command.
Print the 10th line without using tail and head command.
How will you list only the empty lines in a file (using grep)?
What is the syntax of "nested if statement" in shell scripting?