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 / madhavareddy

cat is used to view the content of the file .

if we have file name like file.c having data
214
215
216.

if we want to see the data give the command cat file.c.

if we want to over write the data in file.c give command
like

cat > file.c
219 (give ctl+D)

now if we want to see the data give
cat file.c
219

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1091


How do I use nslookup?

1036


What is command substitution?

1266


What command will change your prompt to myprompt?

1251


Which unix command to make a new directory?

1066


What is the use of find command in unix?

1074


Name the unix command to find how many days the server has been up.

1112


Explain ‘library functions’ with respect to unix commands?

1113


What are awk commands?

1097


What is the difference between cat command and more command?

1126


What does the command ' $who | sort –logfile > newfile' do?

1239


Does cp command overwrite files?

1134


What is in grep command?

1119


What is the difference between cat and more command?

1225


What does touch command do in unix?

1342