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 the functionality of a top command?
Which command is used to delete all files in the current directory and all its sub-directories?
What does the md command do?
How can we use grep command in unix?
What are awk commands?
How does shebang work?
how to sort the content of the file based on numeric values
What is the nmap command?
What is grep command in unix with examples?
What is rmdir command?
What are grep patterns?
What is the difference between cat and more command?
What does touch command do in unix?
What does the command '$ls | wc –l > file1' do?
How does pipe () work?