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
How can we use grep command in unix?
how to sort the content of the file based on numeric values
What does find command return in unix?
What is the significance of the 'tee' command?
Which command is used to find whether the system is 32 bit or 64 bit?
What do chmod, chown, chgrp commands do?
What are the commands in UNIX to list the files in a Directory?
What is a bash command?
What is merge command in unix?
How do I open a port?
How do I run a whois command?
What's a command word?
What is the first character of the output in ls l command?
What is the use of cut command in unix?
hw will u use awk in replacing cahrs and files