Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1143


What does touch command do in unix?

1342


How to use grep command to list find the records of a file containing 10 different strings?

1086


Is grep faster than awk?

987


What is awk used for?

1077


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1140


What is the first character of the output in ls l command?

1156


What will the following command do?

1062


Which command is used to restrict incoming messages?

1043


What is the command to find maximum memory taking process on the server?

1147


How do I open a port?

1036


What are file commands?

1160


Which command should you use to find the remaining disk space in unix server?

1232


What command is used to switching between users in unix?

1026


What do chgrp command do?

1142