GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How about "bash"?
In the University I'm going, every time I say "bash", some teacher corrects me with whether bourne shell, or B-shell. I can get bash being "bourne again shell", so "bourne shell" is close, but what the hell is wrong with just saying bash? Technically it's more correct than just "bourne shell".
Remember, bash ≠ Bourne Shell (sh), it's a clone with some improvements.
In fact, at least in later Fedoras, 'sh' is simply a link to 'bash'. So, you're using bash whether you wanted to or not.
And I think the strictly correct name is "bourne again shell", anyone I've ever talked to simply calls it "bash". And your teacher is too strict if he requires you to say its entire name.
How about "bash"?
In the University I'm going, every time I say "bash", some teacher corrects me with whether bourne shell, or B-shell. I can get bash being "bourne again shell", so "bourne shell" is close, but what the hell is wrong with just saying bash? Technically it's more correct than just "bourne shell".
If that's what the Prof wants then repeat it that way until you graduate or pass that class.
I used to pronounce 'etc' as ee tee cee until I heard 'etsee' used in a podcast, and the new pronunciation stuck.
For several of the system directories, I will pronounce them based on the word they are short hand for.
/var as in variable
/lib as in library
/sys as in system
/bin as in binary
At least there isn't any problem with /home or /media. Maybe they thought better than to name them /hom and /med to prevent them from be being pronounce as in the words homonym and medical.
how do you pronounce arm processor. since it is always capatalized i think it is supposed to be pronounced aye-are-emm but i just pronounce it like the body part.
The presence of the StrongARM version indicates it's probably an acronym.
RISC - risk
CISC - Sisk (not kisk)
Quote:
Originally Posted by rikijpn
How about "bash"?
In the University I'm going, every time I say "bash", some teacher corrects me with whether bourne shell, or B-shell.
Bash is bash. sh is Bourne shell. They are two different things.
However, bash's syntax is (at least very nearly) a superset of sh's. If you are writing scripts that are standard sh, you should call them Bourne shell scripts or sh scripts. ('Shell scripts' is acceptable but unclear). If you are using bash-specific features, you must call them bash scripts.
If you are referring to the interactive command line, call it what it is. Which is probably bash. In that sense, calling bash "Bourne shell" is like calling OpenOffice.org Impress "Powerpoint".
And if your teacher doesn't understand this, don't study from them.
('Shell scripts' is acceptable but unclear). If you are using bash-specific features, you must call them bash scripts.
I could understand if you wanted to distinguish a Bourne-shell script from a bash script in a situation where that was absolutely necessary, but if you're just speaking in general, wouldn't "shell script" suffice?
@Kenny there's no article called "Sudó"...what's with the WP link?
If you're speaking very generally, then yes it suffices. The problem starts when somebody uses bash-specific features and passes their "shell script" to someone who tries to run it without bash.
Of course bash is the de facto standard these days, so it's unlikely to be an issue. But a similar thing could arise if you used zsh-specific features and then the script was attempted run in bash.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.