How do you create a file in UNIX

Answer Posted / khaja.shaik

To create files in unix there are two processes are there.
They are..
1)cat command
which creates a new file. If the file is already exists
it overrides the contents. It occupies memory.
2)touch command
Which creates a new empty file for later use.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to compare two files in unix?

618


How do I use grep to find a file?

577


Which command is used to copy files?

555


What is the functionality of a top command?

623


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

584






Are you in or at the office?

609


Explain command to view process running?

611


What is $0 bash?

646


Explain mount and unmount command.

611


What is grep short for?

556


What is the function of grep command in unix?

586


What is merge command in unix?

942


What are bash commands?

588


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

952


What is used to type command?

539