How do you create a file in UNIX

Answer Posted / abhishek dilliwal

yeah above are the ways but i have 1 more,

echo "
Here u write contents of file
this is second line of file
" | cat > NewFile

Is This Answer Correct ?    57 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awk command used for?

594


What is the use of cut command in unix?

679


What is “chmod” command?

556


What is nr in awk command?

591


What is in grep command?

635






What do know about tee command?

594


What is the use of awk command in unix?

565


What are the commands in UNIX to list the files in a Directory?

604


What does the md command do?

560


What is the functionality of a top command?

615


Describe the zip/unzip command using gzip.

600


What does awk stand for?

601


What is the use of egrep command in unix?

617


Which unix command to make a new directory?

580


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

786