This is the old SliTaz forum - Please use the main forum.slitaz.org

What command is equivalent to 'copy con a.txt' in dos?
  • JerryJerry March 2010
    Or I have to use vi?
  • mojomojo March 2010
    cat  >a.txt

    enter,then type what you want in a.txt hit enter again then Ctrl+D
    cat >>a.txt
    the same as above to append to what you already typed in a.txt
    If you repeat
    cat >a.txt
    it overwrites the existing text
    cat a.txt
    to view the contents of a.txt

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social