Score:0

Why the file /bin/sh point to dash shell but my default shell is bash?

io flag

When I type the command:

ls -la /bin/sh

I have this output:

lrwxrwxrwx 1 root root 4 Feb 17 12:26 /bin/sh -> dash

So the file /bin/sh is a symlink pointing to the dash shell program.

But when I check what is the current shell program I'm using by typing this:

echo $SHELL

I have this :

/bin/bash

So I'm using bash but why the file /bin/sh is pointing to the dash shell program? What is the used of /bin/sh?

My current Linux kernel version is 5.15.0-1025-raspi

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.