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 are reported commands?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What are the general commands in using unix os for a beginner?
What happens when we execute a unix command?
What command is used to check the current users?
What does #!/ Bin sh do?
What difference between cmp and diff commands?
Explain the steps that a shell follows while processing a command.
How do I search for a file in unix command?
What is the difference between cat and more command?
Write a command to display a file’s contents in various formats?
Enumerate some of the most commonly used network commands in unix?
Why is it called grep?
What is the use of awk command in unix?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?