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
Why is shebang used?
Is command prompt unix?
Explain command to display different lines that are found when compare two files?
Enlist some filename manipulation commands in unix.
What does touch command do in unix?
How do you repeat a command in terminal?
What is {} in find command?
How does the system know where one command ends and another begins?
What is the search command in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Explain mount and unmount command.
Write a command that will display files in the current directory, in a colored, long format.
Which command should you use to find the remaining disk space in unix server?
What do chgrp command do?
What does 'mkdir' command do in UNIX?