exec ls and terminal completed [duplicate]











up vote
0
down vote

favorite













This question already has an answer here:




  • What's the difference between eval and exec?

    4 answers



  • Does running “exec echo some; echo test” in bash never print “some test”?

    3 answers




When I try to exec a ls



 $ exec ls
Vocabulary.md count_files.sh hours.bak.sh read_default.sh test.c
a.out data.md isphone.sh
[Process completed]


The terminal completed.



What does it happen here?










share|improve this question













marked as duplicate by muru, Filipe Brandenburger, Henrik, Thomas, Jeff Schaller 2 days ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
    – steeldriver
    2 days ago















up vote
0
down vote

favorite













This question already has an answer here:




  • What's the difference between eval and exec?

    4 answers



  • Does running “exec echo some; echo test” in bash never print “some test”?

    3 answers




When I try to exec a ls



 $ exec ls
Vocabulary.md count_files.sh hours.bak.sh read_default.sh test.c
a.out data.md isphone.sh
[Process completed]


The terminal completed.



What does it happen here?










share|improve this question













marked as duplicate by muru, Filipe Brandenburger, Henrik, Thomas, Jeff Schaller 2 days ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
    – steeldriver
    2 days ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:




  • What's the difference between eval and exec?

    4 answers



  • Does running “exec echo some; echo test” in bash never print “some test”?

    3 answers




When I try to exec a ls



 $ exec ls
Vocabulary.md count_files.sh hours.bak.sh read_default.sh test.c
a.out data.md isphone.sh
[Process completed]


The terminal completed.



What does it happen here?










share|improve this question














This question already has an answer here:




  • What's the difference between eval and exec?

    4 answers



  • Does running “exec echo some; echo test” in bash never print “some test”?

    3 answers




When I try to exec a ls



 $ exec ls
Vocabulary.md count_files.sh hours.bak.sh read_default.sh test.c
a.out data.md isphone.sh
[Process completed]


The terminal completed.



What does it happen here?





This question already has an answer here:




  • What's the difference between eval and exec?

    4 answers



  • Does running “exec echo some; echo test” in bash never print “some test”?

    3 answers








bash






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









avirate

447210




447210




marked as duplicate by muru, Filipe Brandenburger, Henrik, Thomas, Jeff Schaller 2 days ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by muru, Filipe Brandenburger, Henrik, Thomas, Jeff Schaller 2 days ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
    – steeldriver
    2 days ago


















  • exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
    – steeldriver
    2 days ago
















exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
– steeldriver
2 days ago




exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
– steeldriver
2 days ago















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Entries order in /etc/network/interfaces

新発田市

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)