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

1) ls _*

2) 1,$ s/$/<addtext>/g

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do know about tee command?

615


What is sed awk grep?

614


Who invented grep?

664


What are grep patterns?

585


Name the unix command to find how many days the server has been up.

621






How do you grep recursively?

566


Differentiate cmp command from diff command.

598


What is command substitution?

631


Why is grep called grep?

793


What does this command do? Cat food 1 > kitty

984


What is the use of tee command?

580


What is the general format of unix command syntax?

705


What is nr in awk command?

619


What is the behavioural difference between cmp and diff commands?

690


What does find command return in unix?

608