Skip to content
Write a command to replace the word “apple” with “(apple)” in a file?
sed s/apple/(&)/ < filename
UNIX Interview Questions
The fields in each line are delimited by comma. Write a command to display third field from each lin...
Display all the files in current directory sorted by size?
Write a command to display todays date in the format of ‘yyyy-mm-dd’?
How to print the file names in a directory that has the word “term”?
Write a command to print the lines that has the the pattern “july” in all the files in a...
TERMS AND CONDITIONS