How do you create a file in UNIX

Answer Posted / divya

1.Touch filename
2.cat filename
3.cat >> filename
4.>filename
5.Using vi editor

Is This Answer Correct ?    70 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to view process running?

564


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

583


What does find command return in unix?

580


What will the following command do?

605


How can you see the command line history?

576






What are the differences among a system call, a library function, and a unix command?

559


Describe the usage and functionality of the command rm –r * in unix?

809


What is the use of tee command?

559


Can you enlist some commonly used network commands?

591


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

635


What is grep command in unix with examples?

600


What do chmod command do?

594


Why is shebang used?

587


What is s and g in sed command?

551


What is time_t?

574