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 the nmap command?

578


Explain ‘system calls’ with respect to unix commands?

598


How do I clear my terminal history?

576


Write a command that will display files in the current directory, in a colored, long format.

676


Explain how to use grep command to list find the records of a file containing 10 different strings?

591






What do chmod, chown, chgrp commands do?

628


Who command in unix?

568


What is the command to find maximum memory taking process on the server?

665


What is the difference between cat and more command?

621


What do chgrp command do?

586


Explain the steps that a shell follows while processing a command.

678


Which command can you use to find the currently running process in unix server?

583


What does pipe () return?

590


How to find $ai_serual resolved path by using unix

1020


What is command statement?

539