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 difference between cat and more command?

627


How do I search a whole word in vim?

693


What is awk command used for?

602


Explain command to show the space allocation of files?

632


What are some command words?

567






What is “chmod” command?

566


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

687


What is the use of finger command?

601


What do chown command do?

536


What is grep command in unix with examples?

612


What command is used to check the current users?

596


What is the use of sed command in unix?

601


How to find $ai_serual resolved path by using unix

1029


What is the behavioural difference between cmp and diff commands?

677


What do chmod command do?

606