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 nr in awk command?

595


Which command is used to copy files?

554


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

678


What are filter commands in unix?

547


Which unix command lists files/folders in alphabetical order?

610






Why is it called a shebang?

566


What is ‘ps’ command for?

610


Why is shebang used?

591


Does cp command overwrite files?

614


What command will change your prompt to myprompt?

696


What are bash commands?

588


What do chmod, chown, chgrp commands do?

628


What is the size of time_t?

640


How does pipe () work?

589


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

596