Skip to content
How to duplicate empty lines in a file?
sed ‘/^$/ p’ < filename
UNIX Interview Questions
Write a command to display the first 10 characters from each line of a file?
How do you display the calendar for the month march in the year 1985?
How to replace the word “Gun” with “Pen” in the first 100 lines of a file?
Write a command to remove the first number on all lines that start with “@”?
How to replace the character ‘/’ with ‘,’ in a file?
TERMS AND CONDITIONS