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
What is ‘ps’ command for?
How to use grep command to list find the records of a file containing 10 different strings?
What is the comma to display different lines that are found when compare two files?
What is pipe command in unix?
What are some command words?
How does pipe () work?
Using unix command how to display no of records in oracle?
What is updatedb?
What are the commands in UNIX to list the files in a Directory?
What is the first character of the output in ls l command?
Why is shebang used?
Which command is used to copy files?
Why is it called grep?
What is the use of the command 'ls -x chapter[1-5]' ?
What is used to type command?