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

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

689


What is awk used for?

626


How to find $ai_serual resolved path by using unix

1031


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

830


Which command is used to create a directory?

577






What is the use of find command in unix?

588


What is unix command line?

614


How do I find previous commands in unix?

599


What is the general format of unix command syntax?

698


Describe the zip/unzip command using gzip.

615


What is the size of time_t?

657


What does 'mkdir' command do in UNIX?

667


How can you see the command line history?

588


How do I search a whole word in vim?

697


What will the following command do?

622