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...

1-how will you display a file whose name is starting with '-
'?
2-how will you add a patten at end of every line in vi
editor?

Answer Posted / vamshi

1,$ s/^/-/g

2. 1,$ s/$/P/g

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are file commands?

1288


Can you explain a little bit about command substitution?

1164


What is unix command?

1320


What do chown command do?

1257


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

1247


What is the use of tee command?

1239


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

1265


Explain ‘library functions’ with respect to unix commands?

1214


What are awk commands?

1227


Which command can you use to find the currently running process in unix server?

1167


What are the differences among a system call, a library function, and a unix command?

1274


What is the significance of the 'tee' command?

1254


What is “chmod” command?

1242


What is the use of cut command in unix?

1428


What does 'mkdir' command do in UNIX?

1374