Can you help me solve some problems in unix shell??
I need to write list of commands sepirated by pipes to solve this questions:
1: By list of commands show on screen the file-list in the corent directory
that their names are made only by letters [a-z][A-Z] and by underline [_]
2: Show the line numbers and the lines from a file (i.e. hello) that contains
the string "***hello***"
3: Show the lines in a file (i.e. less_then_five) that contains less then five
letters.
4: Show all the lines in a file that contains "ilegal" words - words that have
capital letters in the middle of a word (assuming that the file contains
letters only).
5: A list of commands that used as a "filter" to a file - a filter that
deletes all blank rows (blank row is also a row that uses only spaces and\or
tabs)
6: Show a list of files that are in directory a and in directory b (files with
the same name in both directorys)
7: Like the last one but files that are in a but not in b
8: Asuming that the string Hello is showed more than once in some files -
write the command listing that shows the file with the largest number of rows
that contain this string (i.e. the files hello1,hello2,hello3)