How do you create a file in UNIX
Answer Posted / suchitra
cat > filename
this will create a file adn allows you to enter text and
to come out of the file,press ctrl+d.Then teh file will be
created.
touch command can also be used to create file.but this will
create empty file.
using Vi editor also the files can be created.
and few more editor like "ed" can also be used.
hence there are many ways to create a file in unix.
| Is This Answer Correct ? | 97 Yes | 20 No |
Post New Answer View All Answers
Give the command for finding the current date.
Is it inbetween or in between?
What is the function of grep command in unix?
What are file commands?
Is ‘du’ a command? If so, what is its use?
What is in grep command?
Explain the steps that a shell follows while processing a command.
What command is used to switching between users in unix?
What does the “echo” command do?
what is the advaantage of each user having its own copy of the shell?
Why is it called grep?
Why is awk called awk?
How to find $ai_serual resolved path by using unix
What is the use of the tee command?
Which command can you use to find the currently running process in unix server?