The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how to add new line character
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
how to add new line character
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
11-23-2007
varungupta
Registered User
Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
Hey,
You can use the following three commands to add a new line to a file.
echo "\n" >> file.outor
echo -e "\n" >> file.out
echo >> yourfile
Thanks
varungupta
View Public Profile
Find all posts by varungupta
Find varungupta's past nominations received
Find varungupta's present nominations given