How do you create a file in UNIX

Answer Posted / sivasankar.s

$ cat >fruits.txt
apple
orange
grapes
^d (Press control+d)


$ cat fruits.txt
apple
orange
grapes

Is This Answer Correct ?    488 Yes 62 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does this command do,"$more readme.txt“?

689


What is the use of cut command in unix?

690


Write a command to kill the last background job?

618


What is the use of awk command in unix?

581


What are the differences among a system call, a library function, and a unix command?

567






What is command statement?

541


What is grep short for?

556


What is time_t?

586


Enlist some filename manipulation commands in unix.

549


Which command is used to restrict incoming messages?

592


what is the advaantage of each user having its own copy of the shell?

2034


Which command should you use to find the remaining disk space in unix server?

703


What is “chmod” command?

564


What is a command and examples?

583


What is a bash command?

625