What is the bash pipe identity? [closed] - bash

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
In Posix, what is the bash pipe identity? That is, the program which copies stdin to stdout?

The Posix bash pipe identity is cat -.

Related

What is difference of 'bash' and '-bash'? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
When I run the ps -f command on Linux, the output shows 'bash' and '-bash'. I think there must be some diffrence between them. Is there someone can explain it, especially '-bash'? What is the meaning of the leading hyphen?

How can I see my actual directory in my bash prompt? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed bash in my Anaconda prompt, and this is what I'm seeing:
bash-4.3$
and I would like to see something like:
zzzz#zzvdhdc/users/xxx/myactualdirectory
use \w for the current directory:
PS1='\w $'
see man bash for more options to change your promt.

Why is my "ls -A" displaying current and parent directory (even if should not?) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm writing a little bash script.
As written in the reference:
http://linuxcommand.org/man_pages/ls1.html
ls -A
Should not list "./" and "../" directories.
But... on my system (centOS) is still listing it.
Is there some option "always on" I should be take care of before running this script?

Ubuntu two commands in one line doesn't behave as expected [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm logged in as root and i do:
su killyz && whoami
the user will switch but the whoami won't print until i Ctrl+D, why is that?
su opens a new shell and won't exit until that shell is closed, via Ctrl-D or some other method.

Cancel Terminal Password [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
When say using sudo, it requires a password. But at the instance, I decide that I do not actually want to take the command (or forget the password and want to try again later). What should I do other than close the terminal externally?
Type Control-c to kill the command.

Resources