Linux Basic 2
Linux Basic 2
ASSIGNMENT-2
Sed:-
1. create a file with a name of “course_names” in “Front_end” directory ?
2. enter below information in to the “course_names” file
1,Physical Design,PD
2,physical Design,PD
3,static timing analysis,STA
4,Static timing analysis,STA
5,Design verification,DV
6,Design verification,dV
7,formal verification,FV
8,formal verification, fV
9,design for testability,DFT
10,Design for testability,DFT
11,Physical Design,PD
by using this sed command print this information in terminal ?
11. replace the first word in every line “Design” with “DESIGN” entire file ?
12.replace the second word in every line “Design” to “DESIGN” entire file ?
13. delete last line by using sed command ?
14. delete 3 to 5 lines using sed command ?
15. delete all lines containing “verification” ?
16. add empty line after every line by using sed command
16.what is the command to “Delete all the empty lines from a file” ?
awk;-
Grep:-