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 the behavioural difference between cmp and diff commands?
What is the use of find command in unix?
What is used to type command?
Describe the usage and functionality of the command rm –r * in unix?
What is grep in bash?
What is grep command in unix with examples?
What is the first character of the output in ls l command?
What is .sh file?
how to sort the content of the file based on numeric values
What does this command do? Cat food 1 > kitty
What is pipe command in unix?
What is the difference between cat command and more command?
What is the command to view process running?
Can you explain a little bit about command substitution?
What does this command do,"$more readme.txt“?