by huanming » Fri Oct 30, 2009 9:51 am
do not run that command!
it's several commands running one after another.
don't trust what your friend says specially in the terminal, i'll tell you why
touch man.txt = create the empty file man.txt
man touch cat.txt = show the manual (help) for the command touch and cat.txt (it will fail since cat.txt is not a command)
man cat | man.txt = show the manual for the cat command and send it to the file man.txt
wc -l man.txt = count the lines in man.txt
kill -9 1 = kills the program that is running with a process id of 1
this last command i will not ever recommend you run.
oh yeah, to do the same thing under windows you put a & between commands
c:\ cd \windows & dir /w & pause & cd .. & dir /w & pause