Thread
:
Shell or Python Scripts - Interesting Scripts for N900
View Single Post
butler
2010-10-20 , 13:41
Posts: 30 | Thanked: 42 times | Joined on Oct 2010 @ Russia
#
14
Mentalist Traceur, "echo" prints it's command-line arguments to stdout, so "echo >script.py" will just create an empty file. If "cat" is executed without arguments, it copies stdin to stdout, so it will put into file everything you type on console. Ah, and afer paste you should type Ctrl-D, or "cat" will be listening for input forever.
Quote & Reply
|
The Following User Says Thank You to butler For This Useful Post:
Mentalist Traceur
butler
View Public Profile
Send a private message to butler
Find all posts by butler