PDA

View Full Version : what will this bash command do?



bdeklerk
13th April 2009, 07:52 AM
Hey people, wondering if anyone can tell me what the following bash command will do?
$ sort *.I > Idocs &; Ipr *.c &

daverj
13th April 2009, 11:27 AM
well, you can always find our for yourself by executing it.

marcrblevins
14th April 2009, 01:52 AM
It sends your SSN and credit card numbers to the public, clears out your checkbooks, etc. Just kidding.

Mind sharing where you got that oddball liner?

It doesn't work for me when I don't have any .c or .l files laying around.

eviltux
14th April 2009, 07:37 AM
it seems that that command sort *.I > Idocs &; Ipr *.c &
sort the files with .I at the end and the it redirect it's output to Idocs &; Ipr *.c & but I dunno what's that lol

Linux (http://www.linux-archive.org/)