How do you create a file in UNIX
Answer Posted / naveen kumar
using cat and touch commands in $ prompt.
1. cat <file name> this command is only for creating one
file
2. touch <file names> touch command for creating more than
one file
ex: $touch f1 f2 f3 f4
| Is This Answer Correct ? | 22 Yes | 13 No |
Post New Answer View All Answers
What are the general commands in using unix os for a beginner?
What difference between cmp and diff commands?
What is the pipe command?
Explain the steps that a shell follows while processing a command.
What do chgrp command do?
Can you explain a little bit about command substitution?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is awk good for?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How do I search for a file in unix command?
What does the “echo” command do?
What is the comma to show the space allocation of files?
What is sed awk grep?
What is the significance of the 'tee' command?
What is grep command in unix with examples?