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
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What does touch command do in unix?
How to use grep command to list find the records of a file containing 10 different strings?
Is grep faster than awk?
What is awk used for?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the first character of the output in ls l command?
What will the following command do?
Which command is used to restrict incoming messages?
What is the command to find maximum memory taking process on the server?
How do I open a port?
What are file commands?
Which command should you use to find the remaining disk space in unix server?
What command is used to switching between users in unix?
What do chgrp command do?