How do you create a file in UNIX

Answer Posted / naveen kumar

using cat and touch commands in $ prompt.

1. cat <file name> this command is only for creating one
file
2. touch <file names> touch command for creating more than
one file
ex: $touch f1 f2 f3 f4

Is This Answer Correct ?    22 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when we execute a unix command?

582


What are the general commands in using unix os for a beginner?

563


What will the following command do?

595


What is the command to find hidden files in the current directory?

560


Who command in unix?

552






What does this command do? Cat food 1 > kitty

950


What is the use of egrep command in unix?

606


Explain mount and unmount command.

592


What is command substitution?

605


Write a command to kill the last background job?

592


What does sed command do in unix?

541


Enlist some filename manipulation commands in unix.

529


Which command is used to restrict incoming messages?

568


Name the various commands that are used for the user information in unix.

517


Explain ‘library functions’ with respect to unix commands?

583