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

Why is shebang used?

1196


Is command prompt unix?

1225


Explain command to display different lines that are found when compare two files?

1222


Enlist some filename manipulation commands in unix.

1224


What does touch command do in unix?

1482


How do you repeat a command in terminal?

1297


What is {} in find command?

1157


How does the system know where one command ends and another begins?

2314


What is the search command in unix?

1134


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

1287


Explain mount and unmount command.

1280


Write a command that will display files in the current directory, in a colored, long format.

1276


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

1351


What do chgrp command do?

1289


What does 'mkdir' command do in UNIX?

1376