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

How do I clear my terminal history?

576


Which unix command to make a new directory?

585


What does sed command do in unix?

556


What is pipe command in unix?

664


How do I delete files from command prompt?

549






How does shebang work?

584


What is ctrl d?

588


What is the command to view process running?

568


What command is used to check the current users?

590


What is a bash command?

622


What does grep v do?

555


What does the metacharacter mean?

606


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

699


What are file commands?

646


What do know about tee command and its usage?

582