Write a shell command to search all the files in the working
Write a shell command to search all the files in the working directory with names containing one character extension for the lines that does not start with a character A or character B.
Solution
Answer:
#!/bin/bash
 # to search all the files in the working directory with names containing one character extension
 #for the lines that does not start with a character A or character B
 find . -type f -name \"*.?\" | -not -name \'[ac]*\' -type f

