create a file with echo linux shell command

RegisterLogin
create a file with echo linux shell command
Post Description: create a file with echo linux shell command
Tags: create, a, file, with, echo, linux, shell, command
This Post Was Posted On Apr 11, 2008 By unix #510
i have a linux dedicated server with you and im not an expert on linux but i remember when i was taking a linux class in school, i remember we could make a file with the echo command but i forgot how to do it.

i remember we can make the file with the output of the command

can you tell me

for example, i want to make a file with the a list of my files in is, you know something simple so i can understand

i know the command for listing is ls

so how can i do it?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
unixusers45
#683 1
you can use the command

man2html
Apr 11, 2008 Reply Report abuse
hostman
#682 2
when i try to open it with my browser, i see a bunch of little squares why is that?

like this for example:

NNAAMMEE
rpm - RPM Package Manager

SSYYNNOOPPSSIISS
QQUUEERRYYIINNGG AANNDD VVEERRIIFFYYIINNGG PPAACCKKAAGGEESS::
rrppmm {--qq||----qquueerryy} [sseelleecctt--ooppttiioonnss] [qquueerryy--ooppttiioon


i wish i could make linux files view in html utf-8
Apr 11, 2008 Reply Report abuse
hostman
#681 3
well lets say you wan to do that. to create a file from the output of a command you can do this for example:

ls > list.txt


this is saying, create a file called list.txt from the output of ls

now when you do

simple huh

hope this helps
Apr 11, 2008 Reply Report abuse
Leave Your Comments...
©2011 Webune Forums - Tue Dec 20, 2011 7:07 am
Powered by: Webune Forums V3