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

how will you display a file whose name is starting with '- '
$ find / -type f -name "-*" -print 2>null

/home/staff/thaler/-
/home/staff/thaler/-FF
/home/patron/polly/-n
/home/member/plucky/-w
/home/nijwala/bsn/-a.out
/home/mvpbhat/-foo
/home/mvpbhat/-l

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hw will u use awk in replacing cahrs and files

3254


What is grep and how do you use it?

1124


How do I find previous commands in unix?

1200


What is command statement?

1188


What are bash commands?

1177


What is pipe command in unix?

1312


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

2270


What is the nmap command?

1200


What is the pipe command?

1205


What do chgrp command do?

1234


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

1188


Why is it called a shebang?

1205


How do I search a whole word in vim?

1192


What is the functionality of a top command?

1118


What is grep in bash?

1076