Quantcast
Browsing latest articles
Browse All 4 View Live

Answer by Christian Meißner for How to input text into a new text file using...

You can use a here document but with this way it is not possible to provide a special output document. $ cat | nano <<-EOF one two three EOF Received SIGHUP or SIGTERM Buffer written to nano.save...

View Article


Answer by ValeriyKr for How to input text into a new text file using nano...

nano foo.txt Press Hello, world.^O^X, where ^ is ctrl button. ^O is Write, ^X is Exit.

View Article


Answer by Zumo de Vidrio for How to input text into a new text file using...

Open nano: nano Write your text: "Hello, world" Press Ctrl+O (Save file) It will ask for File Name to Write, introduce it. Exit with Ctrl+X

View Article

How to input text into a new text file using nano from command line?

How to input text into a new text file using nano from command line? I would like the same as with the following, but using nano: echo 'Hello, world.' >foo.txt Result: nano is not capable of...

View Article
Browsing latest articles
Browse All 4 View Live