How do you create a file in UNIX
Answer Posted / abhishek dilliwal
yeah above are the ways but i have 1 more,
echo "
Here u write contents of file
this is second line of file
" | cat > NewFile
Is This Answer Correct ? | 57 Yes | 38 No |
Post New Answer View All Answers
How do I search for a file in unix command?
How many unix commands are there?
Which unix command lists files/folders in alphabetical order?
What is awk good for?
Explain the steps that a shell follows while processing a command.
What is the use of awk command in unix?
What is difference between grep and find command in unix?
How do you repeat a command in terminal?
What is nr in awk command?
what is the advaantage of each user having its own copy of the shell?
What is time_t?
Write a command to display a file’s contents in various formats?
What command will change your prompt to myprompt?
Does cp command overwrite files?
Explain mount and unmount command.