1

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

1 Answer 1

5

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.

3
  • i tried ctrl-c but i am getting console output
    – P K
    Commented Mar 19, 2012 at 15:53
  • Try pressing Ctrl-L to clear the screen.
    – slhck
    Commented Mar 19, 2012 at 15:54
  • Ctrl - c killed the process, but it somhowe changed the locale to Chinese !??? Now I know what home looks like in Mandarin :)
    – RickyA
    Commented Jan 23, 2014 at 11:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .