Making Text File In Linux Terminal

RegisterLogin
Making Text File In Linux Terminal
Post Description: i want to learn about Making Text File In Linux Terminal color
Tags: Making, Text, File, In, Linux, Terminal
This Post Was Posted On Oct 12, 2009 By Stalandi #2551
can you show about making text file in linux shell terminal console
hikasbk
#2563 1
try these steps:

here you go

Often you want to create a text file. In my example, i will be creating a simple index.html file

1. Enter the cat command:
cat > index.html


2. Type the following:
Hello, I am creating index.html file


3. Now hit Control-D, to exit

4. Enter
ls
to list the files in the current directory, you will see [i:cdc522c5d9]index.html[/i:cdc522c5d9] in the list.

5. To display the contents of index.html, send this command:
cat index.html

6. you should see something like this:
Hello, I am creating index.html file

Oct 12, 2009 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 11:24 pm
Powered by: Webune Forums V3