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
Write a command to display a file’s contents in various formats?
How do you repeat a command in terminal?
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
What does grep v do?
What are grep patterns?
How does the system know where one command ends and another begins?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
how to sort the content of the file based on numeric values
What is .sh file?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Explain command to view process running?
What is the use of egrep command in unix?
What is time_t?
What is a bash command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?