How Do I Create A Text File In My Linux Shell?
RegisterLogin
How Do I Create A Text File In My Linux Shell?
Post Description: This Post Is About Creating A Simple Text File With The Linux Shell Command In The Terminal Console Of Unix Systems
Tags: How, Do, I, Create, A, Text, File, In, My, Linux, Shell?
This Post Was Posted On Dec 19, 2009 By Webune Support #2928
Post Description: This Post Is About Creating A Simple Text File With The Linux Shell Command In The Terminal Console Of Unix Systems
Tags: How, Do, I, Create, A, Text, File, In, My, Linux, Shell?
This Post Was Posted On Dec 19, 2009 By Webune Support #2928
How Do I Create A Text File In My Linux Shell? by Webune Support
we provide dedicated linux servers
if you are reading this post is probably because you want to know what command you can use to make a file with just one command using the linux shell.
well, you're in luck. we will show you how to create a file very easy with just one command
before we begin, you must be logged into a shell session.
now that you are in the shell send this command:
SHELL COMMAND:
cat > webune.txt
TYPE:
Hello, I am creating webune.txt file using Webune's Tutorials
Now hit Control-D, to exit
Now enter the ls command to list the files
SHELL COMMAND:
ls
you should see webune.txt in your list, now view the contents of webune.txt with this command:
SHELL COMMAND:
cat webune.txt
you should see:
Hello, I am creating webune.txt file using Webune's Tutorials
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2012 Webune Forums - Fri Dec 14, 2012 7:35 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3