Đỗ Thu Hiền
New member
How do I create a new file in Ubuntu?
Answer
Part 2 Creating a Quick Text File
Answer
Part 2 Creating a Quick Text File
- Type cat > filename.txt into Terminal. You’ll replace “filename” with your preferred text file name (e.g., “sample”).
- Press ↵ Enter .
- Enter your document’s text.
- Press Ctrl + Z .
- Type ls -l filename.txt into Terminal.
- Press ↵ Enter .