How do you create a file in UNIX

Answer Posted / manikantan t s

many ways

1) touch <file name>
2) cat > <file name>
then the matters and stop using CTRL+D
3) > <file name>
4) using editors like vi

Is This Answer Correct ?    131 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who wrote grep?

559


Is command prompt unix?

558


What does the md command do?

550


Name the unix command to find how many days the server has been up.

577


Write a command to display a file’s contents in various formats?

599






What is unix command line?

584


What are filter commands in unix?

535


Which command is used to restrict incoming messages?

568


What is the use of sed command in unix?

574


How do you grep recursively?

538


What is used to type command?

522


Which command is used to delete all files in the current directory and all its sub-directories?

636


What is merge command in unix?

924


What is the difference between awk and grep?

547


Which command is used to copy files?

532