Answer Posted / mayank
yes
id file doesn't exists
cat >file
my name is sopderman
r u serious
ctrl+d
cat >>file
no, i am not
ctrl+d
cat >file
overwriting file
ctrl+d
cat -n file> file2 --add line numbers
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What are reported commands?
What is the comma to show the space allocation of files?
What is the use of awk command in unix?
What is the use of the tee command?
how to sort the content of the file based on numeric values
What is pipe command in unix?
What is the use of find command in unix?
How to find $ai_serual resolved path by using unix
What are the commands in UNIX to list the files in a Directory?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Explain ‘system calls’ with respect to unix commands?
How can we use grep command in unix?
What is the function of grep command in unix?
What does find command return in unix?
What is the general format of unix command syntax?