How do you create a file in UNIX

Answer Posted / dinesh

cat >file name
OR
touch file name

Is This Answer Correct ?    16 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awk good for?

576


Which command is used to delete all files in the current directory and all its sub-directories?

654


What is the comma to display different lines that are found when compare two files?

583


What is the use of sed command in unix?

582


What does this command do? Cat food 1 > kitty

967






How do I use grep to search for a file?

574


Why is grep called grep?

767


Is ‘du’ a command? If so, what is its use?

621


What does touch command do in unix?

713


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

570


What is the significance of the 'tee' command?

587


Is grep faster than awk?

549


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

547


Which command is used to create a directory?

555


What is in grep command?

635