We are building EduLadder(ELADR) - Protocol

The Eladr Protocol is a decentralized, security and efficiency enhanced Web3 noSQL database powered by IPFS as the data storage layer https://ipfs.io/, and the Cardano block chain as the rewards token platform, https://cardano.org/. It provides a JSON based, IPFS layer 2 solution for data indexing and retrieval in an 'append only' file system built with open source Node.js API libraries.

Eladr tokens are designed to incentifised community members as a proof of contribution. Using that they can access diffrent infrastructure built on top of eladr


Using this You can,Buy courses,Reward others and exchange for real money.


WHITE PAPER Buy Now

Real Problems! Real Experts!

Join Our Telegram Channel !


The Eduladder is a community of students, teachers, and programmers. We help you to solve your academic and programming questions fast.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions
Billion Drop

We are starting air drop for the month November So that you can test alpha version of our eladr protocol that will release soon. Who ever has ever posted an answer on eduladder is eligible for this. Please update your profile with cardano address to test.

For any question or query please joinOur Telegram Channel !


Countdown Started

List Of Profiles Enrolled
Youtube Videohttps://www.youtube.com/watch?v=JnuD8IEan4s

Our Github Repo
FrontEnd BackEnd

We are looking for some great and cool people to work with us. Please sent your resume to admin@eduladder.com

Shell-Script-interview-questions-intermediate-->View question

In Shell scripting, how can you say that C Shell is better than Bourne Shell?

 In Shell scripting, how can you say that C Shell is better than Bourne Shell?


Asked On2019-06-18 16:14:36 by:gokilapriya

Taged users:


Likes:
Be first to like this question

Dislikes:
Be first to dislike this question
Talk about this  Like  Dislike
View all questions
Answers
BASH evidently has more features than CSH since it has the features of all other shells in addition to its own. It is also more suitable for use by beginners, and learning it will introduce users to the other shells since their features are also being used by BASH.
The C shell (CSH) is a command processor which runs on a text window and causes action when a user types a command. It is a Unix shell which was developed by Bill Joy in the late 1970s with the help of Michael Ubell, Mike O’Brien, Jim Kulp, and Eric Allman.
It can read scripts and do several other functions such as supporting command substitution, the wild carding of file names, control structures, documents, and variables. It incorporates job control with C syntax, history mechanism, and interactive completion of file names and user names. Aside from being a shell script command processor, it is also used as an interactive login shell.
Bourne Again shell (BASH) is also a command processor that runs on a text window just like other Linux shells. It was developed as a replacement for the Bourne shell by Brian Fox for use on the GNU operating system. It was released in 1989 and combines the features of CSH, KSH, and SH. The keywords and syntax that it uses are from SH which have many extensions unlike the original Bourne shell. Its command line editing, command history, command substitution, and directory are from KSH and CSH.







Answerd on:2019-06-26 Answerd By:KAPILJHADE

Likes:
|KAPILJHADE

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here

BASH evidently has more features than CSH since it has the features of all other shells in addition to its own. It is also more suitable for use by beginners, and learning it will introduce users to the other shells since their features are also being used by BASH.
The C shell (CSH) is a command processor which runs on a text window and causes action when a user types a command. It is a Unix shell which was developed by Bill Joy in the late 1970s with the help of Michael Ubell, Mike O’Brien, Jim Kulp, and Eric Allman.
It can read scripts and do several other functions such as supporting command substitution, the wild carding of file names, control structures, documents, and variables. It incorporates job control with C syntax, history mechanism, and interactive completion of file names and user names. Aside from being a shell script command processor, it is also used as an interactive login shell.
Bourne Again shell (BASH) is also a command processor that runs on a text window just like other Linux shells. It was developed as a replacement for the Bourne shell by Brian Fox for use on the GNU operating system. It was released in 1989 and combines the features of CSH, KSH, and SH. The keywords and syntax that it uses are from SH which have many extensions unlike the original Bourne shell. Its command line editing, command history, command substitution, and directory are from KSH and CSH.

Answerd on:2019-06-26 Answerd By:KAPILJHADE

Likes:
|KAPILJHADE

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here

We can use below syntax to define function:
function function_name {
            Body of function
 }
Body of function can contain any valid command, loop constrain, other function or script. Now let us create simple function which displays message on screen.
function print_msg {
       echo "Hello, World"
 }
Now let us execute this function:
 $ print_msg
 output: Hello, World
As expected, this function displays message on screen.

In above example we have created function directly on terminal. We can store this function in file as well. Below example demonstrates this.
#! /bin/bash
 function print_msg {
       echo "Hello, World"
 }
 print_msg
We have defined this function inside function.sh file. Now let us execute this script:
 $ chmod +x function.sh
 $ ./function.sh
 output: Hello, World
If you observe, above output is exactly identical to previous one.

Answerd on:2019-06-26 Answerd By:KAPILJHADE

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here

Bash is basically Bourne with more features; though, most of the commands work similarly, there are differences. Namely, interfaces and script compatibility.

The first difference with Bourne is that it doesn't come with all of the conveniences of Bash. One of the most obvious is color. With modern Bash, you'll see that different types of files are different colors.

For example, directories are blue; binary files are a shade of burgundy; and nonbinary, flat files are either black or white, depending on the color of your terminal.


Bash is a great all-rounder, with excellent documentation, while Zsh adds a few features on top of it to make it even better. Fish is amazing for newbies and helps them learn the command line. Ksh and Tcsh are better suited for advanced users, who need some of their more powerful scripting capabilities.




Answerd on:2021-12-28 Answerd By:Akhil-Dev-D

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here



Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.How to answer a question
Career: Work or do your internship with us.Work with us
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.How to upload a video on eduladder