Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I forgot to use > filename after curl operation.

linux console is giving contiguously garbage data(hopefully downloading and displaying the content on console).

How can we stop this process (ctrl-c s not working)?

getting continous output like this:

ÎþH2ݾà#qsý¼°-sáGâvâzì#éì¼ÄúÁN\t1à }$ZXGcô°

executed following

curl http://example.com/file.tgz

Instead of

curl http://example.com/file.tgz > mongo.tgz
share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Just press Ctrl-C to abort the currently running process – in that case, curl spitting out data to stdout rather than a file.

If your terminal is still showing messed up symbols, clear it with Ctrl-L or entering clear.

share|improve this answer
    
i tried ctrl-c but i am getting console output –  P K Mar 19 '12 at 15:53
    
Try pressing Ctrl-L to clear the screen. –  slhck Mar 19 '12 at 15:54
    
thanks slhck, i think ctrl-L will work.. –  P K Mar 19 '12 at 15:58
    
Ctrl - c killed the process, but it somhowe changed the locale to Chinese !??? Now I know what home looks like in Mandarin :) –  RickyA Jan 23 at 11:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.