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

What does the command '$ls | wc –l > file1' do?

1302


Enlist some filename manipulation commands in unix.

1224


What is rmdir command?

1155


What's a command word?

1254


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

1287


How can we use grep command in unix?

1264


What is a command and examples?

1288


What are reported commands?

1195


What are filter commands in unix?

1261


What is the function of grep command in unix?

1234


Why is awk called awk?

1136


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

1267


Name the various commands that are used for the user information in unix.

1136


What are the dos commands?

1317


What is unix command line?

1339