How do you create a file in UNIX

Answer Posted / hari

cat>file
or
touch>file file1 file 3

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command will print your home directory on screen?

546


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

799


How do I search a whole word in vim?

693


What does touch command do in unix?

731


What does grep v grep do?

556






What is difference between grep and find command in unix?

580


What is the comma to show the space allocation of files?

562


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

687


How do I search for a file in unix command?

549


Explain mount and unmount command.

617


What's a command word?

591


What command is used to check the current users?

596


Which command is used to copy files?

556


What is grep r?

591


What is a bash command?

627