What is difference of 'bash' and '-bash'? [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 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?

Related

What is the bash pipe identity? [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 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 -.

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.

ec2 instance running continually [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 3 years ago.
Improve this question
just wondering is it possible that I can run an instance after I disconnect it?
The only thing I found is the link but it is not relevant to what I want.
link1
link2
I guess you mean keep it running in background?try
sudo apt-get install screen

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?

I'm assuming my laptop is hacked by police? [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 8 years ago.
Improve this question
I'd like some quick tips to find out about my privacy being invaded. I've tried task manager and msconfig.
Use PeerBlock, it's a really good firewall and gives you a Log (once it said that some prince was trying to enter my pc, wtf?!) http://peerblock.com/

Resources