Skip to content
Write a command to replace the word “bad” with “good” in file?
sed s/bad/good/ < filename
UNIX Interview Questions
Write a command to replace the word “apple” with “(apple)” in a file?
Write a command to display all the files recursively with path under current directory?
Write a command to list the files in ‘/usr’ directory that start with ‘ch’ a...
How to remove the header from a file?
Write a command to remove the prefix of the string ending with ‘/’.
TERMS AND CONDITIONS