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 will this do $cat > file.c ?(file.c is a file in
current directory)

Answer Posted / manikya girish

if we consider the command as cat > file.c

If we run this command the user gets back the control and he
needs to type something and once done, hit Ctrl+C to come
out of the scope. Whatever you have typed after executing
the command will be there in the file file.c

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is shebang used?

1132


Write a command to display a file’s contents in various formats?

1214


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1223


How do I search a whole word in vim?

1180


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

2259


Which command is used to restrict incoming messages?

1111


What is the difference between awk and grep?

1257


What is command statement?

1180


Is ‘du’ a command? If so, what is its use?

1155


What is merge command in unix?

1514


What is difference between grep and find command in unix?

1217


What is the comma to display different lines that are found when compare two files?

1164


Give the command for finding the current date.

1119


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

1074


Describe the usage and functionality of the command rm –r * in unix?

2105