• Skip to main content
  • Skip to after header navigation
  • Skip to site footer

Free-Mail

  • Events
  • Images
    • Instagram Goodness
  • Music
  • News
  • Software

How to use heredoc as a text editor

How to use heredoc as a text editor: woman on laptop sitting at the window

There’s a somewhat obscure feature in Linux and Unix shells that allows you to open a sort of do-while loop for the cat command. It’s called the heredoc, and it enables you to have, more or less, a text editor no matter what shell you’re using. The syntax is:

read more: Opensource.com sethkenlon

Supporting Open Source.

Have you tried: Farking?

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Pinterest (Opens in new window) Pinterest
  • Email a link to a friend (Opens in new window) Email
  • More
  • Share on Tumblr (Opens in new window) Tumblr
  • Print (Opens in new window) Print
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
Published on 25 December 2020 by Alan Category: SoftwareTag: Editor, heredoc, Text

Peter Andre has a £45 beauty hack for fine lines that wife Emily calls ‘bonkers’

Peter Andre has shared his surprising £45 skincare trick that’s got wife Emily calling him …

Read morePeter Andre has a £45 beauty hack for fine lines that wife Emily calls ‘bonkers’

Inflation Jumps Back to 4%: Pressure on Interest Rates Increases

The latest inflation figures suggest that South Africa’s period of low inflation may be rapidly …

Read moreInflation Jumps Back to 4%: Pressure on Interest Rates Increases

Dingo welcomes international visitors for innovative ‘voluntourism’ experience

After a month-long filming trip across United States, South African YouTube sensation and wildlife …

Read moreDingo welcomes international visitors for innovative ‘voluntourism’ experience

About Alan

Previous Post:Cape Town, South Africa
Next Post:Kevin James (Rescheduled from 3/21/2020)

Reach Trust

Reach Trust is a holding trust for a number of companies within the Stratlec Group.

Copyright © 2026 · Free-Mail · All Rights Reserved · Powered by Straton Electrical

Back to top