what these two commands prints "echo test","cat test"?
Answer Posted / asrar ahmed
(1) echo test:
echo test will print the output as "test"
$echo test
test
(2)cat test:
cat test will print the content of the file, if the file is
present.
$ cat test
Jan
Feb
Mar
Now we can remove the file test:
$ rm test
$ cat test
cat: test: No such file or directory
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is awk good for?
Write a command that will display files in the current directory, in a colored, long format.
What is a command and examples?
Can you explain a little bit about command substitution?
What are some command words?
What command is used to switching between users in unix?
What is the command to find hidden files in the current directory?
What does 'mkdir' command do in UNIX?
What is merge command in unix?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Who command in unix?
Who invented grep?
What is the command to find maximum memory taking process on the server?
What are the dos commands?
What is in grep command?