How do I save and create a file in Ubuntu?

Stasenndb

New member
How do I save and create a file in Ubuntu?
Answer
Open a terminal and type the following command to create a file called foo.txt:
  1. > foo.txt.
  2. touch foo.txt. To verify your file, enter:
  3. ls -l foo.txt cat foo.txt. Example – Create a text file. …
  4. cat > bar.txt. Add text or lines: This is a test. …
  5. ls -l bar.txt cat bar.txt. RSS feed ➔ Weekly email newsletter ➔
 

Tìm kiếm

Back
Top