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
Describe the usage and functionality of the command rm –r * in unix?
Which command is used to kill the last background job?
Which command is used to delete all files in the current directory and all its sub-directories?
What do chown command do?
How do I clear my terminal history?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Can you explain a little bit about command substitution?
What is command substitution?
How can you see the command line history?
What is the size of time_t?
How do I use grep to search for a file?
What is sed awk grep?
What is grep and how do you use it?
What does this command do? Cat food 1 > kitty
What is the command to find maximum memory taking process on the server?