Networking

Hardware

Software

Consultation

 

Creating Files From The Command Line

 
 

The simplest way to create a file, and fill it, from the command line is:

cat > myfile <<EOF
###########################
# The Content of the file #
###########################
# Note that the file will #
# look exactly as it is   #
# typed here.             #
###########################
EOF

That's it !!