exec ls and terminal completed [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











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
    Nov 17 at 3:01














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
    Nov 17 at 3:01












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 Nov 17 at 2:51









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
    Nov 17 at 3:01
















  • exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
    – steeldriver
    Nov 17 at 3:01















exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
– steeldriver
Nov 17 at 3:01




exec replaces the current shell - see also Does running “exec echo some; echo test” in bash never print “some test”?
– steeldriver
Nov 17 at 3:01















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?