Creating A Text File In Linux Shell
RegisterLogin
Creating A Text File In Linux Shell
Post Description: Creating A Text File In Linux Shell
Tags: Creating, A, Text, File, In, Linux, Shell
This Post Was Posted On Apr 24, 2008 By rajeev32 #2226
Post Description: Creating A Text File In Linux Shell
Tags: Creating, A, Text, File, In, Linux, Shell
This Post Was Posted On Apr 24, 2008 By rajeev32 #2226
Creating A Text File In Linux Shell by rajeev32
can you show me how i can create a file in linux
i just want to make a simple file for example
thank you
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
parth
#2304 1
kya ghatiya chiz he....
Aug 23, 2009 Reply Report abuse
Web Hosting Support
#2303 2
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:
2. Type the following:
3. Now hit Control-D, to exit
4. Enter
5. To display the contents of index.html, send this command:
6. you should see something like this:
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
Apr 24, 2008 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 1:25 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3